public class org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver implements org.springframework.boot.context.config.ConfigDataLocationResolver<org.springframework.boot.context.config.ConfigTreeConfigDataResource>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver
super_class: java.lang.Object
{
private static final java.lang.String PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "configtree:"
private final org.springframework.boot.context.config.LocationResourceLoader resourceLoader;
descriptor: Lorg/springframework/boot/context/config/LocationResourceLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.io.ResourceLoader);
descriptor: (Lorg/springframework/core/io/ResourceLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.boot.context.config.LocationResourceLoader
dup
aload 1
invokespecial org.springframework.boot.context.config.LocationResourceLoader.<init>:(Lorg/springframework/core/io/ResourceLoader;)V
putfield org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/ConfigTreeConfigDataLocationResolver;
0 3 1 resourceLoader Lorg/springframework/core/io/ResourceLoader;
MethodParameters:
Name Flags
resourceLoader
public boolean isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.ConfigDataLocation);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "configtree:"
invokevirtual org.springframework.boot.context.config.ConfigDataLocation.hasPrefix:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigTreeConfigDataLocationResolver;
0 1 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 1 2 location Lorg/springframework/boot/context/config/ConfigDataLocation;
MethodParameters:
Name Flags
context
location
public java.util.List<org.springframework.boot.context.config.ConfigTreeConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.ConfigDataLocation);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc "configtree:"
invokevirtual org.springframework.boot.context.config.ConfigDataLocation.getNonPrefixedValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver.resolve:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Ljava/lang/String;)Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 3: new org.springframework.boot.context.config.ConfigDataLocationNotFoundException
dup
aload 2
aload 3
invokespecial org.springframework.boot.context.config.ConfigDataLocationNotFoundException.<init>:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/config/ConfigTreeConfigDataLocationResolver;
0 4 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 4 2 location Lorg/springframework/boot/context/config/ConfigDataLocation;
3 4 3 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/List<Lorg/springframework/boot/context/config/ConfigTreeConfigDataResource;>;
MethodParameters:
Name Flags
context
location
private java.util.List<org.springframework.boot.context.config.ConfigTreeConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext, java.lang.String);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
1: aload 2
invokedynamic get(Ljava/lang/String;)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/context/config/ConfigTreeConfigDataLocationResolver.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
2: invokestatic org.springframework.util.Assert.isTrue:(ZLjava/util/function/Supplier;)V
3: aload 0
getfield org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
aload 2
invokevirtual org.springframework.boot.context.config.LocationResourceLoader.isPattern:(Ljava/lang/String;)Z
ifne 5
4: new org.springframework.boot.context.config.ConfigTreeConfigDataResource
dup
aload 2
invokespecial org.springframework.boot.context.config.ConfigTreeConfigDataResource.<init>:(Ljava/lang/String;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
aload 2
getstatic org.springframework.boot.context.config.LocationResourceLoader$ResourceType.DIRECTORY:Lorg/springframework/boot/context/config/LocationResourceLoader$ResourceType;
invokevirtual org.springframework.boot.context.config.LocationResourceLoader.getResources:(Ljava/lang/String;Lorg/springframework/boot/context/config/LocationResourceLoader$ResourceType;)[Lorg/springframework/core/io/Resource;
astore 3
start local 3 6: new java.util.ArrayList
dup
aload 3
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 7: aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 11
StackMap locals: org.springframework.boot.context.config.ConfigTreeConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocationResolverContext java.lang.String org.springframework.core.io.Resource[] java.util.List top int int org.springframework.core.io.Resource[]
StackMap stack:
8: aload 8
iload 6
aaload
astore 5
start local 5 9: aload 4
new org.springframework.boot.context.config.ConfigTreeConfigDataResource
dup
aload 5
invokeinterface org.springframework.core.io.Resource.getFile:()Ljava/io/File;
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokespecial org.springframework.boot.context.config.ConfigTreeConfigDataResource.<init>:(Ljava/nio/file/Path;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 7
if_icmplt 8
12: 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 13 0 this Lorg/springframework/boot/context/config/ConfigTreeConfigDataLocationResolver;
0 13 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 13 2 location Ljava/lang/String;
6 13 3 resources [Lorg/springframework/core/io/Resource;
7 13 4 resolved Ljava/util/List<Lorg/springframework/boot/context/config/ConfigTreeConfigDataResource;>;
9 10 5 resource Lorg/springframework/core/io/Resource;
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Ljava/lang/String;)Ljava/util/List<Lorg/springframework/boot/context/config/ConfigTreeConfigDataResource;>;
MethodParameters:
Name Flags
context
location
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: ldc "Config tree location '%s' must end with '/'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/springframework/boot/context/config/ConfigDataLocationResolver<Lorg/springframework/boot/context/config/ConfigTreeConfigDataResource;>;
SourceFile: "ConfigTreeConfigDataLocationResolver.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final ResourceType = org.springframework.boot.context.config.LocationResourceLoader$ResourceType of org.springframework.boot.context.config.LocationResourceLoader