public class org.springframework.boot.devtools.settings.DevToolsSettings
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.devtools.settings.DevToolsSettings
super_class: java.lang.Object
{
public static final java.lang.String SETTINGS_RESOURCE_LOCATION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "META-INF/spring-devtools.properties"
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static org.springframework.boot.devtools.settings.DevToolsSettings settings;
descriptor: Lorg/springframework/boot/devtools/settings/DevToolsSettings;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final java.util.List<java.util.regex.Pattern> restartIncludePatterns;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/regex/Pattern;>;
private final java.util.List<java.util.regex.Pattern> restartExcludePatterns;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/regex/Pattern;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/devtools/settings/DevToolsSettings;
invokestatic org.springframework.boot.devtools.logger.DevToolsLogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.boot.devtools.settings.DevToolsSettings.logger:Lorg/apache/commons/logging/Log;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.boot.devtools.settings.DevToolsSettings.restartIncludePatterns:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.boot.devtools.settings.DevToolsSettings.restartExcludePatterns:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/devtools/settings/DevToolsSettings;
void add(java.util.Map<?, ?>);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "restart.include."
invokevirtual org.springframework.boot.devtools.settings.DevToolsSettings.getPatterns:(Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
astore 2
start local 2 1: aload 0
getfield org.springframework.boot.devtools.settings.DevToolsSettings.restartIncludePatterns:Ljava/util/List;
aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 0
aload 1
ldc "restart.exclude."
invokevirtual org.springframework.boot.devtools.settings.DevToolsSettings.getPatterns:(Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
astore 3
start local 3 3: aload 0
getfield org.springframework.boot.devtools.settings.DevToolsSettings.restartExcludePatterns:Ljava/util/List;
aload 3
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/devtools/settings/DevToolsSettings;
0 5 1 properties Ljava/util/Map<**>;
1 5 2 includes Ljava/util/Map<Ljava/lang/String;Ljava/util/regex/Pattern;>;
3 5 3 excludes Ljava/util/Map<Ljava/lang/String;Ljava/util/regex/Pattern;>;
Signature: (Ljava/util/Map<**>;)V
MethodParameters:
Name Flags
properties
private java.util.Map<java.lang.String, java.util.regex.Pattern> getPatterns(java.util.Map<?, ?>, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 3
start local 3 1: aload 1
aload 2
aload 3
invokedynamic accept(Ljava/lang/String;Ljava/util/Map;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/springframework/boot/devtools/settings/DevToolsSettings.lambda$0(Ljava/lang/String;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/devtools/settings/DevToolsSettings;
0 3 1 properties Ljava/util/Map<**>;
0 3 2 prefix Ljava/lang/String;
1 3 3 patterns Ljava/util/Map<Ljava/lang/String;Ljava/util/regex/Pattern;>;
Signature: (Ljava/util/Map<**>;Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/util/regex/Pattern;>;
MethodParameters:
Name Flags
properties
prefix
public boolean isRestartInclude(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aload 0
getfield org.springframework.boot.devtools.settings.DevToolsSettings.restartIncludePatterns:Ljava/util/List;
invokevirtual org.springframework.boot.devtools.settings.DevToolsSettings.isMatch:(Ljava/lang/String;Ljava/util/List;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/settings/DevToolsSettings;
0 1 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public boolean isRestartExclude(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aload 0
getfield org.springframework.boot.devtools.settings.DevToolsSettings.restartExcludePatterns:Ljava/util/List;
invokevirtual org.springframework.boot.devtools.settings.DevToolsSettings.isMatch:(Ljava/lang/String;Ljava/util/List;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/settings/DevToolsSettings;
0 1 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
private boolean isMatch(java.lang.String, java.util.List<java.util.regex.Pattern>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.springframework.boot.devtools.settings.DevToolsSettings java.lang.String java.util.List top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.regex.Pattern
astore 3
start local 3 2: aload 3
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 4
3: iconst_1
ireturn
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/devtools/settings/DevToolsSettings;
0 6 1 url Ljava/lang/String;
0 6 2 patterns Ljava/util/List<Ljava/util/regex/Pattern;>;
2 4 3 pattern Ljava/util/regex/Pattern;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/util/regex/Pattern;>;)Z
MethodParameters:
Name Flags
url
patterns
public static org.springframework.boot.devtools.settings.DevToolsSettings get();
descriptor: ()Lorg/springframework/boot/devtools/settings/DevToolsSettings;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.springframework.boot.devtools.settings.DevToolsSettings.settings:Lorg/springframework/boot/devtools/settings/DevToolsSettings;
ifnonnull 2
1: invokestatic org.springframework.boot.devtools.settings.DevToolsSettings.load:()Lorg/springframework/boot/devtools/settings/DevToolsSettings;
putstatic org.springframework.boot.devtools.settings.DevToolsSettings.settings:Lorg/springframework/boot/devtools/settings/DevToolsSettings;
2: StackMap locals:
StackMap stack:
getstatic org.springframework.boot.devtools.settings.DevToolsSettings.settings:Lorg/springframework/boot/devtools/settings/DevToolsSettings;
areturn
LocalVariableTable:
Start End Slot Name Signature
static org.springframework.boot.devtools.settings.DevToolsSettings load();
descriptor: ()Lorg/springframework/boot/devtools/settings/DevToolsSettings;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "META-INF/spring-devtools.properties"
invokestatic org.springframework.boot.devtools.settings.DevToolsSettings.load:(Ljava/lang/String;)Lorg/springframework/boot/devtools/settings/DevToolsSettings;
areturn
LocalVariableTable:
Start End Slot Name Signature
static org.springframework.boot.devtools.settings.DevToolsSettings load(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/devtools/settings/DevToolsSettings;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: new org.springframework.boot.devtools.settings.DevToolsSettings
dup
invokespecial org.springframework.boot.devtools.settings.DevToolsSettings.<init>:()V
astore 1
start local 1 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
aload 0
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 2
start local 2 2: goto 4
3: StackMap locals: org.springframework.boot.devtools.settings.DevToolsSettings java.util.Enumeration
StackMap stack:
aload 1
new org.springframework.core.io.UrlResource
dup
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
invokespecial org.springframework.core.io.UrlResource.<init>:(Ljava/net/URL;)V
invokestatic org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties:(Lorg/springframework/core/io/Resource;)Ljava/util/Properties;
invokevirtual org.springframework.boot.devtools.settings.DevToolsSettings.add:(Ljava/util/Map;)V
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
5: getstatic org.springframework.boot.devtools.settings.DevToolsSettings.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 8
6: getstatic org.springframework.boot.devtools.settings.DevToolsSettings.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Included patterns for restart : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.springframework.boot.devtools.settings.DevToolsSettings.restartIncludePatterns:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
7: getstatic org.springframework.boot.devtools.settings.DevToolsSettings.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Excluded patterns for restart : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.springframework.boot.devtools.settings.DevToolsSettings.restartExcludePatterns:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 1
9: areturn
end local 2 end local 1 10: StackMap locals: java.lang.String
StackMap stack: java.lang.Exception
astore 1
start local 1 11: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unable to load devtools settings from location ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 location Ljava/lang/String;
1 10 1 settings Lorg/springframework/boot/devtools/settings/DevToolsSettings;
2 10 2 urls Ljava/util/Enumeration<Ljava/net/URL;>;
11 12 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 9 10 Class java.lang.Exception
MethodParameters:
Name Flags
location
private static void lambda$0(java.lang.String, java.util.Map, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 2 start local 3 0: aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
aload 0
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: aload 3
checkcast java.lang.String
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 5
start local 5 3: aload 1
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 key Ljava/lang/Object;
0 5 3 value Ljava/lang/Object;
1 4 4 name Ljava/lang/String;
3 4 5 pattern Ljava/util/regex/Pattern;
}
SourceFile: "DevToolsSettings.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles