class org.springframework.boot.context.properties.PropertySourcesDeducer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.properties.PropertySourcesDeducer
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 final org.springframework.context.ApplicationContext applicationContext;
descriptor: Lorg/springframework/context/ApplicationContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/context/properties/PropertySourcesDeducer;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.boot.context.properties.PropertySourcesDeducer.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.springframework.context.ApplicationContext);
descriptor: (Lorg/springframework/context/ApplicationContext;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.context.properties.PropertySourcesDeducer.applicationContext:Lorg/springframework/context/ApplicationContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/PropertySourcesDeducer;
0 3 1 applicationContext Lorg/springframework/context/ApplicationContext;
MethodParameters:
Name Flags
applicationContext
org.springframework.core.env.PropertySources getPropertySources();
descriptor: ()Lorg/springframework/core/env/PropertySources;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.context.properties.PropertySourcesDeducer.getSinglePropertySourcesPlaceholderConfigurer:()Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual org.springframework.context.support.PropertySourcesPlaceholderConfigurer.getAppliedPropertySources:()Lorg/springframework/core/env/PropertySources;
areturn
3: StackMap locals: org.springframework.context.support.PropertySourcesPlaceholderConfigurer
StackMap stack:
aload 0
invokevirtual org.springframework.boot.context.properties.PropertySourcesDeducer.extractEnvironmentPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
astore 2
start local 2 4: aload 2
ifnull 5
iconst_1
goto 6
StackMap locals: org.springframework.core.env.MutablePropertySources
StackMap stack:
5: iconst_0
6: StackMap locals:
StackMap stack: int
ldc "Unable to obtain PropertySources from PropertySourcesPlaceholderConfigurer or Environment"
7: invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/boot/context/properties/PropertySourcesDeducer;
1 9 1 configurer Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
4 9 2 sources Lorg/springframework/core/env/MutablePropertySources;
private org.springframework.context.support.PropertySourcesPlaceholderConfigurer getSinglePropertySourcesPlaceholderConfigurer();
descriptor: ()Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.PropertySourcesDeducer.applicationContext:Lorg/springframework/context/ApplicationContext;
1: ldc Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
iconst_0
iconst_0
invokeinterface org.springframework.context.ApplicationContext.getBeansOfType:(Ljava/lang/Class;ZZ)Ljava/util/Map;
2: astore 1
start local 1 3: aload 1
invokeinterface java.util.Map.size:()I
iconst_1
if_icmpne 5
4: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.context.support.PropertySourcesPlaceholderConfigurer
areturn
5: StackMap locals: java.util.Map
StackMap stack:
aload 1
invokeinterface java.util.Map.size:()I
iconst_1
if_icmple 9
getstatic org.springframework.boot.context.properties.PropertySourcesDeducer.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isWarnEnabled:()Z
ifeq 9
6: getstatic org.springframework.boot.context.properties.PropertySourcesDeducer.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Multiple PropertySourcesPlaceholderConfigurer beans registered "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc ", falling back to Environment"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/context/properties/PropertySourcesDeducer;
3 10 1 beans Ljava/util/Map<Ljava/lang/String;Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;>;
private org.springframework.core.env.MutablePropertySources ();
descriptor: ()Lorg/springframework/core/env/MutablePropertySources;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.properties.PropertySourcesDeducer.applicationContext:Lorg/springframework/context/ApplicationContext;
invokeinterface org.springframework.context.ApplicationContext.getEnvironment:()Lorg/springframework/core/env/Environment;
astore 1
start local 1 1: aload 1
instanceof org.springframework.core.env.ConfigurableEnvironment
ifeq 3
2: aload 1
checkcast org.springframework.core.env.ConfigurableEnvironment
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
areturn
3: StackMap locals: org.springframework.core.env.Environment
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/PropertySourcesDeducer;
1 4 1 environment Lorg/springframework/core/env/Environment;
}
SourceFile: "PropertySourcesDeducer.java"