public class org.springframework.boot.context.config.StandardConfigDataLocationResolver implements org.springframework.boot.context.config.ConfigDataLocationResolver<org.springframework.boot.context.config.StandardConfigDataResource>, org.springframework.core.Ordered
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.config.StandardConfigDataLocationResolver
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: "resource:"
static final java.lang.String CONFIG_NAME_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "spring.config.name"
private static final java.lang.String[] DEFAULT_CONFIG_NAMES;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern URL_PREFIX;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern EXTENSION_HINT_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String NO_PROFILE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.springframework.boot.env.PropertySourceLoader> propertySourceLoaders;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/boot/env/PropertySourceLoader;>;
private final java.lang.String[] configNames;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.boot.context.config.LocationResourceLoader resourceLoader;
descriptor: Lorg/springframework/boot/context/config/LocationResourceLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "application"
aastore
putstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.DEFAULT_CONFIG_NAMES:[Ljava/lang/String;
1: ldc "^([a-zA-Z][a-zA-Z0-9*]*?:)(.*$)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.URL_PREFIX:Ljava/util/regex/Pattern;
2: ldc "^(.*)\\[(\\.\\w+)\\](?!\\[)$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.EXTENSION_HINT_PATTERN:Ljava/util/regex/Pattern;
3: aconst_null
putstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.NO_PROFILE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.commons.logging.Log, org.springframework.boot.context.properties.bind.Binder, org.springframework.core.io.ResourceLoader);
descriptor: (Lorg/apache/commons/logging/Log;Lorg/springframework/boot/context/properties/bind/Binder;Lorg/springframework/core/io/ResourceLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.StandardConfigDataLocationResolver.logger:Lorg/apache/commons/logging/Log;
2: aload 0
ldc Lorg/springframework/boot/env/PropertySourceLoader;
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
4: invokestatic org.springframework.core.io.support.SpringFactoriesLoader.loadFactories:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/List;
putfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.propertySourceLoaders:Ljava/util/List;
5: aload 0
aload 0
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getConfigNames:(Lorg/springframework/boot/context/properties/bind/Binder;)[Ljava/lang/String;
putfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.configNames:[Ljava/lang/String;
6: aload 0
new org.springframework.boot.context.config.LocationResourceLoader
dup
aload 3
invokespecial org.springframework.boot.context.config.LocationResourceLoader.<init>:(Lorg/springframework/core/io/ResourceLoader;)V
putfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
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/StandardConfigDataLocationResolver;
0 8 1 logger Lorg/apache/commons/logging/Log;
0 8 2 binder Lorg/springframework/boot/context/properties/bind/Binder;
0 8 3 resourceLoader Lorg/springframework/core/io/ResourceLoader;
MethodParameters:
Name Flags
logger
binder
resourceLoader
private java.lang.String[] getConfigNames(org.springframework.boot.context.properties.bind.Binder);
descriptor: (Lorg/springframework/boot/context/properties/bind/Binder;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ldc "spring.config.name"
ldc [Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.bind.Binder.bind:(Ljava/lang/String;Ljava/lang/Class;)Lorg/springframework/boot/context/properties/bind/BindResult;
getstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.DEFAULT_CONFIG_NAMES:[Ljava/lang/String;
invokevirtual org.springframework.boot.context.properties.bind.BindResult.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
astore 2
start local 2 1: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.properties.bind.Binder java.lang.String[] top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.validateConfigName:(Ljava/lang/String;)V
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 7 1 binder Lorg/springframework/boot/context/properties/bind/Binder;
1 7 2 configNames [Ljava/lang/String;
3 4 3 configName Ljava/lang/String;
MethodParameters:
Name Flags
binder
private void validateConfigName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "*"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: aload 1
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/StandardConfigDataLocationResolver.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic org.springframework.util.Assert.state:(ZLjava/util/function/Supplier;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public int getOrder();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 2147483647
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
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/StandardConfigDataLocationResolver;
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.StandardConfigDataResource> 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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getReferences:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/Set;
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.resolve:(Ljava/util/Set;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 1 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 1 2 location Lorg/springframework/boot/context/config/ConfigDataLocation;
Exceptions:
throws org.springframework.boot.context.config.ConfigDataNotFoundException
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
MethodParameters:
Name Flags
context
location
private java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference> getReferences(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/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getResourceLocation:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.isDirectory:(Ljava/lang/String;)Z
ifeq 4
2: aload 0
aload 2
aload 3
getstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.NO_PROFILE:Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getReferencesForDirectory:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
3: areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
aload 3
getstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.NO_PROFILE:Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getReferencesForFile:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
5: areturn
6: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 4
start local 4 7: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unable to load config data from '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 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/StandardConfigDataLocationResolver;
0 8 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 8 2 configDataLocation Lorg/springframework/boot/context/config/ConfigDataLocation;
1 8 3 resourceLocation Ljava/lang/String;
7 8 4 ex Ljava/lang/RuntimeException;
Exception table:
from to target type
1 3 6 Class java.lang.RuntimeException
4 5 6 Class java.lang.RuntimeException
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
MethodParameters:
Name Flags
context
configDataLocation
public java.util.List<org.springframework.boot.context.config.StandardConfigDataResource> resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.ConfigDataLocation, org.springframework.boot.context.config.Profiles);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;Lorg/springframework/boot/context/config/Profiles;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getProfileSpecificReferences:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;Lorg/springframework/boot/context/config/Profiles;)Ljava/util/Set;
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.resolve:(Ljava/util/Set;)Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 1 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 1 2 location Lorg/springframework/boot/context/config/ConfigDataLocation;
0 1 3 profiles Lorg/springframework/boot/context/config/Profiles;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;Lorg/springframework/boot/context/config/Profiles;)Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
MethodParameters:
Name Flags
context
location
profiles
private java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference> getProfileSpecificReferences(org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.ConfigDataLocation, org.springframework.boot.context.config.Profiles);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;Lorg/springframework/boot/context/config/Profiles;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 4
start local 4 1: aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getResourceLocation:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/lang/String;
astore 5
start local 5 2: aload 3
invokevirtual org.springframework.boot.context.config.Profiles.iterator:()Ljava/util/Iterator;
astore 7
goto 5
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocationResolverContext org.springframework.boot.context.config.ConfigDataLocation org.springframework.boot.context.config.Profiles java.util.Set java.lang.String top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 4: aload 4
aload 0
aload 2
aload 5
aload 6
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getReferences:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 6 5: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 4
areturn
end local 5 end local 4 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/context/config/StandardConfigDataLocationResolver;
0 7 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 7 2 configDataLocation Lorg/springframework/boot/context/config/ConfigDataLocation;
0 7 3 profiles Lorg/springframework/boot/context/config/Profiles;
1 7 4 references Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
2 7 5 resourceLocation Ljava/lang/String;
4 5 6 profile Ljava/lang/String;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;Lorg/springframework/boot/context/config/Profiles;)Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
MethodParameters:
Name Flags
context
configDataLocation
profiles
private java.lang.String getResourceLocation(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/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "resource:"
invokevirtual org.springframework.boot.context.config.ConfigDataLocation.getNonPrefixedValue:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
getstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.URL_PREFIX:Ljava/util/regex/Pattern;
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 2
iconst_0
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: iload 4
ifeq 6
5: aload 3
areturn
6: StackMap locals: int
StackMap stack:
aload 1
invokeinterface org.springframework.boot.context.config.ConfigDataLocationResolverContext.getParent:()Lorg/springframework/boot/context/config/ConfigDataResource;
astore 5
start local 5 7: aload 5
instanceof org.springframework.boot.context.config.StandardConfigDataResource
ifeq 11
8: aload 5
checkcast org.springframework.boot.context.config.StandardConfigDataResource
invokevirtual org.springframework.boot.context.config.StandardConfigDataResource.getReference:()Lorg/springframework/boot/context/config/StandardConfigDataReference;
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.getResourceLocation:()Ljava/lang/String;
astore 6
start local 6 9: aload 6
iconst_0
aload 6
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 10: new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 end local 6 11: StackMap locals: org.springframework.boot.context.config.ConfigDataResource
StackMap stack:
aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 12 1 context Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 12 2 configDataLocation Lorg/springframework/boot/context/config/ConfigDataLocation;
1 12 3 resourceLocation Ljava/lang/String;
4 12 4 isAbsolute Z
7 12 5 parent Lorg/springframework/boot/context/config/ConfigDataResource;
9 11 6 parentResourceLocation Ljava/lang/String;
10 11 7 parentDirectory Ljava/lang/String;
MethodParameters:
Name Flags
context
configDataLocation
private java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference> getReferences(org.springframework.boot.context.config.ConfigDataLocation, java.lang.String, java.lang.String);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.isDirectory:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getReferencesForDirectory:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getReferencesForFile:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 3 1 configDataLocation Lorg/springframework/boot/context/config/ConfigDataLocation;
0 3 2 resourceLocation Ljava/lang/String;
0 3 3 profile Ljava/lang/String;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
MethodParameters:
Name Flags
configDataLocation
resourceLocation
profile
private java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference> getReferencesForDirectory(org.springframework.boot.context.config.ConfigDataLocation, java.lang.String, java.lang.String);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 4
start local 4 1: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.configNames:[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.Set top int int java.lang.String[]
StackMap stack:
2: aload 8
iload 6
aaload
astore 5
start local 5 3: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.propertySourceLoaders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 13
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.Set java.lang.String int int java.lang.String[] top java.util.Iterator
StackMap stack:
4: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.env.PropertySourceLoader
astore 9
start local 9 5: aload 9
invokeinterface org.springframework.boot.env.PropertySourceLoader.getFileExtensions:()[Ljava/lang/String;
dup
astore 14
arraylength
istore 13
iconst_0
istore 12
goto 12
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.Set java.lang.String int int java.lang.String[] org.springframework.boot.env.PropertySourceLoader java.util.Iterator top int int java.lang.String[]
StackMap stack:
6: aload 14
iload 12
aaload
astore 11
start local 11 7: new org.springframework.boot.context.config.StandardConfigDataReference
dup
aload 1
8: aload 2
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
aload 11
aload 9
9: invokespecial org.springframework.boot.context.config.StandardConfigDataReference.<init>:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/springframework/boot/env/PropertySourceLoader;)V
astore 15
start local 15 10: aload 4
aload 15
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 15 end local 11 11: iinc 12 1
StackMap locals:
StackMap stack:
12: iload 12
iload 13
if_icmplt 6
end local 9 13: StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.Set java.lang.String int int java.lang.String[] top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 5 14: iinc 6 1
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.Set top int int java.lang.String[]
StackMap stack:
15: iload 6
iload 7
if_icmplt 2
16: 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 17 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 17 1 configDataLocation Lorg/springframework/boot/context/config/ConfigDataLocation;
0 17 2 directory Ljava/lang/String;
0 17 3 profile Ljava/lang/String;
1 17 4 references Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
3 14 5 name Ljava/lang/String;
5 13 9 propertySourceLoader Lorg/springframework/boot/env/PropertySourceLoader;
7 11 11 extension Ljava/lang/String;
10 11 15 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
MethodParameters:
Name Flags
configDataLocation
directory
profile
private java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference> getReferencesForFile(org.springframework.boot.context.config.ConfigDataLocation, java.lang.String, java.lang.String);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.springframework.boot.context.config.StandardConfigDataLocationResolver.EXTENSION_HINT_PATTERN:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 4
start local 4 1: aload 4
invokevirtual java.util.regex.Matcher.matches:()Z
istore 5
start local 5 2: iload 5
ifeq 4
3: new java.lang.StringBuilder
dup
aload 4
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
4: StackMap locals: java.util.regex.Matcher int
StackMap stack:
aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.propertySourceLoaders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 15
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.regex.Matcher int top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.env.PropertySourceLoader
astore 6
start local 6 6: aload 0
aload 6
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.getLoadableFileExtension:(Lorg/springframework/boot/env/PropertySourceLoader;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 7: aload 8
ifnull 15
8: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
aload 8
invokevirtual java.lang.String.length:()I
isub
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
start local 9 9: new org.springframework.boot.context.config.StandardConfigDataReference
dup
aload 1
aconst_null
aload 9
10: aload 3
iload 5
ifne 11
aload 8
goto 12
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.regex.Matcher int org.springframework.boot.env.PropertySourceLoader java.util.Iterator java.lang.String java.lang.String
StackMap stack: new 9 new 9 org.springframework.boot.context.config.ConfigDataLocation null java.lang.String java.lang.String
11: aconst_null
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.regex.Matcher int org.springframework.boot.env.PropertySourceLoader java.util.Iterator java.lang.String java.lang.String
StackMap stack: new 9 new 9 org.springframework.boot.context.config.ConfigDataLocation null java.lang.String java.lang.String java.lang.String
12: aload 6
13: invokespecial org.springframework.boot.context.config.StandardConfigDataReference.<init>:(Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/springframework/boot/env/PropertySourceLoader;)V
astore 10
start local 10 14: aload 10
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
end local 10 end local 9 end local 8 end local 6 15: StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.ConfigDataLocation java.lang.String java.lang.String java.util.regex.Matcher int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
16: new java.lang.IllegalStateException
dup
ldc "File extension is not known to any PropertySourceLoader. If the location is meant to reference a directory, it must end in '/'"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 17 1 configDataLocation Lorg/springframework/boot/context/config/ConfigDataLocation;
0 17 2 file Ljava/lang/String;
0 17 3 profile Ljava/lang/String;
1 17 4 extensionHintMatcher Ljava/util/regex/Matcher;
2 17 5 extensionHintLocation Z
6 15 6 propertySourceLoader Lorg/springframework/boot/env/PropertySourceLoader;
7 15 8 extension Ljava/lang/String;
9 15 9 root Ljava/lang/String;
14 15 10 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocation;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
MethodParameters:
Name Flags
configDataLocation
file
profile
private java.lang.String getLoadableFileExtension(org.springframework.boot.env.PropertySourceLoader, java.lang.String);
descriptor: (Lorg/springframework/boot/env/PropertySourceLoader;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.springframework.boot.env.PropertySourceLoader.getFileExtensions:()[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.env.PropertySourceLoader java.lang.String top int int java.lang.String[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 2
aload 3
invokestatic org.springframework.util.StringUtils.endsWithIgnoreCase:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 4
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 1
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 7 1 loader Lorg/springframework/boot/env/PropertySourceLoader;
0 7 2 file Ljava/lang/String;
2 4 3 fileExtension Ljava/lang/String;
MethodParameters:
Name Flags
loader
file
private boolean isDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 1 1 resourceLocation Ljava/lang/String;
MethodParameters:
Name Flags
resourceLocation
private java.util.List<org.springframework.boot.context.config.StandardConfigDataResource> resolve(java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference>);
descriptor: (Ljava/util/Set;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver java.util.Set java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.context.config.StandardConfigDataReference
astore 3
start local 3 3: aload 2
aload 0
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.resolve:(Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
6: aload 0
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.assertNonOptionalDirectories:(Ljava/util/Set;)V
7: StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver java.util.Set java.util.List
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 8 1 references Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
1 8 2 resolved Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
3 4 3 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
Signature: (Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;)Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
MethodParameters:
Name Flags
references
private void assertNonOptionalDirectories(java.util.Set<org.springframework.boot.context.config.StandardConfigDataReference>);
descriptor: (Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver java.util.Set top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.context.config.StandardConfigDataReference
astore 2
start local 2 2: aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.isNonOptionalDirectory:()Z
ifeq 4
3: aload 0
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.assertDirectoryExists:(Lorg/springframework/boot/context/config/StandardConfigDataReference;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 6 1 references Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;
2 4 2 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
Signature: (Ljava/util/Set<Lorg/springframework/boot/context/config/StandardConfigDataReference;>;)V
MethodParameters:
Name Flags
references
private void assertDirectoryExists(org.springframework.boot.context.config.StandardConfigDataReference);
descriptor: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.getDirectory:()Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.LocationResourceLoader.getResource:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;
astore 2
start local 2 1: aload 2
instanceof org.springframework.core.io.ClassPathResource
ifne 4
2: new org.springframework.boot.context.config.StandardConfigDataResource
dup
aload 1
aload 2
invokespecial org.springframework.boot.context.config.StandardConfigDataResource.<init>:(Lorg/springframework/boot/context/config/StandardConfigDataReference;Lorg/springframework/core/io/Resource;)V
astore 3
start local 3 3: aload 3
aload 2
invokestatic org.springframework.boot.context.config.ConfigDataResourceNotFoundException.throwIfDoesNotExist:(Lorg/springframework/boot/context/config/ConfigDataResource;Lorg/springframework/core/io/Resource;)V
end local 3 4: StackMap locals: org.springframework.core.io.Resource
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 5 1 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
1 5 2 resource Lorg/springframework/core/io/Resource;
3 4 3 configDataResource Lorg/springframework/boot/context/config/StandardConfigDataResource;
MethodParameters:
Name Flags
reference
private java.util.List<org.springframework.boot.context.config.StandardConfigDataResource> resolve(org.springframework.boot.context.config.StandardConfigDataReference);
descriptor: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.getResourceLocation:()Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.LocationResourceLoader.isPattern:(Ljava/lang/String;)Z
ifne 2
1: aload 0
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.resolveNonPattern:(Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.resolvePattern:(Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 3 1 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
Signature: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
MethodParameters:
Name Flags
reference
private java.util.List<org.springframework.boot.context.config.StandardConfigDataResource> resolveNonPattern(org.springframework.boot.context.config.StandardConfigDataReference);
descriptor: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.getResourceLocation:()Ljava/lang/String;
invokevirtual org.springframework.boot.context.config.LocationResourceLoader.getResource:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;
astore 2
start local 2 1: aload 2
invokeinterface org.springframework.core.io.Resource.exists:()Z
ifne 4
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.isSkippable:()Z
ifeq 4
2: aload 0
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.logSkippingResource:(Lorg/springframework/boot/context/config/StandardConfigDataReference;)V
3: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
4: StackMap locals: org.springframework.core.io.Resource
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.createConfigResourceLocation:(Lorg/springframework/boot/context/config/StandardConfigDataReference;Lorg/springframework/core/io/Resource;)Lorg/springframework/boot/context/config/StandardConfigDataResource;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 5 1 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
1 5 2 resource Lorg/springframework/core/io/Resource;
Signature: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
MethodParameters:
Name Flags
reference
private java.util.List<org.springframework.boot.context.config.StandardConfigDataResource> resolvePattern(org.springframework.boot.context.config.StandardConfigDataReference);
descriptor: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.resourceLoader:Lorg/springframework/boot/context/config/LocationResourceLoader;
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.getResourceLocation:()Ljava/lang/String;
getstatic org.springframework.boot.context.config.LocationResourceLoader$ResourceType.FILE: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;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.StandardConfigDataReference java.util.List top int int org.springframework.core.io.Resource[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
invokeinterface org.springframework.core.io.Resource.exists:()Z
ifne 6
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataReference.isSkippable:()Z
ifeq 6
4: aload 0
aload 1
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.logSkippingResource:(Lorg/springframework/boot/context/config/StandardConfigDataReference;)V
5: goto 7
6: StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.StandardConfigDataReference java.util.List org.springframework.core.io.Resource int int org.springframework.core.io.Resource[]
StackMap stack:
aload 2
aload 0
aload 1
aload 3
invokevirtual org.springframework.boot.context.config.StandardConfigDataLocationResolver.createConfigResourceLocation:(Lorg/springframework/boot/context/config/StandardConfigDataReference;Lorg/springframework/core/io/Resource;)Lorg/springframework/boot/context/config/StandardConfigDataResource;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals: org.springframework.boot.context.config.StandardConfigDataLocationResolver org.springframework.boot.context.config.StandardConfigDataReference java.util.List top int int org.springframework.core.io.Resource[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 2
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 10 1 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
1 10 2 resolved Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
3 7 3 resource Lorg/springframework/core/io/Resource;
Signature: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)Ljava/util/List<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;
MethodParameters:
Name Flags
reference
private void logSkippingResource(org.springframework.boot.context.config.StandardConfigDataReference);
descriptor: (Lorg/springframework/boot/context/config/StandardConfigDataReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.context.config.StandardConfigDataLocationResolver.logger:Lorg/apache/commons/logging/Log;
ldc "Skipping missing resource %s"
aload 1
invokestatic org.springframework.core.log.LogMessage.format:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/core/log/LogMessage;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 2 1 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
MethodParameters:
Name Flags
reference
private org.springframework.boot.context.config.StandardConfigDataResource createConfigResourceLocation(org.springframework.boot.context.config.StandardConfigDataReference, org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/boot/context/config/StandardConfigDataReference;Lorg/springframework/core/io/Resource;)Lorg/springframework/boot/context/config/StandardConfigDataResource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.boot.context.config.StandardConfigDataResource
dup
aload 1
aload 2
invokespecial org.springframework.boot.context.config.StandardConfigDataResource.<init>:(Lorg/springframework/boot/context/config/StandardConfigDataReference;Lorg/springframework/core/io/Resource;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/StandardConfigDataLocationResolver;
0 1 1 reference Lorg/springframework/boot/context/config/StandardConfigDataReference;
0 1 2 resource Lorg/springframework/core/io/Resource;
MethodParameters:
Name Flags
reference
resource
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=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "Config name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' cannot contain '*'"
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: Ljava/lang/Object;Lorg/springframework/boot/context/config/ConfigDataLocationResolver<Lorg/springframework/boot/context/config/StandardConfigDataResource;>;Lorg/springframework/core/Ordered;
SourceFile: "StandardConfigDataLocationResolver.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