public final class org.springframework.boot.context.properties.source.ConfigurationPropertySources
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.context.properties.source.ConfigurationPropertySources
super_class: java.lang.Object
{
private static final java.lang.String ATTACHED_PROPERTY_SOURCE_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "configurationProperties"
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/source/ConfigurationPropertySources;
public static boolean isAttachedConfigurationPropertySource(org.springframework.core.env.PropertySource<?>);
descriptor: (Lorg/springframework/core/env/PropertySource;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "configurationProperties"
aload 0
invokevirtual org.springframework.core.env.PropertySource.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertySource Lorg/springframework/core/env/PropertySource<*>;
Signature: (Lorg/springframework/core/env/PropertySource<*>;)Z
MethodParameters:
Name Flags
propertySource
public static void attach(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: ldc Lorg/springframework/core/env/ConfigurableEnvironment;
aload 0
invokestatic org.springframework.util.Assert.isInstanceOf:(Ljava/lang/Class;Ljava/lang/Object;)V
1: aload 0
checkcast org.springframework.core.env.ConfigurableEnvironment
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
astore 1
start local 1 2: aload 1
ldc "configurationProperties"
invokevirtual org.springframework.core.env.MutablePropertySources.get:(Ljava/lang/String;)Lorg/springframework/core/env/PropertySource;
astore 2
start local 2 3: aload 2
ifnull 6
aload 2
invokevirtual org.springframework.core.env.PropertySource.getSource:()Ljava/lang/Object;
aload 1
if_acmpeq 6
4: aload 1
ldc "configurationProperties"
invokevirtual org.springframework.core.env.MutablePropertySources.remove:(Ljava/lang/String;)Lorg/springframework/core/env/PropertySource;
pop
5: aconst_null
astore 2
6: StackMap locals: org.springframework.core.env.MutablePropertySources org.springframework.core.env.PropertySource
StackMap stack:
aload 2
ifnonnull 10
7: aload 1
new org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource
dup
ldc "configurationProperties"
8: new org.springframework.boot.context.properties.source.SpringConfigurationPropertySources
dup
aload 1
invokespecial org.springframework.boot.context.properties.source.SpringConfigurationPropertySources.<init>:(Ljava/lang/Iterable;)V
invokespecial org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource.<init>:(Ljava/lang/String;Ljava/lang/Iterable;)V
9: invokevirtual org.springframework.core.env.MutablePropertySources.addFirst:(Lorg/springframework/core/env/PropertySource;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 environment Lorg/springframework/core/env/Environment;
2 11 1 sources Lorg/springframework/core/env/MutablePropertySources;
3 11 2 attached Lorg/springframework/core/env/PropertySource<*>;
MethodParameters:
Name Flags
environment
public static java.lang.Iterable<org.springframework.boot.context.properties.source.ConfigurationPropertySource> get(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc Lorg/springframework/core/env/ConfigurableEnvironment;
aload 0
invokestatic org.springframework.util.Assert.isInstanceOf:(Ljava/lang/Class;Ljava/lang/Object;)V
1: aload 0
checkcast org.springframework.core.env.ConfigurableEnvironment
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
astore 1
start local 1 2: aload 1
3: ldc "configurationProperties"
invokevirtual org.springframework.core.env.MutablePropertySources.get:(Ljava/lang/String;)Lorg/springframework/core/env/PropertySource;
4: checkcast org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource
astore 2
start local 2 5: aload 2
ifnonnull 7
6: aload 1
invokestatic org.springframework.boot.context.properties.source.ConfigurationPropertySources.from:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
7: StackMap locals: org.springframework.core.env.MutablePropertySources org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource
StackMap stack:
aload 2
invokevirtual org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource.getSource:()Ljava/lang/Object;
checkcast java.lang.Iterable
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 environment Lorg/springframework/core/env/Environment;
2 8 1 sources Lorg/springframework/core/env/MutablePropertySources;
5 8 2 attached Lorg/springframework/boot/context/properties/source/ConfigurationPropertySourcesPropertySource;
Signature: (Lorg/springframework/core/env/Environment;)Ljava/lang/Iterable<Lorg/springframework/boot/context/properties/source/ConfigurationPropertySource;>;
MethodParameters:
Name Flags
environment
public static java.lang.Iterable<org.springframework.boot.context.properties.source.ConfigurationPropertySource> from(org.springframework.core.env.PropertySource<?>);
descriptor: (Lorg/springframework/core/env/PropertySource;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.boot.context.properties.source.ConfigurationPropertySource.from:(Lorg/springframework/core/env/PropertySource;)Lorg/springframework/boot/context/properties/source/ConfigurationPropertySource;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Lorg/springframework/core/env/PropertySource<*>;
Signature: (Lorg/springframework/core/env/PropertySource<*>;)Ljava/lang/Iterable<Lorg/springframework/boot/context/properties/source/ConfigurationPropertySource;>;
MethodParameters:
Name Flags
source
public static java.lang.Iterable<org.springframework.boot.context.properties.source.ConfigurationPropertySource> from(java.lang.Iterable<org.springframework.core.env.PropertySource<?>>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.springframework.boot.context.properties.source.SpringConfigurationPropertySources
dup
aload 0
invokespecial org.springframework.boot.context.properties.source.SpringConfigurationPropertySources.<init>:(Ljava/lang/Iterable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sources Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;
Signature: (Ljava/lang/Iterable<Lorg/springframework/core/env/PropertySource<*>;>;)Ljava/lang/Iterable<Lorg/springframework/boot/context/properties/source/ConfigurationPropertySource;>;
MethodParameters:
Name Flags
sources
private static java.util.stream.Stream<org.springframework.core.env.PropertySource<?>> streamPropertySources(org.springframework.core.env.PropertySources);
descriptor: (Lorg/springframework/core/env/PropertySources;)Ljava/util/stream/Stream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.springframework.core.env.PropertySources.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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/Object;)Ljava/lang/Object;
org/springframework/boot/context/properties/source/ConfigurationPropertySources.flatten(Lorg/springframework/core/env/PropertySource;)Ljava/util/stream/Stream; (6)
(Lorg/springframework/core/env/PropertySource;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
1: invokedynamic test()Ljava/util/function/Predicate;
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/Object;)Z
org/springframework/boot/context/properties/source/ConfigurationPropertySources.isIncluded(Lorg/springframework/core/env/PropertySource;)Z (6)
(Lorg/springframework/core/env/PropertySource;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sources Lorg/springframework/core/env/PropertySources;
Signature: (Lorg/springframework/core/env/PropertySources;)Ljava/util/stream/Stream<Lorg/springframework/core/env/PropertySource<*>;>;
MethodParameters:
Name Flags
sources
private static java.util.stream.Stream<org.springframework.core.env.PropertySource<?>> flatten(org.springframework.core.env.PropertySource<?>);
descriptor: (Lorg/springframework/core/env/PropertySource;)Ljava/util/stream/Stream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.core.env.PropertySource.getSource:()Ljava/lang/Object;
instanceof org.springframework.core.env.ConfigurableEnvironment
ifeq 2
1: aload 0
invokevirtual org.springframework.core.env.PropertySource.getSource:()Ljava/lang/Object;
checkcast org.springframework.core.env.ConfigurableEnvironment
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getPropertySources:()Lorg/springframework/core/env/MutablePropertySources;
invokestatic org.springframework.boot.context.properties.source.ConfigurationPropertySources.streamPropertySources:(Lorg/springframework/core/env/PropertySources;)Ljava/util/stream/Stream;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.stream.Stream.of:(Ljava/lang/Object;)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 source Lorg/springframework/core/env/PropertySource<*>;
Signature: (Lorg/springframework/core/env/PropertySource<*>;)Ljava/util/stream/Stream<Lorg/springframework/core/env/PropertySource<*>;>;
MethodParameters:
Name Flags
source
private static boolean isIncluded(org.springframework.core.env.PropertySource<?>);
descriptor: (Lorg/springframework/core/env/PropertySource;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.springframework.core.env.PropertySource$StubPropertySource
ifne 3
1: aload 0
instanceof org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 source Lorg/springframework/core/env/PropertySource<*>;
Signature: (Lorg/springframework/core/env/PropertySource<*>;)Z
MethodParameters:
Name Flags
source
}
SourceFile: "ConfigurationPropertySources.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public StubPropertySource = org.springframework.core.env.PropertySource$StubPropertySource of org.springframework.core.env.PropertySource