class org.springframework.boot.context.config.ConfigDataLoaders
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.config.ConfigDataLoaders
super_class: java.lang.Object
{
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.context.config.ConfigDataLoader<?>> loaders;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLoader<*>;>;
private final java.util.List<java.lang.Class<?>> resourceTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Class<*>;>;
void <init>(org.springframework.boot.logging.DeferredLogFactory, org.springframework.boot.ConfigurableBootstrapContext);
descriptor: (Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;)V
flags: (0x0000)
Code:
stack=5, 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/context/config/ConfigDataLoader;
aconst_null
invokestatic org.springframework.core.io.support.SpringFactoriesLoader.loadFactoryNames:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/List;
invokespecial org.springframework.boot.context.config.ConfigDataLoaders.<init>:(Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;Ljava/util/List;)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/context/config/ConfigDataLoaders;
0 2 1 logFactory Lorg/springframework/boot/logging/DeferredLogFactory;
0 2 2 bootstrapContext Lorg/springframework/boot/ConfigurableBootstrapContext;
MethodParameters:
Name Flags
logFactory
bootstrapContext
void <init>(org.springframework.boot.logging.DeferredLogFactory, org.springframework.boot.ConfigurableBootstrapContext, java.util.List<java.lang.String>);
descriptor: (Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=5, 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
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.springframework.boot.logging.DeferredLogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.boot.context.config.ConfigDataLoaders.logger:Lorg/apache/commons/logging/Log;
2: new org.springframework.boot.util.Instantiator
dup
ldc Lorg/springframework/boot/context/config/ConfigDataLoader;
3: aload 1
aload 2
invokedynamic accept(Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;)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/context/config/ConfigDataLoaders.lambda$0(Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;Lorg/springframework/boot/util/Instantiator$AvailableParameters;)V (6)
(Lorg/springframework/boot/util/Instantiator$AvailableParameters;)V
4: invokespecial org.springframework.boot.util.Instantiator.<init>:(Ljava/lang/Class;Ljava/util/function/Consumer;)V
astore 4
start local 4 5: aload 0
aload 4
aload 3
invokevirtual org.springframework.boot.util.Instantiator.instantiate:(Ljava/util/Collection;)Ljava/util/List;
putfield org.springframework.boot.context.config.ConfigDataLoaders.loaders:Ljava/util/List;
6: aload 0
aload 0
aload 0
getfield org.springframework.boot.context.config.ConfigDataLoaders.loaders:Ljava/util/List;
invokevirtual org.springframework.boot.context.config.ConfigDataLoaders.getResourceTypes:(Ljava/util/List;)Ljava/util/List;
putfield org.springframework.boot.context.config.ConfigDataLoaders.resourceTypes:Ljava/util/List;
7: return
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/ConfigDataLoaders;
0 8 1 logFactory Lorg/springframework/boot/logging/DeferredLogFactory;
0 8 2 bootstrapContext Lorg/springframework/boot/ConfigurableBootstrapContext;
0 8 3 names Ljava/util/List<Ljava/lang/String;>;
5 8 4 instantiator Lorg/springframework/boot/util/Instantiator<Lorg/springframework/boot/context/config/ConfigDataLoader<*>;>;
Signature: (Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
logFactory
bootstrapContext
names
private java.util.List<java.lang.Class<?>> getResourceTypes(java.util.List<org.springframework.boot.context.config.ConfigDataLoader<?>>);
descriptor: (Ljava/util/List;)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
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.springframework.boot.context.config.ConfigDataLoaders java.util.List 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.ConfigDataLoader
astore 3
start local 3 3: aload 2
aload 0
aload 3
invokevirtual org.springframework.boot.context.config.ConfigDataLoaders.getResourceType:(Lorg/springframework/boot/context/config/ConfigDataLoader;)Ljava/lang/Class;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/config/ConfigDataLoaders;
0 6 1 loaders Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLoader<*>;>;
1 6 2 resourceTypes Ljava/util/List<Ljava/lang/Class<*>;>;
3 4 3 loader Lorg/springframework/boot/context/config/ConfigDataLoader<*>;
Signature: (Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLoader<*>;>;)Ljava/util/List<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
loaders
private java.lang.Class<?> getResourceType(org.springframework.boot.context.config.ConfigDataLoader<?>);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLoader;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.springframework.core.ResolvableType.forClass:(Ljava/lang/Class;)Lorg/springframework/core/ResolvableType;
ldc Lorg/springframework/boot/context/config/ConfigDataLoader;
invokevirtual org.springframework.core.ResolvableType.as:(Ljava/lang/Class;)Lorg/springframework/core/ResolvableType;
iconst_0
newarray 10
invokevirtual org.springframework.core.ResolvableType.resolveGeneric:([I)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/ConfigDataLoaders;
0 1 1 loader Lorg/springframework/boot/context/config/ConfigDataLoader<*>;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLoader<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
loader
<R extends org.springframework.boot.context.config.ConfigDataResource> org.springframework.boot.context.config.ConfigData load(org.springframework.boot.context.config.ConfigDataLoaderContext, R);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Lorg/springframework/boot/context/config/ConfigDataResource;)Lorg/springframework/boot/context/config/ConfigData;
flags: (0x0000)
Code:
stack=3, locals=4, 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.ConfigDataLoaders.getLoader:(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Lorg/springframework/boot/context/config/ConfigDataResource;)Lorg/springframework/boot/context/config/ConfigDataLoader;
astore 3
start local 3 1: aload 0
getfield org.springframework.boot.context.config.ConfigDataLoaders.logger:Lorg/apache/commons/logging/Log;
aload 2
aload 3
invokedynamic get(Lorg/springframework/boot/context/config/ConfigDataResource;Lorg/springframework/boot/context/config/ConfigDataLoader;)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/ConfigDataLoaders.lambda$2(Lorg/springframework/boot/context/config/ConfigDataResource;Lorg/springframework/boot/context/config/ConfigDataLoader;)Ljava/lang/CharSequence; (6)
()Ljava/lang/CharSequence;
invokestatic org.springframework.core.log.LogMessage.of:(Ljava/util/function/Supplier;)Lorg/springframework/core/log/LogMessage;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
2: aload 3
aload 1
aload 2
invokeinterface org.springframework.boot.context.config.ConfigDataLoader.load:(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Lorg/springframework/boot/context/config/ConfigDataResource;)Lorg/springframework/boot/context/config/ConfigData;
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/ConfigDataLoaders;
0 3 1 context Lorg/springframework/boot/context/config/ConfigDataLoaderContext;
0 3 2 resource TR;
1 3 3 loader Lorg/springframework/boot/context/config/ConfigDataLoader<TR;>;
Exceptions:
throws java.io.IOException
Signature: <R:Lorg/springframework/boot/context/config/ConfigDataResource;>(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;TR;)Lorg/springframework/boot/context/config/ConfigData;
MethodParameters:
Name Flags
context
resource
private <R extends org.springframework.boot.context.config.ConfigDataResource> org.springframework.boot.context.config.ConfigDataLoader<R> getLoader(org.springframework.boot.context.config.ConfigDataLoaderContext, R);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Lorg/springframework/boot/context/config/ConfigDataResource;)Lorg/springframework/boot/context/config/ConfigDataLoader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 13
3: StackMap locals: org.springframework.boot.context.config.ConfigDataLoader int
StackMap stack:
aload 0
getfield org.springframework.boot.context.config.ConfigDataLoaders.loaders:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.boot.context.config.ConfigDataLoader
astore 5
start local 5 4: aload 0
getfield org.springframework.boot.context.config.ConfigDataLoaders.resourceTypes:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Class
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 12
5: aload 5
astore 6
start local 6 6: aload 6
aload 1
aload 2
invokeinterface org.springframework.boot.context.config.ConfigDataLoader.isLoadable:(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Lorg/springframework/boot/context/config/ConfigDataResource;)Z
ifeq 12
7: aload 3
ifnull 11
8: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Multiple loaders found for resource '"
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;
9: aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.springframework.boot.context.config.ConfigDataLoader org.springframework.boot.context.config.ConfigDataLoader
StackMap stack:
aload 6
astore 3
end local 6 end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 0
getfield org.springframework.boot.context.config.ConfigDataLoaders.loaders:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 4 14: aload 3
ifnull 15
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: aload 2
invokedynamic get(Lorg/springframework/boot/context/config/ConfigDataResource;)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/ConfigDataLoaders.lambda$3(Lorg/springframework/boot/context/config/ConfigDataResource;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic org.springframework.util.Assert.state:(ZLjava/util/function/Supplier;)V
17: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/springframework/boot/context/config/ConfigDataLoaders;
0 18 1 context Lorg/springframework/boot/context/config/ConfigDataLoaderContext;
0 18 2 resource TR;
1 18 3 result Lorg/springframework/boot/context/config/ConfigDataLoader<TR;>;
2 14 4 i I
4 12 5 candidate Lorg/springframework/boot/context/config/ConfigDataLoader<*>;
6 12 6 loader Lorg/springframework/boot/context/config/ConfigDataLoader<TR;>;
Signature: <R:Lorg/springframework/boot/context/config/ConfigDataResource;>(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;TR;)Lorg/springframework/boot/context/config/ConfigDataLoader<TR;>;
MethodParameters:
Name Flags
context
resource
private static void lambda$0(org.springframework.boot.logging.DeferredLogFactory, org.springframework.boot.ConfigurableBootstrapContext, org.springframework.boot.util.Instantiator$AvailableParameters);
descriptor: (Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/ConfigurableBootstrapContext;Lorg/springframework/boot/util/Instantiator$AvailableParameters;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 2 0: aload 2
ldc Lorg/apache/commons/logging/Log;
aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Lorg/springframework/boot/logging/DeferredLogFactory;)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/logging/DeferredLogFactory.getLog(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; (9 itf)
(Ljava/lang/Class;)Ljava/lang/Object;
invokeinterface org.springframework.boot.util.Instantiator$AvailableParameters.add:(Ljava/lang/Class;Ljava/util/function/Function;)V
1: aload 2
ldc Lorg/springframework/boot/ConfigurableBootstrapContext;
aload 1
invokeinterface org.springframework.boot.util.Instantiator$AvailableParameters.add:(Ljava/lang/Class;Ljava/lang/Object;)V
2: aload 2
ldc Lorg/springframework/boot/BootstrapContext;
aload 1
invokeinterface org.springframework.boot.util.Instantiator$AvailableParameters.add:(Ljava/lang/Class;Ljava/lang/Object;)V
3: aload 2
ldc Lorg/springframework/boot/BootstrapRegistry;
aload 1
invokeinterface org.springframework.boot.util.Instantiator$AvailableParameters.add:(Ljava/lang/Class;Ljava/lang/Object;)V
4: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 availableParameters Lorg/springframework/boot/util/Instantiator$AvailableParameters;
private static java.lang.CharSequence lambda$2(org.springframework.boot.context.config.ConfigDataResource, org.springframework.boot.context.config.ConfigDataLoader);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataResource;Lorg/springframework/boot/context/config/ConfigDataLoader;)Ljava/lang/CharSequence;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.StringBuilder
dup
ldc "Loading "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " using loader "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
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$3(org.springframework.boot.context.config.ConfigDataResource);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataResource;)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 "No loader found for resource '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ConfigDataLoaders.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract AvailableParameters = org.springframework.boot.util.Instantiator$AvailableParameters of org.springframework.boot.util.Instantiator