class org.springframework.boot.context.config.ConfigDataImporter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.config.ConfigDataImporter
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 org.springframework.boot.context.config.ConfigDataLocationResolvers resolvers;
descriptor: Lorg/springframework/boot/context/config/ConfigDataLocationResolvers;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.boot.context.config.ConfigDataLoaders loaders;
descriptor: Lorg/springframework/boot/context/config/ConfigDataLoaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.boot.context.config.ConfigDataNotFoundAction notFoundAction;
descriptor: Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<org.springframework.boot.context.config.ConfigDataResource> loaded;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/springframework/boot/context/config/ConfigDataResource;>;
void <init>(org.springframework.boot.logging.DeferredLogFactory, org.springframework.boot.context.config.ConfigDataNotFoundAction, org.springframework.boot.context.config.ConfigDataLocationResolvers, org.springframework.boot.context.config.ConfigDataLoaders);
descriptor: (Lorg/springframework/boot/logging/DeferredLogFactory;Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;Lorg/springframework/boot/context/config/ConfigDataLocationResolvers;Lorg/springframework/boot/context/config/ConfigDataLoaders;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.springframework.boot.context.config.ConfigDataImporter.loaded:Ljava/util/Set;
2: 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.ConfigDataImporter.logger:Lorg/apache/commons/logging/Log;
3: aload 0
aload 3
putfield org.springframework.boot.context.config.ConfigDataImporter.resolvers:Lorg/springframework/boot/context/config/ConfigDataLocationResolvers;
4: aload 0
aload 4
putfield org.springframework.boot.context.config.ConfigDataImporter.loaders:Lorg/springframework/boot/context/config/ConfigDataLoaders;
5: aload 0
aload 2
putfield org.springframework.boot.context.config.ConfigDataImporter.notFoundAction:Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
6: return
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/ConfigDataImporter;
0 7 1 logFactory Lorg/springframework/boot/logging/DeferredLogFactory;
0 7 2 notFoundAction Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
0 7 3 resolvers Lorg/springframework/boot/context/config/ConfigDataLocationResolvers;
0 7 4 loaders Lorg/springframework/boot/context/config/ConfigDataLoaders;
MethodParameters:
Name Flags
logFactory
notFoundAction
resolvers
loaders
java.util.Map<org.springframework.boot.context.config.ConfigDataResolutionResult, org.springframework.boot.context.config.ConfigData> resolveAndLoad(org.springframework.boot.context.config.ConfigDataActivationContext, org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.ConfigDataLoaderContext, java.util.List<org.springframework.boot.context.config.ConfigDataLocation>);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataActivationContext;Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Ljava/util/List;)Ljava/util/Map;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
aload 1
invokevirtual org.springframework.boot.context.config.ConfigDataActivationContext.getProfiles:()Lorg/springframework/boot/context/config/Profiles;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.springframework.boot.context.config.Profiles
2: astore 5
start local 5 3: aload 0
aload 2
aload 5
aload 4
invokevirtual org.springframework.boot.context.config.ConfigDataImporter.resolve:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/Profiles;Ljava/util/List;)Ljava/util/List;
astore 6
start local 6 4: aload 0
aload 3
aload 6
invokevirtual org.springframework.boot.context.config.ConfigDataImporter.load:(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Ljava/util/List;)Ljava/util/Map;
5: areturn
end local 6 end local 5 6: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 7: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "IO error on loading imports from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)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 8 0 this Lorg/springframework/boot/context/config/ConfigDataImporter;
0 8 1 activationContext Lorg/springframework/boot/context/config/ConfigDataActivationContext;
0 8 2 locationResolverContext Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 8 3 loaderContext Lorg/springframework/boot/context/config/ConfigDataLoaderContext;
0 8 4 locations Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLocation;>;
3 6 5 profiles Lorg/springframework/boot/context/config/Profiles;
4 6 6 resolved Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;>;
7 8 5 ex Ljava/io/IOException;
Exception table:
from to target type
0 5 6 Class java.io.IOException
Signature: (Lorg/springframework/boot/context/config/ConfigDataActivationContext;Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLocation;>;)Ljava/util/Map<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;Lorg/springframework/boot/context/config/ConfigData;>;
MethodParameters:
Name Flags
activationContext
locationResolverContext
loaderContext
locations
private java.util.List<org.springframework.boot.context.config.ConfigDataResolutionResult> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.Profiles, java.util.List<org.springframework.boot.context.config.ConfigDataLocation>);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/Profiles;Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.ArrayList
dup
aload 3
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 1: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 4
StackMap locals: org.springframework.boot.context.config.ConfigDataImporter org.springframework.boot.context.config.ConfigDataLocationResolverContext org.springframework.boot.context.config.Profiles java.util.List java.util.List top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.context.config.ConfigDataLocation
astore 5
start local 5 3: aload 4
aload 0
aload 1
aload 2
aload 5
invokevirtual org.springframework.boot.context.config.ConfigDataImporter.resolve:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/Profiles;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 5 4: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 4
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/config/ConfigDataImporter;
0 6 1 locationResolverContext Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 6 2 profiles Lorg/springframework/boot/context/config/Profiles;
0 6 3 locations Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLocation;>;
1 6 4 resolved Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;>;
3 4 5 location Lorg/springframework/boot/context/config/ConfigDataLocation;
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/Profiles;Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataLocation;>;)Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;>;
MethodParameters:
Name Flags
locationResolverContext
profiles
locations
private java.util.List<org.springframework.boot.context.config.ConfigDataResolutionResult> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext, org.springframework.boot.context.config.Profiles, org.springframework.boot.context.config.ConfigDataLocation);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/Profiles;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.boot.context.config.ConfigDataImporter.resolvers:Lorg/springframework/boot/context/config/ConfigDataLocationResolvers;
aload 1
aload 3
aload 2
invokevirtual org.springframework.boot.context.config.ConfigDataLocationResolvers.resolve:(Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/ConfigDataLocation;Lorg/springframework/boot/context/config/Profiles;)Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: org.springframework.boot.context.config.ConfigDataNotFoundException
astore 4
start local 4 3: aload 0
aload 4
aload 3
invokevirtual org.springframework.boot.context.config.ConfigDataImporter.handle:(Lorg/springframework/boot/context/config/ConfigDataNotFoundException;Lorg/springframework/boot/context/config/ConfigDataLocation;)V
4: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/config/ConfigDataImporter;
0 5 1 locationResolverContext Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;
0 5 2 profiles Lorg/springframework/boot/context/config/Profiles;
0 5 3 location Lorg/springframework/boot/context/config/ConfigDataLocation;
3 5 4 ex Lorg/springframework/boot/context/config/ConfigDataNotFoundException;
Exception table:
from to target type
0 1 2 Class org.springframework.boot.context.config.ConfigDataNotFoundException
Signature: (Lorg/springframework/boot/context/config/ConfigDataLocationResolverContext;Lorg/springframework/boot/context/config/Profiles;Lorg/springframework/boot/context/config/ConfigDataLocation;)Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;>;
MethodParameters:
Name Flags
locationResolverContext
profiles
location
private java.util.Map<org.springframework.boot.context.config.ConfigDataResolutionResult, org.springframework.boot.context.config.ConfigData> load(org.springframework.boot.context.config.ConfigDataLoaderContext, java.util.List<org.springframework.boot.context.config.ConfigDataResolutionResult>);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Ljava/util/List;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 3
start local 3 1: aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 4
start local 4 2: goto 14
3: StackMap locals: java.util.Map int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.boot.context.config.ConfigDataResolutionResult
astore 5
start local 5 4: aload 5
invokevirtual org.springframework.boot.context.config.ConfigDataResolutionResult.getLocation:()Lorg/springframework/boot/context/config/ConfigDataLocation;
astore 6
start local 6 5: aload 5
invokevirtual org.springframework.boot.context.config.ConfigDataResolutionResult.getResource:()Lorg/springframework/boot/context/config/ConfigDataResource;
astore 7
start local 7 6: aload 0
getfield org.springframework.boot.context.config.ConfigDataImporter.loaded:Ljava/util/Set;
aload 7
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 13
7: aload 0
getfield org.springframework.boot.context.config.ConfigDataImporter.loaders:Lorg/springframework/boot/context/config/ConfigDataLoaders;
aload 1
aload 7
invokevirtual org.springframework.boot.context.config.ConfigDataLoaders.load:(Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Lorg/springframework/boot/context/config/ConfigDataResource;)Lorg/springframework/boot/context/config/ConfigData;
astore 8
start local 8 8: aload 8
ifnull 13
9: aload 3
aload 5
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 10: goto 13
11: StackMap locals: org.springframework.boot.context.config.ConfigDataImporter org.springframework.boot.context.config.ConfigDataLoaderContext java.util.List java.util.Map int org.springframework.boot.context.config.ConfigDataResolutionResult org.springframework.boot.context.config.ConfigDataLocation org.springframework.boot.context.config.ConfigDataResource
StackMap stack: org.springframework.boot.context.config.ConfigDataNotFoundException
astore 8
start local 8 12: aload 0
aload 8
aload 6
invokevirtual org.springframework.boot.context.config.ConfigDataImporter.handle:(Lorg/springframework/boot/context/config/ConfigDataNotFoundException;Lorg/springframework/boot/context/config/ConfigDataLocation;)V
end local 8 end local 7 end local 6 end local 5 13: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
14: iload 4
ifge 3
end local 4 15: aload 3
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/springframework/boot/context/config/ConfigDataImporter;
0 16 1 loaderContext Lorg/springframework/boot/context/config/ConfigDataLoaderContext;
0 16 2 candidates Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;>;
1 16 3 result Ljava/util/Map<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;Lorg/springframework/boot/context/config/ConfigData;>;
2 15 4 i I
4 13 5 candidate Lorg/springframework/boot/context/config/ConfigDataResolutionResult;
5 13 6 location Lorg/springframework/boot/context/config/ConfigDataLocation;
6 13 7 resource Lorg/springframework/boot/context/config/ConfigDataResource;
8 10 8 loaded Lorg/springframework/boot/context/config/ConfigData;
12 13 8 ex Lorg/springframework/boot/context/config/ConfigDataNotFoundException;
Exception table:
from to target type
7 10 11 Class org.springframework.boot.context.config.ConfigDataNotFoundException
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/boot/context/config/ConfigDataLoaderContext;Ljava/util/List<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;>;)Ljava/util/Map<Lorg/springframework/boot/context/config/ConfigDataResolutionResult;Lorg/springframework/boot/context/config/ConfigData;>;
MethodParameters:
Name Flags
loaderContext
candidates
private void handle(org.springframework.boot.context.config.ConfigDataNotFoundException, org.springframework.boot.context.config.ConfigDataLocation);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataNotFoundException;Lorg/springframework/boot/context/config/ConfigDataLocation;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.springframework.boot.context.config.ConfigDataResourceNotFoundException
ifeq 2
1: aload 1
checkcast org.springframework.boot.context.config.ConfigDataResourceNotFoundException
aload 2
invokevirtual org.springframework.boot.context.config.ConfigDataResourceNotFoundException.withLocation:(Lorg/springframework/boot/context/config/ConfigDataLocation;)Lorg/springframework/boot/context/config/ConfigDataResourceNotFoundException;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.springframework.boot.context.config.ConfigDataImporter.getNotFoundAction:(Lorg/springframework/boot/context/config/ConfigDataLocation;)Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
aload 0
getfield org.springframework.boot.context.config.ConfigDataImporter.logger:Lorg/apache/commons/logging/Log;
aload 1
invokevirtual org.springframework.boot.context.config.ConfigDataNotFoundAction.handle:(Lorg/apache/commons/logging/Log;Lorg/springframework/boot/context/config/ConfigDataNotFoundException;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/config/ConfigDataImporter;
0 4 1 ex Lorg/springframework/boot/context/config/ConfigDataNotFoundException;
0 4 2 location Lorg/springframework/boot/context/config/ConfigDataLocation;
MethodParameters:
Name Flags
ex
location
private org.springframework.boot.context.config.ConfigDataNotFoundAction getNotFoundAction(org.springframework.boot.context.config.ConfigDataLocation);
descriptor: (Lorg/springframework/boot/context/config/ConfigDataLocation;)Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.boot.context.config.ConfigDataLocation.isOptional:()Z
ifne 1
aload 0
getfield org.springframework.boot.context.config.ConfigDataImporter.notFoundAction:Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.springframework.boot.context.config.ConfigDataNotFoundAction.IGNORE:Lorg/springframework/boot/context/config/ConfigDataNotFoundAction;
StackMap locals:
StackMap stack: org.springframework.boot.context.config.ConfigDataNotFoundAction
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/ConfigDataImporter;
0 3 1 location Lorg/springframework/boot/context/config/ConfigDataLocation;
MethodParameters:
Name Flags
location
}
SourceFile: "ConfigDataImporter.java"