public class org.springframework.boot.env.ConfigTreePropertySource extends org.springframework.core.env.EnumerablePropertySource<java.nio.file.Path> implements org.springframework.boot.origin.OriginLookup<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.env.ConfigTreePropertySource
super_class: org.springframework.core.env.EnumerablePropertySource
{
private static final int MAX_DEPTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private final java.util.Map<java.lang.String, org.springframework.boot.env.ConfigTreePropertySource$PropertyFile> propertyFiles;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFile;>;
private final java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<org.springframework.boot.env.ConfigTreePropertySource$Option> options;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/springframework/boot/env/ConfigTreePropertySource$Option;>;
public void <init>(java.lang.String, java.nio.file.Path);
descriptor: (Ljava/lang/String;Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc Lorg/springframework/boot/env/ConfigTreePropertySource$Option;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
invokespecial org.springframework.boot.env.ConfigTreePropertySource.<init>:(Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/Set;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
0 2 1 name Ljava/lang/String;
0 2 2 sourceDirectory Ljava/nio/file/Path;
MethodParameters:
Name Flags
name
sourceDirectory
public void <init>(java.lang.String, java.nio.file.Path, org.springframework.boot.env.ConfigTreePropertySource$Option[]);
descriptor: (Ljava/lang/String;Ljava/nio/file/Path;[Lorg/springframework/boot/env/ConfigTreePropertySource$Option;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
invokespecial org.springframework.boot.env.ConfigTreePropertySource.<init>:(Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/Set;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
0 2 1 name Ljava/lang/String;
0 2 2 sourceDirectory Ljava/nio/file/Path;
0 2 3 options [Lorg/springframework/boot/env/ConfigTreePropertySource$Option;
MethodParameters:
Name Flags
name
sourceDirectory
options
private void <init>(java.lang.String, java.nio.file.Path, java.util.Set<org.springframework.boot.env.ConfigTreePropertySource$Option>);
descriptor: (Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.springframework.core.env.EnumerablePropertySource.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
aload 2
invokedynamic get(Ljava/nio/file/Path;)Ljava/util/function/Supplier;
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;
org/springframework/boot/env/ConfigTreePropertySource.lambda$0(Ljava/nio/file/Path;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/util/function/Supplier;)V
2: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
aload 2
invokedynamic get(Ljava/nio/file/Path;)Ljava/util/function/Supplier;
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;
org/springframework/boot/env/ConfigTreePropertySource.lambda$1(Ljava/nio/file/Path;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/util/function/Supplier;)V
3: aload 0
aload 2
aload 3
invokestatic org.springframework.boot.env.ConfigTreePropertySource$PropertyFile.findAll:(Ljava/nio/file/Path;Ljava/util/Set;)Ljava/util/Map;
putfield org.springframework.boot.env.ConfigTreePropertySource.propertyFiles:Ljava/util/Map;
4: aload 0
aload 3
putfield org.springframework.boot.env.ConfigTreePropertySource.options:Ljava/util/Set;
5: aload 0
aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource.propertyFiles:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic org.springframework.util.StringUtils.toStringArray:(Ljava/util/Collection;)[Ljava/lang/String;
putfield org.springframework.boot.env.ConfigTreePropertySource.names:[Ljava/lang/String;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
0 7 1 name Ljava/lang/String;
0 7 2 sourceDirectory Ljava/nio/file/Path;
0 7 3 options Ljava/util/Set<Lorg/springframework/boot/env/ConfigTreePropertySource$Option;>;
Signature: (Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/Set<Lorg/springframework/boot/env/ConfigTreePropertySource$Option;>;)V
MethodParameters:
Name Flags
name
sourceDirectory
options
public java.lang.String[] getPropertyNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource.names:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
public org.springframework.boot.env.ConfigTreePropertySource$Value getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/env/ConfigTreePropertySource$Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource.propertyFiles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.boot.env.ConfigTreePropertySource$PropertyFile
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFile.getContent:()Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFileContent;
goto 3
StackMap locals: org.springframework.boot.env.ConfigTreePropertySource$PropertyFile
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
0 4 1 name Ljava/lang/String;
1 4 2 propertyFile Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFile;
MethodParameters:
Name Flags
name
public org.springframework.boot.origin.Origin getOrigin(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/origin/Origin;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource.propertyFiles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.boot.env.ConfigTreePropertySource$PropertyFile
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual org.springframework.boot.env.ConfigTreePropertySource$PropertyFile.getOrigin:()Lorg/springframework/boot/origin/Origin;
goto 3
StackMap locals: org.springframework.boot.env.ConfigTreePropertySource$PropertyFile
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: org.springframework.boot.origin.Origin
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
0 4 1 name Ljava/lang/String;
1 4 2 propertyFile Lorg/springframework/boot/env/ConfigTreePropertySource$PropertyFile;
MethodParameters:
Name Flags
name
public boolean isImmutable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.env.ConfigTreePropertySource.options:Ljava/util/Set;
getstatic org.springframework.boot.env.ConfigTreePropertySource$Option.ALWAYS_READ:Lorg/springframework/boot/env/ConfigTreePropertySource$Option;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/env/ConfigTreePropertySource;
public org.springframework.boot.origin.Origin getOrigin(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/springframework/boot/origin/Origin;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.String
invokevirtual org.springframework.boot.env.ConfigTreePropertySource.getOrigin:(Ljava/lang/String;)Lorg/springframework/boot/origin/Origin;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.springframework.boot.env.ConfigTreePropertySource.getProperty:(Ljava/lang/String;)Lorg/springframework/boot/env/ConfigTreePropertySource$Value;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$0(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "Directory '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' does not exist"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$1(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "File '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' is not a directory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/springframework/core/env/EnumerablePropertySource<Ljava/nio/file/Path;>;Lorg/springframework/boot/origin/OriginLookup<Ljava/lang/String;>;
SourceFile: "ConfigTreePropertySource.java"
NestMembers:
org.springframework.boot.env.ConfigTreePropertySource$Option org.springframework.boot.env.ConfigTreePropertySource$PropertyFile org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent org.springframework.boot.env.ConfigTreePropertySource$Value
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Option = org.springframework.boot.env.ConfigTreePropertySource$Option of org.springframework.boot.env.ConfigTreePropertySource
private final PropertyFile = org.springframework.boot.env.ConfigTreePropertySource$PropertyFile of org.springframework.boot.env.ConfigTreePropertySource
private final PropertyFileContent = org.springframework.boot.env.ConfigTreePropertySource$PropertyFileContent of org.springframework.boot.env.ConfigTreePropertySource
public abstract Value = org.springframework.boot.env.ConfigTreePropertySource$Value of org.springframework.boot.env.ConfigTreePropertySource