public class org.springframework.boot.env.PropertiesPropertySourceLoader implements org.springframework.boot.env.PropertySourceLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.env.PropertiesPropertySourceLoader
super_class: java.lang.Object
{
private static final java.lang.String XML_FILE_EXTENSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".xml"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/PropertiesPropertySourceLoader;
public java.lang.String[] getFileExtensions();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "properties"
aastore
dup
iconst_1
ldc "xml"
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/PropertiesPropertySourceLoader;
public java.util.List<org.springframework.core.env.PropertySource<?>> load(java.lang.String, org.springframework.core.io.Resource);
descriptor: (Ljava/lang/String;Lorg/springframework/core/io/Resource;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.boot.env.PropertiesPropertySourceLoader.loadProperties:(Lorg/springframework/core/io/Resource;)Ljava/util/List;
astore 3
start local 3 1: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
3: StackMap locals: java.util.List
StackMap stack:
new java.util.ArrayList
dup
aload 3
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 13
6: StackMap locals: java.util.List int
StackMap stack:
aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 7
new java.lang.StringBuilder
dup
ldc " (document #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack:
7: ldc ""
StackMap locals:
StackMap stack: java.lang.String
8: astore 6
start local 6 9: aload 4
new org.springframework.boot.env.OriginTrackedMapPropertySource
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: aload 3
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Map
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
iconst_1
invokespecial org.springframework.boot.env.OriginTrackedMapPropertySource.<init>:(Ljava/lang/String;Ljava/util/Map;Z)V
11: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 6
end local 5 14: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/boot/env/PropertiesPropertySourceLoader;
0 15 1 name Ljava/lang/String;
0 15 2 resource Lorg/springframework/core/io/Resource;
1 15 3 properties Ljava/util/List<Ljava/util/Map<Ljava/lang/String;*>;>;
4 15 4 propertySources Ljava/util/List<Lorg/springframework/core/env/PropertySource<*>;>;
5 14 5 i I
9 12 6 documentNumber Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Lorg/springframework/core/io/Resource;)Ljava/util/List<Lorg/springframework/core/env/PropertySource<*>;>;
MethodParameters:
Name Flags
name
resource
private java.util.List<java.util.Map<java.lang.String, ?>> loadProperties(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.core.io.Resource.getFilename:()Ljava/lang/String;
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 2
ifnull 5
aload 2
ldc ".xml"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
3: aload 3
aload 1
invokestatic org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties:(Lorg/springframework/core/io/Resource;)Ljava/util/Properties;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: goto 7
5: StackMap locals: java.lang.String java.util.List
StackMap stack:
new org.springframework.boot.env.OriginTrackedPropertiesLoader
dup
aload 1
invokespecial org.springframework.boot.env.OriginTrackedPropertiesLoader.<init>:(Lorg/springframework/core/io/Resource;)V
invokevirtual org.springframework.boot.env.OriginTrackedPropertiesLoader.load:()Ljava/util/List;
astore 4
start local 4 6: aload 4
aload 3
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
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;)V
org/springframework/boot/env/PropertiesPropertySourceLoader.lambda$0(Ljava/util/List;Lorg/springframework/boot/env/OriginTrackedPropertiesLoader$Document;)V (6)
(Lorg/springframework/boot/env/OriginTrackedPropertiesLoader$Document;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 3
areturn
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/env/PropertiesPropertySourceLoader;
0 8 1 resource Lorg/springframework/core/io/Resource;
1 8 2 filename Ljava/lang/String;
2 8 3 result Ljava/util/List<Ljava/util/Map<Ljava/lang/String;*>;>;
6 7 4 documents Ljava/util/List<Lorg/springframework/boot/env/OriginTrackedPropertiesLoader$Document;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/core/io/Resource;)Ljava/util/List<Ljava/util/Map<Ljava/lang/String;*>;>;
MethodParameters:
Name Flags
resource
private static void lambda$0(java.util.List, org.springframework.boot.env.OriginTrackedPropertiesLoader$Document);
descriptor: (Ljava/util/List;Lorg/springframework/boot/env/OriginTrackedPropertiesLoader$Document;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.env.OriginTrackedPropertiesLoader$Document.asMap:()Ljava/util/Map;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 document Lorg/springframework/boot/env/OriginTrackedPropertiesLoader$Document;
}
SourceFile: "PropertiesPropertySourceLoader.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
Document = org.springframework.boot.env.OriginTrackedPropertiesLoader$Document of org.springframework.boot.env.OriginTrackedPropertiesLoader