public class org.springframework.context.annotation.AnnotationConfigApplicationContext extends org.springframework.context.support.GenericApplicationContext implements org.springframework.context.annotation.AnnotationConfigRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.annotation.AnnotationConfigApplicationContext
super_class: org.springframework.context.support.GenericApplicationContext
{
private final org.springframework.context.annotation.AnnotatedBeanDefinitionReader reader;
descriptor: Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.context.annotation.ClassPathBeanDefinitionScanner scanner;
descriptor: Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.context.support.GenericApplicationContext.<init>:()V
1: aload 0
new org.springframework.context.annotation.AnnotatedBeanDefinitionReader
dup
aload 0
invokespecial org.springframework.context.annotation.AnnotatedBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
2: aload 0
new org.springframework.context.annotation.ClassPathBeanDefinitionScanner
dup
aload 0
invokespecial org.springframework.context.annotation.ClassPathBeanDefinitionScanner.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.context.annotation.AnnotationConfigApplicationContext.scanner:Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
public void <init>(org.springframework.beans.factory.support.DefaultListableBeanFactory);
descriptor: (Lorg/springframework/beans/factory/support/DefaultListableBeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.context.support.GenericApplicationContext.<init>:(Lorg/springframework/beans/factory/support/DefaultListableBeanFactory;)V
1: aload 0
new org.springframework.context.annotation.AnnotatedBeanDefinitionReader
dup
aload 0
invokespecial org.springframework.context.annotation.AnnotatedBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
2: aload 0
new org.springframework.context.annotation.ClassPathBeanDefinitionScanner
dup
aload 0
invokespecial org.springframework.context.annotation.ClassPathBeanDefinitionScanner.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
putfield org.springframework.context.annotation.AnnotationConfigApplicationContext.scanner:Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 4 1 beanFactory Lorg/springframework/beans/factory/support/DefaultListableBeanFactory;
MethodParameters:
Name Flags
beanFactory
public void <init>(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>:()V
1: aload 0
aload 1
invokevirtual org.springframework.context.annotation.AnnotationConfigApplicationContext.register:([Ljava/lang/Class;)V
2: aload 0
invokevirtual org.springframework.context.annotation.AnnotationConfigApplicationContext.refresh:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 4 1 annotatedClasses [Ljava/lang/Class;
Signature: ([Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
annotatedClasses
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>:()V
1: aload 0
aload 1
invokevirtual org.springframework.context.annotation.AnnotationConfigApplicationContext.scan:([Ljava/lang/String;)V
2: aload 0
invokevirtual org.springframework.context.annotation.AnnotationConfigApplicationContext.refresh:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 4 1 basePackages [Ljava/lang/String;
MethodParameters:
Name Flags
basePackages
public void setEnvironment(org.springframework.core.env.ConfigurableEnvironment);
descriptor: (Lorg/springframework/core/env/ConfigurableEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.context.support.GenericApplicationContext.setEnvironment:(Lorg/springframework/core/env/ConfigurableEnvironment;)V
1: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
aload 1
invokevirtual org.springframework.context.annotation.AnnotatedBeanDefinitionReader.setEnvironment:(Lorg/springframework/core/env/Environment;)V
2: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.scanner:Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
aload 1
invokevirtual org.springframework.context.annotation.ClassPathBeanDefinitionScanner.setEnvironment:(Lorg/springframework/core/env/Environment;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 4 1 environment Lorg/springframework/core/env/ConfigurableEnvironment;
MethodParameters:
Name Flags
environment
public void setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator);
descriptor: (Lorg/springframework/beans/factory/support/BeanNameGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
aload 1
invokevirtual org.springframework.context.annotation.AnnotatedBeanDefinitionReader.setBeanNameGenerator:(Lorg/springframework/beans/factory/support/BeanNameGenerator;)V
1: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.scanner:Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
aload 1
invokevirtual org.springframework.context.annotation.ClassPathBeanDefinitionScanner.setBeanNameGenerator:(Lorg/springframework/beans/factory/support/BeanNameGenerator;)V
2: aload 0
invokevirtual org.springframework.context.annotation.AnnotationConfigApplicationContext.getBeanFactory:()Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
3: ldc "org.springframework.context.annotation.internalConfigurationBeanNameGenerator"
aload 1
4: invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.registerSingleton:(Ljava/lang/String;Ljava/lang/Object;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 6 1 beanNameGenerator Lorg/springframework/beans/factory/support/BeanNameGenerator;
MethodParameters:
Name Flags
beanNameGenerator
public void setScopeMetadataResolver(org.springframework.context.annotation.ScopeMetadataResolver);
descriptor: (Lorg/springframework/context/annotation/ScopeMetadataResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
aload 1
invokevirtual org.springframework.context.annotation.AnnotatedBeanDefinitionReader.setScopeMetadataResolver:(Lorg/springframework/context/annotation/ScopeMetadataResolver;)V
1: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.scanner:Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
aload 1
invokevirtual org.springframework.context.annotation.ClassPathBeanDefinitionScanner.setScopeMetadataResolver:(Lorg/springframework/context/annotation/ScopeMetadataResolver;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 3 1 scopeMetadataResolver Lorg/springframework/context/annotation/ScopeMetadataResolver;
MethodParameters:
Name Flags
scopeMetadataResolver
public void register(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "At least one annotated class must be specified"
invokestatic org.springframework.util.Assert.notEmpty:([Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
aload 1
invokevirtual org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register:([Ljava/lang/Class;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 3 1 annotatedClasses [Ljava/lang/Class;
Signature: ([Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
annotatedClasses
public void scan(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "At least one base package must be specified"
invokestatic org.springframework.util.Assert.notEmpty:([Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.scanner:Lorg/springframework/context/annotation/ClassPathBeanDefinitionScanner;
aload 1
invokevirtual org.springframework.context.annotation.ClassPathBeanDefinitionScanner.scan:([Ljava/lang/String;)I
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 3 1 basePackages [Ljava/lang/String;
MethodParameters:
Name Flags
basePackages
public <T> void registerBean(java.lang.Class<T>, []);
descriptor: (Ljava/lang/Class;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokevirtual org.springframework.context.annotation.AnnotationConfigApplicationContext.registerBean:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 2 1 annotatedClass Ljava/lang/Class<TT;>;
0 2 2 constructorArguments [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;[Ljava/lang/Object;)V
MethodParameters:
Name Flags
annotatedClass
constructorArguments
public <T> void registerBean(java.lang.String, java.lang.Class<T>, []);
descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
aload 2
aconst_null
aload 1
aconst_null
iconst_1
anewarray org.springframework.beans.factory.config.BeanDefinitionCustomizer
dup
iconst_0
1: aload 3
invokedynamic customize([Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinitionCustomizer;
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:
(Lorg/springframework/beans/factory/config/BeanDefinition;)V
org/springframework/context/annotation/AnnotationConfigApplicationContext.lambda$0([Ljava/lang/Object;Lorg/springframework/beans/factory/config/BeanDefinition;)V (6)
(Lorg/springframework/beans/factory/config/BeanDefinition;)V
aastore
2: invokevirtual org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean:(Ljava/lang/Class;Ljava/util/function/Supplier;Ljava/lang/String;[Ljava/lang/Class;[Lorg/springframework/beans/factory/config/BeanDefinitionCustomizer;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 4 1 beanName Ljava/lang/String;
0 4 2 annotatedClass Ljava/lang/Class<TT;>;
0 4 3 constructorArguments [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/Class<TT;>;[Ljava/lang/Object;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
2:
MethodParameters:
Name Flags
beanName
annotatedClass
constructorArguments
public <T> void registerBean(java.lang.String, java.lang.Class<T>, java.util.function.Supplier<T>, org.springframework.beans.factory.config.BeanDefinitionCustomizer[]);
descriptor: (Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Supplier;[Lorg/springframework/beans/factory/config/BeanDefinitionCustomizer;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.springframework.context.annotation.AnnotationConfigApplicationContext.reader:Lorg/springframework/context/annotation/AnnotatedBeanDefinitionReader;
aload 2
aload 3
aload 1
aconst_null
aload 4
invokevirtual org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean:(Ljava/lang/Class;Ljava/util/function/Supplier;Ljava/lang/String;[Ljava/lang/Class;[Lorg/springframework/beans/factory/config/BeanDefinitionCustomizer;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/annotation/AnnotationConfigApplicationContext;
0 2 1 beanName Ljava/lang/String;
0 2 2 beanClass Ljava/lang/Class<TT;>;
0 2 3 supplier Ljava/util/function/Supplier<TT;>;
0 2 4 customizers [Lorg/springframework/beans/factory/config/BeanDefinitionCustomizer;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/Class<TT;>;Ljava/util/function/Supplier<TT;>;[Lorg/springframework/beans/factory/config/BeanDefinitionCustomizer;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
2:
org.springframework.lang.Nullable()
3:
MethodParameters:
Name Flags
beanName
beanClass
supplier
customizers
private static void lambda$0(java.lang.Object[], org.springframework.beans.factory.config.BeanDefinition);
descriptor: ([Ljava/lang/Object;Lorg/springframework/beans/factory/config/BeanDefinition;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=6, args_size=2
start local 1 0: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: java.lang.Object[] org.springframework.beans.factory.config.BeanDefinition top int int java.lang.Object[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 1
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getConstructorArgumentValues:()Lorg/springframework/beans/factory/config/ConstructorArgumentValues;
aload 2
invokevirtual org.springframework.beans.factory.config.ConstructorArgumentValues.addGenericArgumentValue:(Ljava/lang/Object;)V
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 bd Lorg/springframework/beans/factory/config/BeanDefinition;
2 3 2 arg Ljava/lang/Object;
}
SourceFile: "AnnotationConfigApplicationContext.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles