public class org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver implements org.springframework.boot.context.properties.bind.PlaceholdersResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver
super_class: java.lang.Object
{
private final java.lang.Iterable<org.springframework.core.env.PropertySource<?>> sources;
descriptor: Ljava/lang/Iterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;
private final org.springframework.util.PropertyPlaceholderHelper helper;
descriptor: Lorg/springframework/util/PropertyPlaceholderHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.getSources:(Lorg/springframework/core/env/Environment;)Lorg/springframework/core/env/PropertySources;
aconst_null
invokespecial org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.<init>:(Ljava/lang/Iterable;Lorg/springframework/util/PropertyPlaceholderHelper;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/PropertySourcesPlaceholdersResolver;
0 2 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
public void <init>(java.lang.Iterable<org.springframework.core.env.PropertySource<?>>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.<init>:(Ljava/lang/Iterable;Lorg/springframework/util/PropertyPlaceholderHelper;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/PropertySourcesPlaceholdersResolver;
0 2 1 sources Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;
Signature: (Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;)V
MethodParameters:
Name Flags
sources
public void <init>(java.lang.Iterable<org.springframework.core.env.PropertySource<?>>, org.springframework.util.PropertyPlaceholderHelper);
descriptor: (Ljava/lang/Iterable;Lorg/springframework/util/PropertyPlaceholderHelper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.sources:Ljava/lang/Iterable;
2: aload 0
aload 2
ifnull 3
aload 2
goto 5
StackMap locals: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver java.lang.Iterable org.springframework.util.PropertyPlaceholderHelper
StackMap stack: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver
3: new org.springframework.util.PropertyPlaceholderHelper
dup
ldc "${"
4: ldc "}"
ldc ":"
iconst_1
invokespecial org.springframework.util.PropertyPlaceholderHelper.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
5: StackMap locals: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver java.lang.Iterable org.springframework.util.PropertyPlaceholderHelper
StackMap stack: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver org.springframework.util.PropertyPlaceholderHelper
putfield org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.helper:Lorg/springframework/util/PropertyPlaceholderHelper;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/context/properties/bind/PropertySourcesPlaceholdersResolver;
0 7 1 sources Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;
0 7 2 helper Lorg/springframework/util/PropertyPlaceholderHelper;
Signature: (Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;Lorg/springframework/util/PropertyPlaceholderHelper;)V
MethodParameters:
Name Flags
sources
helper
public java.lang.Object resolvePlaceholders(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.String
ifeq 2
1: aload 0
getfield org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.helper:Lorg/springframework/util/PropertyPlaceholderHelper;
aload 1
checkcast java.lang.String
aload 0
invokedynamic resolvePlaceholder(Lorg/springframework/boot/context/properties/bind/PropertySourcesPlaceholdersResolver;)Lorg/springframework/util/PropertyPlaceholderHelper$PlaceholderResolver;
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/boot/context/properties/bind/PropertySourcesPlaceholdersResolver.resolvePlaceholder(Ljava/lang/String;)Ljava/lang/String; (5)
(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders:(Ljava/lang/String;Lorg/springframework/util/PropertyPlaceholderHelper$PlaceholderResolver;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/PropertySourcesPlaceholdersResolver;
0 3 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
protected java.lang.String resolvePlaceholder(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.sources:Ljava/lang/Iterable;
ifnull 7
1: aload 0
getfield org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver.sources:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver java.lang.String top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.core.env.PropertySource
astore 2
start local 2 3: aload 2
aload 1
invokevirtual org.springframework.core.env.PropertySource.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/context/properties/bind/PropertySourcesPlaceholdersResolver;
0 8 1 placeholder Ljava/lang/String;
3 6 2 source Lorg/springframework/core/env/PropertySource<*>;
4 6 4 value Ljava/lang/Object;
MethodParameters:
Name Flags
placeholder
private static org.springframework.core.env.PropertySources getSources(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)Lorg/springframework/core/env/PropertySources;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "Environment must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: ldc Lorg/springframework/core/env/ConfigurableEnvironment;
aload 0
2: ldc "Environment must be a ConfigurableEnvironment"
3: invokestatic org.springframework.util.Assert.isInstanceOf:(Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/String;)V
4: aload 0
checkcast org.springframework.core.env.ConfigurableEnvironment
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
}
SourceFile: "PropertySourcesPlaceholdersResolver.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract PlaceholderResolver = org.springframework.util.PropertyPlaceholderHelper$PlaceholderResolver of org.springframework.util.PropertyPlaceholderHelper