public class org.springframework.context.support.PropertySourcesPlaceholderConfigurer extends org.springframework.beans.factory.config.PlaceholderConfigurerSupport implements org.springframework.context.EnvironmentAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.support.PropertySourcesPlaceholderConfigurer
super_class: org.springframework.beans.factory.config.PlaceholderConfigurerSupport
{
public static final java.lang.String LOCAL_PROPERTIES_PROPERTY_SOURCE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "localProperties"
public static final java.lang.String ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "environmentProperties"
private org.springframework.core.env.MutablePropertySources propertySources;
descriptor: Lorg/springframework/core/env/MutablePropertySources;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.core.env.PropertySources appliedPropertySources;
descriptor: Lorg/springframework/core/env/PropertySources;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.core.env.Environment environment;
descriptor: Lorg/springframework/core/env/Environment;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.beans.factory.config.PlaceholderConfigurerSupport.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
public void setPropertySources(org.springframework.core.env.PropertySources);
descriptor: (Lorg/springframework/core/env/PropertySources;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.core.env.MutablePropertySources
dup
aload 1
invokespecial org.springframework.core.env.MutablePropertySources.<init>:(Lorg/springframework/core/env/PropertySources;)V
putfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
0 2 1 propertySources Lorg/springframework/core/env/PropertySources;
MethodParameters:
Name Flags
propertySources
public void setEnvironment(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.environment:Lorg/springframework/core/env/Environment;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
0 2 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory);
descriptor: (Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
ifnonnull 15
1: aload 0
new org.springframework.core.env.MutablePropertySources
dup
invokespecial org.springframework.core.env.MutablePropertySources.<init>:()V
putfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
2: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.environment:Lorg/springframework/core/env/Environment;
ifnull 6
3: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
4: new org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1
dup
aload 0
ldc "environmentProperties"
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.environment:Lorg/springframework/core/env/Environment;
invokespecial org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.<init>:(Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;Ljava/lang/String;Lorg/springframework/core/env/Environment;)V
5: invokevirtual org.springframework.core.env.MutablePropertySources.addLast:(Lorg/springframework/core/env/PropertySource;)V
6: StackMap locals:
StackMap stack:
new org.springframework.core.env.PropertiesPropertySource
dup
ldc "localProperties"
aload 0
invokevirtual org.springframework.context.support.PropertySourcesPlaceholderConfigurer.mergeProperties:()Ljava/util/Properties;
invokespecial org.springframework.core.env.PropertiesPropertySource.<init>:(Ljava/lang/String;Ljava/util/Properties;)V
7: astore 2
start local 2 8: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.localOverride:Z
ifeq 11
9: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
aload 2
invokevirtual org.springframework.core.env.MutablePropertySources.addFirst:(Lorg/springframework/core/env/PropertySource;)V
10: goto 15
11: StackMap locals: org.springframework.core.env.PropertySource
StackMap stack:
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
aload 2
invokevirtual org.springframework.core.env.MutablePropertySources.addLast:(Lorg/springframework/core/env/PropertySource;)V
end local 2 12: goto 15
13: StackMap locals: org.springframework.context.support.PropertySourcesPlaceholderConfigurer org.springframework.beans.factory.config.ConfigurableListableBeanFactory
StackMap stack: java.io.IOException
astore 2
start local 2 14: new org.springframework.beans.factory.BeanInitializationException
dup
ldc "Could not load properties"
aload 2
invokespecial org.springframework.beans.factory.BeanInitializationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 15: StackMap locals:
StackMap stack:
aload 0
aload 1
new org.springframework.core.env.PropertySourcesPropertyResolver
dup
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
invokespecial org.springframework.core.env.PropertySourcesPropertyResolver.<init>:(Lorg/springframework/core/env/PropertySources;)V
invokevirtual org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties:(Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;Lorg/springframework/core/env/ConfigurablePropertyResolver;)V
16: aload 0
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.propertySources:Lorg/springframework/core/env/MutablePropertySources;
putfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.appliedPropertySources:Lorg/springframework/core/env/PropertySources;
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
0 18 1 beanFactory Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
8 12 2 localPropertySource Lorg/springframework/core/env/PropertySource<*>;
14 15 2 ex Ljava/io/IOException;
Exception table:
from to target type
6 12 13 Class java.io.IOException
Exceptions:
throws org.springframework.beans.BeansException
MethodParameters:
Name Flags
beanFactory
protected void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory, org.springframework.core.env.ConfigurablePropertyResolver);
descriptor: (Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;Lorg/springframework/core/env/ConfigurablePropertyResolver;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.placeholderPrefix:Ljava/lang/String;
invokeinterface org.springframework.core.env.ConfigurablePropertyResolver.setPlaceholderPrefix:(Ljava/lang/String;)V
1: aload 2
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.placeholderSuffix:Ljava/lang/String;
invokeinterface org.springframework.core.env.ConfigurablePropertyResolver.setPlaceholderSuffix:(Ljava/lang/String;)V
2: aload 2
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.valueSeparator:Ljava/lang/String;
invokeinterface org.springframework.core.env.ConfigurablePropertyResolver.setValueSeparator:(Ljava/lang/String;)V
3: aload 0
aload 2
invokedynamic resolveStringValue(Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;Lorg/springframework/core/env/ConfigurablePropertyResolver;)Lorg/springframework/util/StringValueResolver;
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/String;)Ljava/lang/String;
org/springframework/context/support/PropertySourcesPlaceholderConfigurer.lambda$0(Lorg/springframework/core/env/ConfigurablePropertyResolver;Ljava/lang/String;)Ljava/lang/String; (7)
(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: aload 0
aload 1
aload 3
invokevirtual org.springframework.context.support.PropertySourcesPlaceholderConfigurer.doProcessProperties:(Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;Lorg/springframework/util/StringValueResolver;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
0 6 1 beanFactoryToProcess Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
0 6 2 propertyResolver Lorg/springframework/core/env/ConfigurablePropertyResolver;
4 6 3 valueResolver Lorg/springframework/util/StringValueResolver;
Exceptions:
throws org.springframework.beans.BeansException
MethodParameters:
Name Flags
beanFactoryToProcess
propertyResolver final
protected void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory, java.util.Properties);
descriptor: (Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;Ljava/util/Properties;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
1: ldc "Call processProperties(ConfigurableListableBeanFactory, ConfigurablePropertyResolver) instead"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
0 3 1 beanFactory Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
0 3 2 props Ljava/util/Properties;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
beanFactory
props
public org.springframework.core.env.PropertySources getAppliedPropertySources();
descriptor: ()Lorg/springframework/core/env/PropertySources;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.appliedPropertySources:Lorg/springframework/core/env/PropertySources;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "PropertySources have not yet been applied"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.appliedPropertySources:Lorg/springframework/core/env/PropertySources;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
Exceptions:
throws java.lang.IllegalStateException
private java.lang.String lambda$0(org.springframework.core.env.ConfigurablePropertyResolver, java.lang.String);
descriptor: (Lorg/springframework/core/env/ConfigurablePropertyResolver;Ljava/lang/String;)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 2 0: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.ignoreUnresolvablePlaceholders:Z
ifeq 2
1: aload 1
aload 2
invokeinterface org.springframework.core.env.ConfigurablePropertyResolver.resolvePlaceholders:(Ljava/lang/String;)Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface org.springframework.core.env.ConfigurablePropertyResolver.resolveRequiredPlaceholders:(Ljava/lang/String;)Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 4: aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.trimValues:Z
ifeq 6
5: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
6: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 0
getfield org.springframework.context.support.PropertySourcesPlaceholderConfigurer.nullValue:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
aconst_null
goto 8
StackMap locals:
StackMap stack:
7: aload 3
StackMap locals:
StackMap stack: java.lang.String
8: areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/context/support/PropertySourcesPlaceholderConfigurer;
0 9 2 strVal Ljava/lang/String;
4 9 3 resolved Ljava/lang/String;
}
SourceFile: "PropertySourcesPlaceholderConfigurer.java"
NestMembers:
org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1