class org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver implements org.springframework.boot.context.properties.bind.PlaceholdersResolver
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver
super_class: java.lang.Object
{
private final java.lang.Iterable<org.springframework.boot.context.config.ConfigDataEnvironmentContributor> contributors;
descriptor: Ljava/lang/Iterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Iterable<Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributor;>;
private final org.springframework.boot.context.config.ConfigDataActivationContext activationContext;
descriptor: Lorg/springframework/boot/context/config/ConfigDataActivationContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean failOnResolveFromInactiveContributor;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.util.PropertyPlaceholderHelper helper;
descriptor: Lorg/springframework/util/PropertyPlaceholderHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.Iterable<org.springframework.boot.context.config.ConfigDataEnvironmentContributor>, org.springframework.boot.context.config.ConfigDataActivationContext, );
descriptor: (Ljava/lang/Iterable;Lorg/springframework/boot/context/config/ConfigDataActivationContext;Z)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.contributors:Ljava/lang/Iterable;
2: aload 0
aload 2
putfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.activationContext:Lorg/springframework/boot/context/config/ConfigDataActivationContext;
3: aload 0
iload 3
putfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.failOnResolveFromInactiveContributor:Z
4: aload 0
new org.springframework.util.PropertyPlaceholderHelper
dup
ldc "${"
5: ldc "}"
ldc ":"
iconst_1
invokespecial org.springframework.util.PropertyPlaceholderHelper.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
6: putfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.helper:Lorg/springframework/util/PropertyPlaceholderHelper;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributorPlaceholdersResolver;
0 8 1 contributors Ljava/lang/Iterable<Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributor;>;
0 8 2 activationContext Lorg/springframework/boot/context/config/ConfigDataActivationContext;
0 8 3 failOnResolveFromInactiveContributor Z
Signature: (Ljava/lang/Iterable<Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributor;>;Lorg/springframework/boot/context/config/ConfigDataActivationContext;Z)V
MethodParameters:
Name Flags
contributors
activationContext
failOnResolveFromInactiveContributor
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.config.ConfigDataEnvironmentContributorPlaceholdersResolver.helper:Lorg/springframework/util/PropertyPlaceholderHelper;
aload 1
checkcast java.lang.String
aload 0
invokedynamic resolvePlaceholder(Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributorPlaceholdersResolver;)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/config/ConfigDataEnvironmentContributorPlaceholdersResolver.resolvePlaceholder(Ljava/lang/String;)Ljava/lang/String; (7)
(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/config/ConfigDataEnvironmentContributorPlaceholdersResolver;
0 3 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
private java.lang.String resolvePlaceholder(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.contributors:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.context.config.ConfigDataEnvironmentContributor
astore 3
start local 3 3: aload 3
invokevirtual org.springframework.boot.context.config.ConfigDataEnvironmentContributor.getPropertySource:()Lorg/springframework/core/env/PropertySource;
astore 5
start local 5 4: aload 5
ifnull 5
aload 5
aload 1
invokevirtual org.springframework.core.env.PropertySource.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
goto 6
StackMap locals: org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver java.lang.String java.lang.Object org.springframework.boot.context.config.ConfigDataEnvironmentContributor java.util.Iterator org.springframework.core.env.PropertySource
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
6: astore 6
start local 6 7: aload 6
ifnull 13
aload 3
aload 0
getfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.activationContext:Lorg/springframework/boot/context/config/ConfigDataActivationContext;
invokevirtual org.springframework.boot.context.config.ConfigDataEnvironmentContributor.isActive:(Lorg/springframework/boot/context/config/ConfigDataActivationContext;)Z
ifne 13
8: aload 0
getfield org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver.failOnResolveFromInactiveContributor:Z
ifeq 12
9: aload 3
invokevirtual org.springframework.boot.context.config.ConfigDataEnvironmentContributor.getResource:()Lorg/springframework/boot/context/config/ConfigDataResource;
astore 7
start local 7 10: aload 5
aload 1
invokestatic org.springframework.boot.origin.OriginLookup.getOrigin:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/springframework/boot/origin/Origin;
astore 8
start local 8 11: new org.springframework.boot.context.config.InactiveConfigDataAccessException
dup
aload 5
aload 7
aload 1
aload 8
invokespecial org.springframework.boot.context.config.InactiveConfigDataAccessException.<init>:(Lorg/springframework/core/env/PropertySource;Lorg/springframework/boot/context/config/ConfigDataResource;Ljava/lang/String;Lorg/springframework/boot/origin/Origin;)V
athrow
end local 8 end local 7 12: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
astore 6
13: StackMap locals:
StackMap stack:
aload 2
ifnull 14
aload 2
goto 15
StackMap locals:
StackMap stack:
14: aload 6
StackMap locals:
StackMap stack: java.lang.Object
15: astore 2
end local 6 end local 5 end local 3 16: StackMap locals: org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver java.lang.String java.lang.Object top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
17: aload 2
ifnull 18
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
goto 19
StackMap locals: org.springframework.boot.context.config.ConfigDataEnvironmentContributorPlaceholdersResolver java.lang.String java.lang.Object
StackMap stack:
18: aconst_null
StackMap locals:
StackMap stack: java.lang.String
19: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributorPlaceholdersResolver;
0 20 1 placeholder Ljava/lang/String;
1 20 2 result Ljava/lang/Object;
3 16 3 contributor Lorg/springframework/boot/context/config/ConfigDataEnvironmentContributor;
4 16 5 propertySource Lorg/springframework/core/env/PropertySource<*>;
7 16 6 value Ljava/lang/Object;
10 12 7 resource Lorg/springframework/boot/context/config/ConfigDataResource;
11 12 8 origin Lorg/springframework/boot/origin/Origin;
MethodParameters:
Name Flags
placeholder
}
SourceFile: "ConfigDataEnvironmentContributorPlaceholdersResolver.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