class org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.springframework.context.annotation.ScopeMetadataResolver scopeMetadataResolver;
descriptor: Lorg/springframework/context/annotation/ScopeMetadataResolver;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.springframework.beans.factory.support.BeanDefinitionRegistry registry;
descriptor: Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.beans.factory.parsing.SourceExtractor sourceExtractor;
descriptor: Lorg/springframework/beans/factory/parsing/SourceExtractor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.io.ResourceLoader resourceLoader;
descriptor: Lorg/springframework/core/io/ResourceLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.env.Environment environment;
descriptor: Lorg/springframework/core/env/Environment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.beans.factory.support.BeanNameGenerator importBeanNameGenerator;
descriptor: Lorg/springframework/beans/factory/support/BeanNameGenerator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.context.annotation.ImportRegistry importRegistry;
descriptor: Lorg/springframework/context/annotation/ImportRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.context.annotation.ConditionEvaluator conditionEvaluator;
descriptor: Lorg/springframework/context/annotation/ConditionEvaluator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
1: new org.springframework.context.annotation.AnnotationScopeMetadataResolver
dup
invokespecial org.springframework.context.annotation.AnnotationScopeMetadataResolver.<init>:()V
putstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.scopeMetadataResolver:Lorg/springframework/context/annotation/ScopeMetadataResolver;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.springframework.beans.factory.support.BeanDefinitionRegistry, org.springframework.beans.factory.parsing.SourceExtractor, org.springframework.core.io.ResourceLoader, org.springframework.core.env.Environment, org.springframework.beans.factory.support.BeanNameGenerator, org.springframework.context.annotation.ImportRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Lorg/springframework/beans/factory/parsing/SourceExtractor;Lorg/springframework/core/io/ResourceLoader;Lorg/springframework/core/env/Environment;Lorg/springframework/beans/factory/support/BeanNameGenerator;Lorg/springframework/context/annotation/ImportRegistry;)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
2: aload 0
aload 2
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.sourceExtractor:Lorg/springframework/beans/factory/parsing/SourceExtractor;
3: aload 0
aload 3
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
4: aload 0
aload 4
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.environment:Lorg/springframework/core/env/Environment;
5: aload 0
aload 5
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.importBeanNameGenerator:Lorg/springframework/beans/factory/support/BeanNameGenerator;
6: aload 0
aload 6
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.importRegistry:Lorg/springframework/context/annotation/ImportRegistry;
7: aload 0
new org.springframework.context.annotation.ConditionEvaluator
dup
aload 1
aload 4
aload 3
invokespecial org.springframework.context.annotation.ConditionEvaluator.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Lorg/springframework/core/env/Environment;Lorg/springframework/core/io/ResourceLoader;)V
putfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.conditionEvaluator:Lorg/springframework/context/annotation/ConditionEvaluator;
8: return
end local 6 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 9 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 9 1 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
0 9 2 sourceExtractor Lorg/springframework/beans/factory/parsing/SourceExtractor;
0 9 3 resourceLoader Lorg/springframework/core/io/ResourceLoader;
0 9 4 environment Lorg/springframework/core/env/Environment;
0 9 5 importBeanNameGenerator Lorg/springframework/beans/factory/support/BeanNameGenerator;
0 9 6 importRegistry Lorg/springframework/context/annotation/ImportRegistry;
MethodParameters:
Name Flags
registry
sourceExtractor
resourceLoader
environment
importBeanNameGenerator
importRegistry
public void loadBeanDefinitions(java.util.Set<org.springframework.context.annotation.ConfigurationClass>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator
dup
aload 0
invokespecial org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.<init>:(Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;)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.context.annotation.ConfigurationClassBeanDefinitionReader java.util.Set org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.context.annotation.ConfigurationClass
astore 3
start local 3 3: aload 0
aload 3
aload 2
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass:(Lorg/springframework/context/annotation/ConfigurationClass;Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 6 1 configurationModel Ljava/util/Set<Lorg/springframework/context/annotation/ConfigurationClass;>;
1 6 2 trackedConditionEvaluator Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator;
3 4 3 configClass Lorg/springframework/context/annotation/ConfigurationClass;
Signature: (Ljava/util/Set<Lorg/springframework/context/annotation/ConfigurationClass;>;)V
MethodParameters:
Name Flags
configurationModel
private void loadBeanDefinitionsForConfigurationClass(org.springframework.context.annotation.ConfigurationClass, org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator);
descriptor: (Lorg/springframework/context/annotation/ConfigurationClass;Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.shouldSkip:(Lorg/springframework/context/annotation/ConfigurationClass;)Z
ifeq 6
1: aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.getBeanName:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 4
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 3
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 3
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.removeBeanDefinition:(Ljava/lang/String;)V
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.importRegistry:Lorg/springframework/context/annotation/ImportRegistry;
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.getMetadata:()Lorg/springframework/core/type/AnnotationMetadata;
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
invokeinterface org.springframework.context.annotation.ImportRegistry.removeImportingClass:(Ljava/lang/String;)V
5: return
end local 3 6: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.isImported:()Z
ifeq 8
7: aload 0
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass:(Lorg/springframework/context/annotation/ConfigurationClass;)V
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.getBeanMethods:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader org.springframework.context.annotation.ConfigurationClass org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.context.annotation.BeanMethod
astore 3
start local 3 10: aload 0
aload 3
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod:(Lorg/springframework/context/annotation/BeanMethod;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 0
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.getImportedResources:()Ljava/util/Map;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromImportedResources:(Ljava/util/Map;)V
13: aload 0
aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.getImportBeanDefinitionRegistrars:()Ljava/util/Map;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars:(Ljava/util/Map;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 15 1 configClass Lorg/springframework/context/annotation/ConfigurationClass;
0 15 2 trackedConditionEvaluator Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator;
2 6 3 beanName Ljava/lang/String;
10 11 3 beanMethod Lorg/springframework/context/annotation/BeanMethod;
MethodParameters:
Name Flags
configClass
trackedConditionEvaluator
private void registerBeanDefinitionForImportedConfigurationClass(org.springframework.context.annotation.ConfigurationClass);
descriptor: (Lorg/springframework/context/annotation/ConfigurationClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.context.annotation.ConfigurationClass.getMetadata:()Lorg/springframework/core/type/AnnotationMetadata;
astore 2
start local 2 1: new org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition
dup
aload 2
invokespecial org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition.<init>:(Lorg/springframework/core/type/AnnotationMetadata;)V
astore 3
start local 3 2: getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.scopeMetadataResolver:Lorg/springframework/context/annotation/ScopeMetadataResolver;
aload 3
invokeinterface org.springframework.context.annotation.ScopeMetadataResolver.resolveScopeMetadata:(Lorg/springframework/beans/factory/config/BeanDefinition;)Lorg/springframework/context/annotation/ScopeMetadata;
astore 4
start local 4 3: aload 3
aload 4
invokevirtual org.springframework.context.annotation.ScopeMetadata.getScopeName:()Ljava/lang/String;
invokevirtual org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition.setScope:(Ljava/lang/String;)V
4: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.importBeanNameGenerator:Lorg/springframework/beans/factory/support/BeanNameGenerator;
aload 3
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.beans.factory.support.BeanNameGenerator.generateBeanName:(Lorg/springframework/beans/factory/config/BeanDefinition;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)Ljava/lang/String;
astore 5
start local 5 5: aload 3
aload 2
invokestatic org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations:(Lorg/springframework/beans/factory/annotation/AnnotatedBeanDefinition;Lorg/springframework/core/type/AnnotatedTypeMetadata;)V
6: new org.springframework.beans.factory.config.BeanDefinitionHolder
dup
aload 3
aload 5
invokespecial org.springframework.beans.factory.config.BeanDefinitionHolder.<init>:(Lorg/springframework/beans/factory/config/BeanDefinition;Ljava/lang/String;)V
astore 6
start local 6 7: aload 4
aload 6
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokestatic org.springframework.context.annotation.AnnotationConfigUtils.applyScopedProxyMode:(Lorg/springframework/context/annotation/ScopeMetadata;Lorg/springframework/beans/factory/config/BeanDefinitionHolder;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
astore 6
8: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 6
invokevirtual org.springframework.beans.factory.config.BeanDefinitionHolder.getBeanName:()Ljava/lang/String;
aload 6
invokevirtual org.springframework.beans.factory.config.BeanDefinitionHolder.getBeanDefinition:()Lorg/springframework/beans/factory/config/BeanDefinition;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
9: aload 1
aload 5
invokevirtual org.springframework.context.annotation.ConfigurationClass.setBeanName:(Ljava/lang/String;)V
10: getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 12
11: getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Registered bean definition for imported class '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
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;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
12: StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader org.springframework.context.annotation.ConfigurationClass org.springframework.core.type.AnnotationMetadata org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition org.springframework.context.annotation.ScopeMetadata java.lang.String org.springframework.beans.factory.config.BeanDefinitionHolder
StackMap stack:
return
end local 6 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 13 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 13 1 configClass Lorg/springframework/context/annotation/ConfigurationClass;
1 13 2 metadata Lorg/springframework/core/type/AnnotationMetadata;
2 13 3 configBeanDef Lorg/springframework/beans/factory/annotation/AnnotatedGenericBeanDefinition;
3 13 4 scopeMetadata Lorg/springframework/context/annotation/ScopeMetadata;
5 13 5 configBeanName Ljava/lang/String;
7 13 6 definitionHolder Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
MethodParameters:
Name Flags
configClass
private void loadBeanDefinitionsForBeanMethod(org.springframework.context.annotation.BeanMethod);
descriptor: (Lorg/springframework/context/annotation/BeanMethod;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=17, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getConfigurationClass:()Lorg/springframework/context/annotation/ConfigurationClass;
astore 2
start local 2 1: aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getMetadata:()Lorg/springframework/core/type/MethodMetadata;
astore 3
start local 3 2: aload 3
invokeinterface org.springframework.core.type.MethodMetadata.getMethodName:()Ljava/lang/String;
astore 4
start local 4 3: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.conditionEvaluator:Lorg/springframework/context/annotation/ConditionEvaluator;
aload 3
getstatic org.springframework.context.annotation.ConfigurationCondition$ConfigurationPhase.REGISTER_BEAN:Lorg/springframework/context/annotation/ConfigurationCondition$ConfigurationPhase;
invokevirtual org.springframework.context.annotation.ConditionEvaluator.shouldSkip:(Lorg/springframework/core/type/AnnotatedTypeMetadata;Lorg/springframework/context/annotation/ConfigurationCondition$ConfigurationPhase;)Z
ifeq 6
4: aload 2
getfield org.springframework.context.annotation.ConfigurationClass.skippedBeanMethods:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: return
6: StackMap locals: org.springframework.context.annotation.ConfigurationClass org.springframework.core.type.MethodMetadata java.lang.String
StackMap stack:
aload 2
getfield org.springframework.context.annotation.ConfigurationClass.skippedBeanMethods:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 8
7: return
8: StackMap locals:
StackMap stack:
aload 3
ldc Lorg/springframework/context/annotation/Bean;
invokestatic org.springframework.context.annotation.AnnotationConfigUtils.attributesFor:(Lorg/springframework/core/type/AnnotatedTypeMetadata;Ljava/lang/Class;)Lorg/springframework/core/annotation/AnnotationAttributes;
astore 5
start local 5 9: aload 5
ifnull 10
iconst_1
goto 11
StackMap locals: org.springframework.core.annotation.AnnotationAttributes
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: ldc "No @Bean annotation attributes"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
12: new java.util.ArrayList
dup
aload 5
ldc "name"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getStringArray:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 13: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 14
aload 6
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.lang.String
goto 15
StackMap locals: java.util.List
StackMap stack:
14: aload 4
StackMap locals:
StackMap stack: java.lang.String
15: astore 7
start local 7 16: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 19
StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader org.springframework.context.annotation.BeanMethod org.springframework.context.annotation.ConfigurationClass org.springframework.core.type.MethodMetadata java.lang.String org.springframework.core.annotation.AnnotationAttributes java.util.List java.lang.String top java.util.Iterator
StackMap stack:
17: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 18: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 7
aload 8
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerAlias:(Ljava/lang/String;Ljava/lang/String;)V
end local 8 19: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: aload 0
aload 1
aload 7
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.isOverriddenByExistingDefinition:(Lorg/springframework/context/annotation/BeanMethod;Ljava/lang/String;)Z
ifeq 27
21: aload 7
aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getConfigurationClass:()Lorg/springframework/context/annotation/ConfigurationClass;
invokevirtual org.springframework.context.annotation.ConfigurationClass.getBeanName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
22: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getConfigurationClass:()Lorg/springframework/context/annotation/ConfigurationClass;
invokevirtual org.springframework.context.annotation.ConfigurationClass.getResource:()Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
23: aload 7
new java.lang.StringBuilder
dup
ldc "Bean name derived from @Bean method '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getMetadata:()Lorg/springframework/core/type/MethodMetadata;
invokeinterface org.springframework.core.type.MethodMetadata.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: ldc "' clashes with bean name for containing configuration class; please make those names unique!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
26: StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader org.springframework.context.annotation.BeanMethod org.springframework.context.annotation.ConfigurationClass org.springframework.core.type.MethodMetadata java.lang.String org.springframework.core.annotation.AnnotationAttributes java.util.List java.lang.String
StackMap stack:
return
27: StackMap locals:
StackMap stack:
new org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition
dup
aload 2
aload 3
invokespecial org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.<init>:(Lorg/springframework/context/annotation/ConfigurationClass;Lorg/springframework/core/type/MethodMetadata;)V
astore 8
start local 8 28: aload 8
aload 2
invokevirtual org.springframework.context.annotation.ConfigurationClass.getResource:()Lorg/springframework/core/io/Resource;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setResource:(Lorg/springframework/core/io/Resource;)V
29: aload 8
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.sourceExtractor:Lorg/springframework/beans/factory/parsing/SourceExtractor;
aload 3
aload 2
invokevirtual org.springframework.context.annotation.ConfigurationClass.getResource:()Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.beans.factory.parsing.SourceExtractor.extractSource:(Ljava/lang/Object;Lorg/springframework/core/io/Resource;)Ljava/lang/Object;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setSource:(Ljava/lang/Object;)V
30: aload 3
invokeinterface org.springframework.core.type.MethodMetadata.isStatic:()Z
ifeq 34
31: aload 8
aload 2
invokevirtual org.springframework.context.annotation.ConfigurationClass.getMetadata:()Lorg/springframework/core/type/AnnotationMetadata;
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setBeanClassName:(Ljava/lang/String;)V
32: aload 8
aload 4
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setFactoryMethodName:(Ljava/lang/String;)V
33: goto 36
34: StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition
StackMap stack:
aload 8
aload 2
invokevirtual org.springframework.context.annotation.ConfigurationClass.getBeanName:()Ljava/lang/String;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setFactoryBeanName:(Ljava/lang/String;)V
35: aload 8
aload 4
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setUniqueFactoryMethodName:(Ljava/lang/String;)V
36: StackMap locals:
StackMap stack:
aload 8
iconst_3
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setAutowireMode:(I)V
37: aload 8
38: getstatic org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor.SKIP_REQUIRED_CHECK_ATTRIBUTE:Ljava/lang/String;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
39: invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
40: aload 8
aload 3
invokestatic org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations:(Lorg/springframework/beans/factory/annotation/AnnotatedBeanDefinition;Lorg/springframework/core/type/AnnotatedTypeMetadata;)V
41: aload 5
ldc "autowire"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getEnum:(Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.springframework.beans.factory.annotation.Autowire
astore 9
start local 9 42: aload 9
invokevirtual org.springframework.beans.factory.annotation.Autowire.isAutowire:()Z
ifeq 44
43: aload 8
aload 9
invokevirtual org.springframework.beans.factory.annotation.Autowire.value:()I
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setAutowireMode:(I)V
44: StackMap locals: org.springframework.beans.factory.annotation.Autowire
StackMap stack:
aload 5
ldc "autowireCandidate"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getBoolean:(Ljava/lang/String;)Z
istore 10
start local 10 45: iload 10
ifne 47
46: aload 8
iconst_0
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setAutowireCandidate:(Z)V
47: StackMap locals: int
StackMap stack:
aload 5
ldc "initMethod"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 48: aload 11
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 50
49: aload 8
aload 11
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setInitMethodName:(Ljava/lang/String;)V
50: StackMap locals: java.lang.String
StackMap stack:
aload 5
ldc "destroyMethod"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 51: aload 8
aload 12
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setDestroyMethodName:(Ljava/lang/String;)V
52: getstatic org.springframework.context.annotation.ScopedProxyMode.NO:Lorg/springframework/context/annotation/ScopedProxyMode;
astore 13
start local 13 53: aload 3
ldc Lorg/springframework/context/annotation/Scope;
invokestatic org.springframework.context.annotation.AnnotationConfigUtils.attributesFor:(Lorg/springframework/core/type/AnnotatedTypeMetadata;Ljava/lang/Class;)Lorg/springframework/core/annotation/AnnotationAttributes;
astore 14
start local 14 54: aload 14
ifnull 59
55: aload 8
aload 14
ldc "value"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.setScope:(Ljava/lang/String;)V
56: aload 14
ldc "proxyMode"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getEnum:(Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.springframework.context.annotation.ScopedProxyMode
astore 13
57: aload 13
getstatic org.springframework.context.annotation.ScopedProxyMode.DEFAULT:Lorg/springframework/context/annotation/ScopedProxyMode;
if_acmpne 59
58: getstatic org.springframework.context.annotation.ScopedProxyMode.NO:Lorg/springframework/context/annotation/ScopedProxyMode;
astore 13
59: StackMap locals: java.lang.String org.springframework.context.annotation.ScopedProxyMode org.springframework.core.annotation.AnnotationAttributes
StackMap stack:
aload 8
astore 15
start local 15 60: aload 13
getstatic org.springframework.context.annotation.ScopedProxyMode.NO:Lorg/springframework/context/annotation/ScopedProxyMode;
if_acmpeq 68
61: new org.springframework.beans.factory.config.BeanDefinitionHolder
dup
aload 8
aload 7
invokespecial org.springframework.beans.factory.config.BeanDefinitionHolder.<init>:(Lorg/springframework/beans/factory/config/BeanDefinition;Ljava/lang/String;)V
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
62: aload 13
getstatic org.springframework.context.annotation.ScopedProxyMode.TARGET_CLASS:Lorg/springframework/context/annotation/ScopedProxyMode;
if_acmpne 63
iconst_1
goto 64
StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader org.springframework.context.annotation.BeanMethod org.springframework.context.annotation.ConfigurationClass org.springframework.core.type.MethodMetadata java.lang.String org.springframework.core.annotation.AnnotationAttributes java.util.List java.lang.String org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition org.springframework.beans.factory.annotation.Autowire int java.lang.String java.lang.String org.springframework.context.annotation.ScopedProxyMode org.springframework.core.annotation.AnnotationAttributes org.springframework.beans.factory.config.BeanDefinition
StackMap stack: org.springframework.beans.factory.config.BeanDefinitionHolder org.springframework.beans.factory.support.BeanDefinitionRegistry
63: iconst_0
64: StackMap locals: org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader org.springframework.context.annotation.BeanMethod org.springframework.context.annotation.ConfigurationClass org.springframework.core.type.MethodMetadata java.lang.String org.springframework.core.annotation.AnnotationAttributes java.util.List java.lang.String org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition org.springframework.beans.factory.annotation.Autowire int java.lang.String java.lang.String org.springframework.context.annotation.ScopedProxyMode org.springframework.core.annotation.AnnotationAttributes org.springframework.beans.factory.config.BeanDefinition
StackMap stack: org.springframework.beans.factory.config.BeanDefinitionHolder org.springframework.beans.factory.support.BeanDefinitionRegistry int
invokestatic org.springframework.context.annotation.ScopedProxyCreator.createScopedProxy:(Lorg/springframework/beans/factory/config/BeanDefinitionHolder;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Z)Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
astore 16
start local 16 65: new org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition
dup
66: aload 16
invokevirtual org.springframework.beans.factory.config.BeanDefinitionHolder.getBeanDefinition:()Lorg/springframework/beans/factory/config/BeanDefinition;
checkcast org.springframework.beans.factory.support.RootBeanDefinition
aload 2
aload 3
67: invokespecial org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.<init>:(Lorg/springframework/beans/factory/support/RootBeanDefinition;Lorg/springframework/context/annotation/ConfigurationClass;Lorg/springframework/core/type/MethodMetadata;)V
astore 15
end local 16 68: StackMap locals:
StackMap stack:
getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 72
69: getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
ldc "Registering bean definition for @Bean method %s.%s()"
iconst_2
anewarray java.lang.Object
dup
iconst_0
70: aload 2
invokevirtual org.springframework.context.annotation.ConfigurationClass.getMetadata:()Lorg/springframework/core/type/AnnotationMetadata;
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 7
aastore
71: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
72: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 7
aload 15
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
73: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 74 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 74 1 beanMethod Lorg/springframework/context/annotation/BeanMethod;
1 74 2 configClass Lorg/springframework/context/annotation/ConfigurationClass;
2 74 3 metadata Lorg/springframework/core/type/MethodMetadata;
3 74 4 methodName Ljava/lang/String;
9 74 5 bean Lorg/springframework/core/annotation/AnnotationAttributes;
13 74 6 names Ljava/util/List<Ljava/lang/String;>;
16 74 7 beanName Ljava/lang/String;
18 19 8 alias Ljava/lang/String;
28 74 8 beanDef Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition;
42 74 9 autowire Lorg/springframework/beans/factory/annotation/Autowire;
45 74 10 autowireCandidate Z
48 74 11 initMethodName Ljava/lang/String;
51 74 12 destroyMethodName Ljava/lang/String;
53 74 13 proxyMode Lorg/springframework/context/annotation/ScopedProxyMode;
54 74 14 attributes Lorg/springframework/core/annotation/AnnotationAttributes;
60 74 15 beanDefToRegister Lorg/springframework/beans/factory/config/BeanDefinition;
65 68 16 proxyDef Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
MethodParameters:
Name Flags
beanMethod
protected boolean isOverriddenByExistingDefinition(org.springframework.context.annotation.BeanMethod, java.lang.String);
descriptor: (Lorg/springframework/context/annotation/BeanMethod;Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 2
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 2
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;
astore 3
start local 3 3: aload 3
instanceof org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition
ifeq 8
4: aload 3
checkcast org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition
astore 4
start local 4 5: aload 4
invokevirtual org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition.getMetadata:()Lorg/springframework/core/type/AnnotationMetadata;
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
6: aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getConfigurationClass:()Lorg/springframework/context/annotation/ConfigurationClass;
invokevirtual org.springframework.context.annotation.ConfigurationClass.getMetadata:()Lorg/springframework/core/type/AnnotationMetadata;
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
7: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 4 8: StackMap locals: org.springframework.beans.factory.config.BeanDefinition
StackMap stack:
aload 3
instanceof org.springframework.context.annotation.ScannedGenericBeanDefinition
ifeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getRole:()I
ifle 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
instanceof org.springframework.beans.factory.support.DefaultListableBeanFactory
ifeq 17
13: aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
checkcast org.springframework.beans.factory.support.DefaultListableBeanFactory
invokevirtual org.springframework.beans.factory.support.DefaultListableBeanFactory.isAllowBeanDefinitionOverriding:()Z
ifne 17
14: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
aload 1
invokevirtual org.springframework.context.annotation.BeanMethod.getConfigurationClass:()Lorg/springframework/context/annotation/ConfigurationClass;
invokevirtual org.springframework.context.annotation.ConfigurationClass.getResource:()Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
15: aload 2
new java.lang.StringBuilder
dup
ldc "@Bean definition illegally overridden by existing bean definition: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 21
18: getstatic org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
ldc "Skipping bean definition for %s: a definition for bean '%s' already exists. This top-level bean definition is considered as an override."
iconst_2
anewarray java.lang.Object
dup
iconst_0
19: aload 1
aastore
dup
iconst_1
aload 2
aastore
20: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 22 1 beanMethod Lorg/springframework/context/annotation/BeanMethod;
0 22 2 beanName Ljava/lang/String;
3 22 3 existingBeanDef Lorg/springframework/beans/factory/config/BeanDefinition;
5 8 4 ccbd Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition;
MethodParameters:
Name Flags
beanMethod
beanName
private void loadBeanDefinitionsFromImportedResources(java.util.Map<java.lang.String, java.lang.Class<? extends org.springframework.beans.factory.support.BeanDefinitionReader>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 1
aload 0
aload 2
invokedynamic accept(Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;Ljava/util/Map;)Ljava/util/function/BiConsumer;
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;)V
org/springframework/context/annotation/ConfigurationClassBeanDefinitionReader.lambda$0(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Class;)V (7)
(Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 3 1 importedResources Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<+Lorg/springframework/beans/factory/support/BeanDefinitionReader;>;>;
1 3 2 readerInstanceCache Ljava/util/Map<Ljava/lang/Class<*>;Lorg/springframework/beans/factory/support/BeanDefinitionReader;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<+Lorg/springframework/beans/factory/support/BeanDefinitionReader;>;>;)V
MethodParameters:
Name Flags
importedResources
private void loadBeanDefinitionsFromRegistrars(java.util.Map<org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.core.type.AnnotationMetadata>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic accept(Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;)Ljava/util/function/BiConsumer;
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;)V
org/springframework/context/annotation/ConfigurationClassBeanDefinitionReader.lambda$1(Lorg/springframework/context/annotation/ImportBeanDefinitionRegistrar;Lorg/springframework/core/type/AnnotationMetadata;)V (7)
(Lorg/springframework/context/annotation/ImportBeanDefinitionRegistrar;Lorg/springframework/core/type/AnnotationMetadata;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 2 1 registrars Ljava/util/Map<Lorg/springframework/context/annotation/ImportBeanDefinitionRegistrar;Lorg/springframework/core/type/AnnotationMetadata;>;
Signature: (Ljava/util/Map<Lorg/springframework/context/annotation/ImportBeanDefinitionRegistrar;Lorg/springframework/core/type/AnnotationMetadata;>;)V
MethodParameters:
Name Flags
registrars
private void lambda$0(java.util.Map, java.lang.String, java.lang.Class);
descriptor: (Ljava/util/Map;Ljava/lang/String;Ljava/lang/Class;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 2 start local 3 0: ldc Lorg/springframework/beans/factory/support/BeanDefinitionReader;
aload 3
if_acmpne 5
1: aload 2
ldc ".groovy"
invokestatic org.springframework.util.StringUtils.endsWithIgnoreCase:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 4
2: ldc Lorg/springframework/beans/factory/groovy/GroovyBeanDefinitionReader;
astore 3
3: goto 5
4: StackMap locals:
StackMap stack:
ldc Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
astore 3
5: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.beans.factory.support.BeanDefinitionReader
astore 4
start local 4 6: aload 4
ifnonnull 18
7: aload 3
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.beans.factory.support.BeanDefinitionReader
astore 4
8: aload 4
instanceof org.springframework.beans.factory.support.AbstractBeanDefinitionReader
ifeq 12
9: aload 4
checkcast org.springframework.beans.factory.support.AbstractBeanDefinitionReader
astore 5
start local 5 10: aload 5
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinitionReader.setResourceLoader:(Lorg/springframework/core/io/ResourceLoader;)V
11: aload 5
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.environment:Lorg/springframework/core/env/Environment;
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinitionReader.setEnvironment:(Lorg/springframework/core/env/Environment;)V
end local 5 12: StackMap locals: org.springframework.beans.factory.support.BeanDefinitionReader
StackMap stack:
aload 1
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: goto 18
14: StackMap locals:
StackMap stack: java.lang.Throwable
pop
15: new java.lang.IllegalStateException
dup
16: new java.lang.StringBuilder
dup
ldc "Could not instantiate BeanDefinitionReader class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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;
17: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 4
aload 2
invokeinterface org.springframework.beans.factory.support.BeanDefinitionReader.loadBeanDefinitions:(Ljava/lang/String;)I
pop
end local 4 19: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 20 2 resource Ljava/lang/String;
0 20 3 readerClass Ljava/lang/Class<+Lorg/springframework/beans/factory/support/BeanDefinitionReader;>;
6 19 4 reader Lorg/springframework/beans/factory/support/BeanDefinitionReader;
10 12 5 abdr Lorg/springframework/beans/factory/support/AbstractBeanDefinitionReader;
Exception table:
from to target type
7 13 14 Class java.lang.Throwable
private void lambda$1(org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.core.type.AnnotationMetadata);
descriptor: (Lorg/springframework/context/annotation/ImportBeanDefinitionRegistrar;Lorg/springframework/core/type/AnnotationMetadata;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
getfield org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registry:Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions:(Lorg/springframework/core/type/AnnotationMetadata;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/annotation/ConfigurationClassBeanDefinitionReader;
0 1 1 registrar Lorg/springframework/context/annotation/ImportBeanDefinitionRegistrar;
0 1 2 metadata Lorg/springframework/core/type/AnnotationMetadata;
}
SourceFile: "ConfigurationClassBeanDefinitionReader.java"
NestMembers:
org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private ConfigurationClassBeanDefinition = org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinition of org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader
private TrackedConditionEvaluator = org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator of org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader
public final ConfigurationPhase = org.springframework.context.annotation.ConfigurationCondition$ConfigurationPhase of org.springframework.context.annotation.ConfigurationCondition