public class org.springframework.boot.context.config.DelegatingApplicationContextInitializer implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.context.config.DelegatingApplicationContextInitializer
super_class: java.lang.Object
{
private static final java.lang.String PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "context.initializer.classes"
private int order;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.boot.context.config.DelegatingApplicationContextInitializer.order:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/config/DelegatingApplicationContextInitializer;
public void initialize(org.springframework.context.ConfigurableApplicationContext);
descriptor: (Lorg/springframework/context/ConfigurableApplicationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.context.ConfigurableApplicationContext.getEnvironment:()Lorg/springframework/core/env/ConfigurableEnvironment;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.springframework.boot.context.config.DelegatingApplicationContextInitializer.getInitializerClasses:(Lorg/springframework/core/env/ConfigurableEnvironment;)Ljava/util/List;
astore 3
start local 3 2: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 4
3: aload 0
aload 1
aload 3
invokevirtual org.springframework.boot.context.config.DelegatingApplicationContextInitializer.applyInitializerClasses:(Lorg/springframework/context/ConfigurableApplicationContext;Ljava/util/List;)V
4: StackMap locals: org.springframework.core.env.ConfigurableEnvironment java.util.List
StackMap stack:
return
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/DelegatingApplicationContextInitializer;
0 5 1 context Lorg/springframework/context/ConfigurableApplicationContext;
1 5 2 environment Lorg/springframework/core/env/ConfigurableEnvironment;
2 5 3 initializerClasses Ljava/util/List<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
context
private java.util.List<java.lang.Class<?>> getInitializerClasses(org.springframework.core.env.ConfigurableEnvironment);
descriptor: (Lorg/springframework/core/env/ConfigurableEnvironment;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc "context.initializer.classes"
invokeinterface org.springframework.core.env.ConfigurableEnvironment.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 2
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 8
3: aload 2
ldc ","
invokestatic org.springframework.util.StringUtils.tokenizeToStringArray:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: org.springframework.boot.context.config.DelegatingApplicationContextInitializer org.springframework.core.env.ConfigurableEnvironment java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 3
aload 0
aload 4
invokevirtual org.springframework.boot.context.config.DelegatingApplicationContextInitializer.getInitializerClass:(Ljava/lang/String;)Ljava/lang/Class;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 4
8: StackMap locals: org.springframework.boot.context.config.DelegatingApplicationContextInitializer org.springframework.core.env.ConfigurableEnvironment java.lang.String java.util.List
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/boot/context/config/DelegatingApplicationContextInitializer;
0 9 1 env Lorg/springframework/core/env/ConfigurableEnvironment;
1 9 2 classNames Ljava/lang/String;
2 9 3 classes Ljava/util/List<Ljava/lang/Class<*>;>;
5 6 4 className Ljava/lang/String;
Signature: (Lorg/springframework/core/env/ConfigurableEnvironment;)Ljava/util/List<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
env
private java.lang.Class<?> getInitializerClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.ClassUtils.getDefaultClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
start local 2 1: ldc Lorg/springframework/context/ApplicationContextInitializer;
aload 2
invokestatic org.springframework.util.Assert.isAssignable:(Ljava/lang/Class;Ljava/lang/Class;)V
2: aload 2
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 5: new org.springframework.context.ApplicationContextException
dup
new java.lang.StringBuilder
dup
ldc "Failed to load context initializer class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
aload 2
invokespecial org.springframework.context.ApplicationContextException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/config/DelegatingApplicationContextInitializer;
0 6 1 className Ljava/lang/String;
1 4 2 initializerClass Ljava/lang/Class<*>;
5 6 2 ex Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 3 4 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.LinkageError
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
private void applyInitializerClasses(org.springframework.context.ConfigurableApplicationContext, java.util.List<java.lang.Class<?>>);
descriptor: (Lorg/springframework/context/ConfigurableApplicationContext;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: org.springframework.boot.context.config.DelegatingApplicationContextInitializer org.springframework.context.ConfigurableApplicationContext java.util.List java.lang.Class java.util.List top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 5
start local 5 4: aload 4
aload 0
aload 3
aload 5
invokevirtual org.springframework.boot.context.config.DelegatingApplicationContextInitializer.instantiateInitializer:(Ljava/lang/Class;Ljava/lang/Class;)Lorg/springframework/context/ApplicationContextInitializer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
aload 1
aload 4
invokevirtual org.springframework.boot.context.config.DelegatingApplicationContextInitializer.applyInitializers:(Lorg/springframework/context/ConfigurableApplicationContext;Ljava/util/List;)V
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/DelegatingApplicationContextInitializer;
0 8 1 context Lorg/springframework/context/ConfigurableApplicationContext;
0 8 2 initializerClasses Ljava/util/List<Ljava/lang/Class<*>;>;
1 8 3 contextClass Ljava/lang/Class<*>;
2 8 4 initializers Ljava/util/List<Lorg/springframework/context/ApplicationContextInitializer<*>;>;
4 5 5 initializerClass Ljava/lang/Class<*>;
Signature: (Lorg/springframework/context/ConfigurableApplicationContext;Ljava/util/List<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
context
initializerClasses
private org.springframework.context.ApplicationContextInitializer<?> instantiateInitializer(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Lorg/springframework/context/ApplicationContextInitializer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
1: ldc Lorg/springframework/context/ApplicationContextInitializer;
2: invokestatic org.springframework.core.GenericTypeResolver.resolveTypeArgument:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
astore 3
start local 3 3: aload 3
aload 1
4: aload 2
aload 3
aload 1
invokedynamic get(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)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/DelegatingApplicationContextInitializer.lambda$0(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String; (6)
()Ljava/lang/String;
5: invokestatic org.springframework.util.Assert.isAssignable:(Ljava/lang/Class;Ljava/lang/Class;Ljava/util/function/Supplier;)V
6: aload 2
invokestatic org.springframework.beans.BeanUtils.instantiateClass:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.context.ApplicationContextInitializer
areturn
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/DelegatingApplicationContextInitializer;
0 7 1 contextClass Ljava/lang/Class<*>;
0 7 2 initializerClass Ljava/lang/Class<*>;
3 7 3 requireContextClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Lorg/springframework/context/ApplicationContextInitializer<*>;
MethodParameters:
Name Flags
contextClass
initializerClass
private void applyInitializers(org.springframework.context.ConfigurableApplicationContext, java.util.List<org.springframework.context.ApplicationContextInitializer<?>>);
descriptor: (Lorg/springframework/context/ConfigurableApplicationContext;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
new org.springframework.core.annotation.AnnotationAwareOrderComparator
dup
invokespecial org.springframework.core.annotation.AnnotationAwareOrderComparator.<init>:()V
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.springframework.boot.context.config.DelegatingApplicationContextInitializer org.springframework.context.ConfigurableApplicationContext java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.context.ApplicationContextInitializer
astore 3
start local 3 3: aload 3
aload 1
invokeinterface org.springframework.context.ApplicationContextInitializer.initialize:(Lorg/springframework/context/ConfigurableApplicationContext;)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/boot/context/config/DelegatingApplicationContextInitializer;
0 6 1 context Lorg/springframework/context/ConfigurableApplicationContext;
0 6 2 initializers Ljava/util/List<Lorg/springframework/context/ApplicationContextInitializer<*>;>;
3 4 3 initializer Lorg/springframework/context/ApplicationContextInitializer;
Signature: (Lorg/springframework/context/ConfigurableApplicationContext;Ljava/util/List<Lorg/springframework/context/ApplicationContextInitializer<*>;>;)V
MethodParameters:
Name Flags
context
initializers
public void setOrder(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.boot.context.config.DelegatingApplicationContextInitializer.order:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/config/DelegatingApplicationContextInitializer;
0 2 1 order I
MethodParameters:
Name Flags
order
public int getOrder();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.context.config.DelegatingApplicationContextInitializer.order:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/config/DelegatingApplicationContextInitializer;
private static java.lang.String lambda$0(java.lang.Class, java.lang.Class, java.lang.Class);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
0: ldc "Could not add context initializer [%s] as its generic parameter [%s] is not assignable from the type of application context used by this context loader [%s]: "
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/springframework/context/ApplicationContextInitializer<Lorg/springframework/context/ConfigurableApplicationContext;>;Lorg/springframework/core/Ordered;
SourceFile: "DelegatingApplicationContextInitializer.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles