public class org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor implements org.springframework.boot.env.EnvironmentPostProcessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor
super_class: java.lang.Object
{
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 final java.lang.String ENABLED;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "spring.devtools.add-properties"
private static final java.lang.String WEB_LOGGING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "logging.level.web"
private static final java.lang.String[] WEB_ENVIRONMENT_CLASSES;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.String, java.lang.Object> PROPERTIES;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
invokestatic org.springframework.boot.devtools.logger.DevToolsLogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.logger:Lorg/apache/commons/logging/Log;
1: iconst_2
anewarray java.lang.String
dup
iconst_0
2: ldc "org.springframework.web.context.ConfigurableWebEnvironment"
aastore
dup
iconst_1
3: ldc "org.springframework.boot.web.reactive.context.ConfigurableReactiveWebEnvironment"
aastore
4: putstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.WEB_ENVIRONMENT_CLASSES:[Ljava/lang/String;
5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 6: aload 0
ldc "spring.thymeleaf.cache"
ldc "false"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
ldc "spring.freemarker.cache"
ldc "false"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
ldc "spring.groovy.template.cache"
ldc "false"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
ldc "spring.mustache.cache"
ldc "false"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
ldc "server.servlet.session.persistent"
ldc "true"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
ldc "spring.h2.console.enabled"
ldc "true"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
ldc "spring.resources.cache.period"
ldc "0"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
ldc "spring.resources.chain.cache"
ldc "false"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
ldc "spring.template.provider.cache"
ldc "false"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 0
ldc "spring.mvc.log-resolved-exception"
ldc "true"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
ldc "server.error.include-binding-errors"
ldc "ALWAYS"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 0
ldc "server.error.include-message"
ldc "ALWAYS"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
ldc "server.error.include-stacktrace"
ldc "ALWAYS"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
ldc "server.servlet.jsp.init-parameters.development"
ldc "true"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: aload 0
ldc "spring.reactor.debug"
ldc "true"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 0
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.PROPERTIES:Ljava/util/Map;
end local 0 22: return
LocalVariableTable:
Start End Slot Name Signature
6 22 0 properties Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment, org.springframework.boot.SpringApplication);
descriptor: (Lorg/springframework/core/env/ConfigurableEnvironment;Lorg/springframework/boot/SpringApplication;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic org.springframework.boot.devtools.system.DevToolsEnablementDeducer.shouldEnable:(Ljava/lang/Thread;)Z
ifeq 11
aload 0
aload 1
invokevirtual org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.isLocalApplication:(Lorg/springframework/core/env/ConfigurableEnvironment;)Z
ifeq 11
1: aload 0
aload 1
invokevirtual org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.canAddProperties:(Lorg/springframework/core/env/Environment;)Z
ifeq 6
2: getstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.logger:Lorg/apache/commons/logging/Log;
ldc "Devtools property defaults active! Set '%s' to 'false' to disable"
3: ldc "spring.devtools.add-properties"
4: invokestatic org.springframework.core.log.LogMessage.format:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/log/LogMessage;
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
5: aload 1
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
new org.springframework.core.env.MapPropertySource
dup
ldc "devtools"
getstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.PROPERTIES:Ljava/util/Map;
invokespecial org.springframework.core.env.MapPropertySource.<init>:(Ljava/lang/String;Ljava/util/Map;)V
invokevirtual org.springframework.core.env.MutablePropertySources.addLast:(Lorg/springframework/core/env/PropertySource;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.isWebApplication:(Lorg/springframework/core/env/Environment;)Z
ifeq 11
aload 1
ldc "logging.level.web"
invokeinterface org.springframework.core.env.ConfigurableEnvironment.containsProperty:(Ljava/lang/String;)Z
ifne 11
7: getstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.logger:Lorg/apache/commons/logging/Log;
8: ldc "For additional web related logging consider setting the '%s' property to 'DEBUG'"
9: ldc "logging.level.web"
10: invokestatic org.springframework.core.log.LogMessage.format:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/log/LogMessage;
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
0 12 1 environment Lorg/springframework/core/env/ConfigurableEnvironment;
0 12 2 application Lorg/springframework/boot/SpringApplication;
MethodParameters:
Name Flags
environment
application
private boolean isLocalApplication(org.springframework.core.env.ConfigurableEnvironment);
descriptor: (Lorg/springframework/core/env/ConfigurableEnvironment;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
ldc "remoteUrl"
invokevirtual org.springframework.core.env.MutablePropertySources.get:(Ljava/lang/String;)Lorg/springframework/core/env/PropertySource;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
0 2 1 environment Lorg/springframework/core/env/ConfigurableEnvironment;
MethodParameters:
Name Flags
environment
private boolean canAddProperties(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "spring.devtools.add-properties"
ldc Ljava/lang/Boolean;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface org.springframework.core.env.Environment.getProperty:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
1: aload 0
invokevirtual org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.isRestarterInitialized:()Z
ifne 2
aload 0
aload 1
invokevirtual org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.isRemoteRestartEnabled:(Lorg/springframework/core/env/Environment;)Z
ifne 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
0 4 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
private boolean isRestarterInitialized();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic org.springframework.boot.devtools.restart.Restarter.getInstance:()Lorg/springframework/boot/devtools/restart/Restarter;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.springframework.boot.devtools.restart.Restarter.getInitialUrls:()[Ljava/net/URL;
ifnull 2
iconst_1
ireturn
StackMap locals: org.springframework.boot.devtools.restart.Restarter
StackMap stack:
2: iconst_0
3: ireturn
end local 1 4: StackMap locals: org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor
StackMap stack: java.lang.Exception
pop
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
1 4 1 restarter Lorg/springframework/boot/devtools/restart/Restarter;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
private boolean isRemoteRestartEnabled(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "spring.devtools.remote.secret"
invokeinterface org.springframework.core.env.Environment.containsProperty:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
0 1 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
private boolean isWebApplication(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: getstatic org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.WEB_ENVIRONMENT_CLASSES:[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor org.springframework.core.env.Environment top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokevirtual org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.resolveClassName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 6
start local 6 3: aload 6
ifnull 5
aload 6
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
end local 6 end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 1
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
0 8 1 environment Lorg/springframework/core/env/Environment;
2 5 2 candidate Ljava/lang/String;
3 5 6 environmentClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
environment
private java.lang.Class<?> resolveClassName(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.springframework.util.ClassUtils.resolveClassName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor;
0 4 1 candidate Ljava/lang/String;
0 4 2 classLoader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
candidate
classLoader
}
SourceFile: "DevToolsPropertyDefaultsPostProcessor.java"
RuntimeVisibleAnnotations:
org.springframework.core.annotation.Order(value = 2147483647)