public abstract class org.springframework.context.annotation.AdviceModeImportSelector<A extends java.lang.annotation.Annotation> implements org.springframework.context.annotation.ImportSelector
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.context.annotation.AdviceModeImportSelector
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_ADVICE_MODE_ATTRIBUTE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "mode"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/annotation/AdviceModeImportSelector<TA;>;
protected java.lang.String getAdviceModeAttributeName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "mode"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/annotation/AdviceModeImportSelector<TA;>;
public final java.lang.String[] selectImports(org.springframework.core.type.AnnotationMetadata);
descriptor: (Lorg/springframework/core/type/AnnotationMetadata;)[Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lorg/springframework/context/annotation/AdviceModeImportSelector;
invokestatic org.springframework.core.GenericTypeResolver.resolveTypeArgument:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
goto 3
StackMap locals: java.lang.Class
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "Unresolvable type argument for AdviceModeImportSelector"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 1
aload 2
invokestatic org.springframework.context.annotation.AnnotationConfigUtils.attributesFor:(Lorg/springframework/core/type/AnnotatedTypeMetadata;Ljava/lang/Class;)Lorg/springframework/core/annotation/AnnotationAttributes;
astore 3
start local 3 5: aload 3
ifnonnull 10
6: new java.lang.IllegalArgumentException
dup
7: ldc "@%s is not present on importing class '%s' as expected"
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 2
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: org.springframework.core.annotation.AnnotationAttributes
StackMap stack:
aload 3
aload 0
invokevirtual org.springframework.context.annotation.AdviceModeImportSelector.getAdviceModeAttributeName:()Ljava/lang/String;
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getEnum:(Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.springframework.context.annotation.AdviceMode
astore 4
start local 4 11: aload 0
aload 4
invokevirtual org.springframework.context.annotation.AdviceModeImportSelector.selectImports:(Lorg/springframework/context/annotation/AdviceMode;)[Ljava/lang/String;
astore 5
start local 5 12: aload 5
ifnonnull 14
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown AdviceMode: "
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;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.springframework.context.annotation.AdviceMode java.lang.String[]
StackMap stack:
aload 5
areturn
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 15 0 this Lorg/springframework/context/annotation/AdviceModeImportSelector<TA;>;
0 15 1 importingClassMetadata Lorg/springframework/core/type/AnnotationMetadata;
1 15 2 annType Ljava/lang/Class<*>;
5 15 3 attributes Lorg/springframework/core/annotation/AnnotationAttributes;
11 15 4 adviceMode Lorg/springframework/context/annotation/AdviceMode;
12 15 5 imports [Ljava/lang/String;
MethodParameters:
Name Flags
importingClassMetadata
protected abstract java.lang.String[] selectImports(org.springframework.context.annotation.AdviceMode);
descriptor: (Lorg/springframework/context/annotation/AdviceMode;)[Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
adviceMode
}
Signature: <A::Ljava/lang/annotation/Annotation;>Ljava/lang/Object;Lorg/springframework/context/annotation/ImportSelector;
SourceFile: "AdviceModeImportSelector.java"