public abstract class org.springframework.aop.interceptor.ExposeBeanNameAdvisors
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.aop.interceptor.ExposeBeanNameAdvisors
super_class: java.lang.Object
{
private static final java.lang.String BEAN_NAME_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
ldc Lorg/springframework/aop/interceptor/ExposeBeanNameAdvisors;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".BEAN_NAME"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic org.springframework.aop.interceptor.ExposeBeanNameAdvisors.BEAN_NAME_ATTRIBUTE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
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/aop/interceptor/ExposeBeanNameAdvisors;
public static java.lang.String getBeanName();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.springframework.aop.interceptor.ExposeInvocationInterceptor.currentInvocation:()Lorg/aopalliance/intercept/MethodInvocation;
invokestatic org.springframework.aop.interceptor.ExposeBeanNameAdvisors.getBeanName:(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.IllegalStateException
public static java.lang.String getBeanName(org.aopalliance.intercept.MethodInvocation);
descriptor: (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
instanceof org.springframework.aop.ProxyMethodInvocation
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "MethodInvocation is not a Spring ProxyMethodInvocation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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
2: StackMap locals:
StackMap stack:
aload 0
checkcast org.springframework.aop.ProxyMethodInvocation
astore 1
start local 1 3: aload 1
getstatic org.springframework.aop.interceptor.ExposeBeanNameAdvisors.BEAN_NAME_ATTRIBUTE:Ljava/lang/String;
invokeinterface org.springframework.aop.ProxyMethodInvocation.getUserAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 4: aload 2
ifnonnull 6
5: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot get bean name; not set on MethodInvocation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.springframework.aop.ProxyMethodInvocation java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 mi Lorg/aopalliance/intercept/MethodInvocation;
3 7 1 pmi Lorg/springframework/aop/ProxyMethodInvocation;
4 7 2 beanName Ljava/lang/String;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
mi
public static org.springframework.aop.Advisor createAdvisorWithoutIntroduction(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/aop/Advisor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.springframework.aop.support.DefaultPointcutAdvisor
dup
new org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameInterceptor
dup
aload 0
invokespecial org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameInterceptor.<init>:(Ljava/lang/String;)V
invokespecial org.springframework.aop.support.DefaultPointcutAdvisor.<init>:(Lorg/aopalliance/aop/Advice;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 beanName Ljava/lang/String;
MethodParameters:
Name Flags
beanName
public static org.springframework.aop.Advisor createAdvisorIntroducingNamedBean(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/aop/Advisor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.springframework.aop.support.DefaultIntroductionAdvisor
dup
new org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameIntroduction
dup
aload 0
invokespecial org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameIntroduction.<init>:(Ljava/lang/String;)V
invokespecial org.springframework.aop.support.DefaultIntroductionAdvisor.<init>:(Lorg/aopalliance/aop/Advice;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 beanName Ljava/lang/String;
MethodParameters:
Name Flags
beanName
}
SourceFile: "ExposeBeanNameAdvisors.java"
NestMembers:
org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameInterceptor org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameIntroduction
InnerClasses:
private ExposeBeanNameInterceptor = org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameInterceptor of org.springframework.aop.interceptor.ExposeBeanNameAdvisors
private ExposeBeanNameIntroduction = org.springframework.aop.interceptor.ExposeBeanNameAdvisors$ExposeBeanNameIntroduction of org.springframework.aop.interceptor.ExposeBeanNameAdvisors