public abstract class org.springframework.aop.config.AopConfigUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.aop.config.AopConfigUtils
super_class: java.lang.Object
{
public static final java.lang.String AUTO_PROXY_CREATOR_BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.springframework.aop.config.internalAutoProxyCreator"
private static final java.util.List<java.lang.Class<?>> APC_PRIORITY_LIST;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Class<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
1: getstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
ldc Lorg/springframework/aop/framework/autoproxy/InfrastructureAdvisorAutoProxyCreator;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: getstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
ldc Lorg/springframework/aop/aspectj/autoproxy/AspectJAwareAdvisorAutoProxyCreator;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: getstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
ldc Lorg/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: 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/config/AopConfigUtils;
public static org.springframework.beans.factory.config.BeanDefinition registerAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.springframework.aop.config.AopConfigUtils.registerAutoProxyCreatorIfNecessary:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
registry
public static org.springframework.beans.factory.config.BeanDefinition registerAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry, java.lang.Object);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/springframework/aop/framework/autoproxy/InfrastructureAdvisorAutoProxyCreator;
aload 0
aload 1
invokestatic org.springframework.aop.config.AopConfigUtils.registerOrEscalateApcAsRequired:(Ljava/lang/Class;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
0 1 1 source Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
registry
source
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.springframework.aop.config.AopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
registry
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry, java.lang.Object);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/springframework/aop/aspectj/autoproxy/AspectJAwareAdvisorAutoProxyCreator;
aload 0
aload 1
invokestatic org.springframework.aop.config.AopConfigUtils.registerOrEscalateApcAsRequired:(Ljava/lang/Class;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
0 1 1 source Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
registry
source
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.springframework.aop.config.AopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
registry
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry, java.lang.Object);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/springframework/aop/aspectj/annotation/AnnotationAwareAspectJAutoProxyCreator;
aload 0
aload 1
invokestatic org.springframework.aop.config.AopConfigUtils.registerOrEscalateApcAsRequired:(Ljava/lang/Class;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
0 1 1 source Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
registry
source
public static void forceAutoProxyCreatorToUseClassProxying(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "org.springframework.aop.config.internalAutoProxyCreator"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc "org.springframework.aop.config.internalAutoProxyCreator"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;
astore 1
start local 1 2: aload 1
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getPropertyValues:()Lorg/springframework/beans/MutablePropertyValues;
ldc "proxyTargetClass"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.springframework.beans.MutablePropertyValues.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutablePropertyValues;
pop
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
2 3 1 definition Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
registry
public static void forceAutoProxyCreatorToExposeProxy(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "org.springframework.aop.config.internalAutoProxyCreator"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc "org.springframework.aop.config.internalAutoProxyCreator"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;
astore 1
start local 1 2: aload 1
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getPropertyValues:()Lorg/springframework/beans/MutablePropertyValues;
ldc "exposeProxy"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.springframework.beans.MutablePropertyValues.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutablePropertyValues;
pop
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
2 3 1 definition Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
registry
private static org.springframework.beans.factory.config.BeanDefinition registerOrEscalateApcAsRequired(java.lang.Class<?>, org.springframework.beans.factory.support.BeanDefinitionRegistry, );
descriptor: (Ljava/lang/Class;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "BeanDefinitionRegistry must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
ldc "org.springframework.aop.config.internalAutoProxyCreator"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 9
2: aload 1
ldc "org.springframework.aop.config.internalAutoProxyCreator"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;
astore 3
start local 3 3: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 3
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getBeanClassName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
4: aload 3
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getBeanClassName:()Ljava/lang/String;
invokestatic org.springframework.aop.config.AopConfigUtils.findPriorityForClass:(Ljava/lang/String;)I
istore 4
start local 4 5: aload 0
invokestatic org.springframework.aop.config.AopConfigUtils.findPriorityForClass:(Ljava/lang/Class;)I
istore 5
start local 5 6: iload 4
iload 5
if_icmpge 8
7: aload 3
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.springframework.beans.factory.config.BeanDefinition.setBeanClassName:(Ljava/lang/String;)V
end local 5 end local 4 8: StackMap locals: org.springframework.beans.factory.config.BeanDefinition
StackMap stack:
aconst_null
areturn
end local 3 9: StackMap locals:
StackMap stack:
new org.springframework.beans.factory.support.RootBeanDefinition
dup
aload 0
invokespecial org.springframework.beans.factory.support.RootBeanDefinition.<init>:(Ljava/lang/Class;)V
astore 3
start local 3 10: aload 3
aload 2
invokevirtual org.springframework.beans.factory.support.RootBeanDefinition.setSource:(Ljava/lang/Object;)V
11: aload 3
invokevirtual org.springframework.beans.factory.support.RootBeanDefinition.getPropertyValues:()Lorg/springframework/beans/MutablePropertyValues;
ldc "order"
ldc -2147483648
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.springframework.beans.MutablePropertyValues.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutablePropertyValues;
pop
12: aload 3
iconst_2
invokevirtual org.springframework.beans.factory.support.RootBeanDefinition.setRole:(I)V
13: aload 1
ldc "org.springframework.aop.config.internalAutoProxyCreator"
aload 3
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
14: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 cls Ljava/lang/Class<*>;
0 15 1 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
0 15 2 source Ljava/lang/Object;
3 9 3 apcDefinition Lorg/springframework/beans/factory/config/BeanDefinition;
5 8 4 currentPriority I
6 8 5 requiredPriority I
10 15 3 beanDefinition Lorg/springframework/beans/factory/support/RootBeanDefinition;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/Object;)Lorg/springframework/beans/factory/config/BeanDefinition;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cls
registry
source
private static int findPriorityForClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
aload 0
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
clazz
private static int findPriorityForClass(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
getstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iload 1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
getstatic org.springframework.aop.config.AopConfigUtils.APC_PRIORITY_LIST:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 1 7: new java.lang.IllegalArgumentException
dup
8: new java.lang.StringBuilder
dup
ldc "Class name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] is not a known auto-proxy creator class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 className Ljava/lang/String;
1 7 1 i I
3 5 2 clazz Ljava/lang/Class<*>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
className
}
SourceFile: "AopConfigUtils.java"