public class org.springframework.aop.aspectj.annotation.AspectJProxyFactory extends org.springframework.aop.framework.ProxyCreatorSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.aop.aspectj.annotation.AspectJProxyFactory
super_class: org.springframework.aop.framework.ProxyCreatorSupport
{
private static final java.util.Map<java.lang.Class<?>, java.lang.Object> aspectCache;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Object;>;
private final org.springframework.aop.aspectj.annotation.AspectJAdvisorFactory aspectFactory;
descriptor: Lorg/springframework/aop/aspectj/annotation/AspectJAdvisorFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectCache:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.aop.framework.ProxyCreatorSupport.<init>:()V
1: aload 0
new org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory
dup
invokespecial org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.<init>:()V
putfield org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectFactory:Lorg/springframework/aop/aspectj/annotation/AspectJAdvisorFactory;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.aop.framework.ProxyCreatorSupport.<init>:()V
1: aload 0
new org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory
dup
invokespecial org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.<init>:()V
putfield org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectFactory:Lorg/springframework/aop/aspectj/annotation/AspectJAdvisorFactory;
2: aload 1
ldc "Target object must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
invokestatic org.springframework.util.ClassUtils.getAllInterfaces:(Ljava/lang/Object;)[Ljava/lang/Class;
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.setInterfaces:([Ljava/lang/Class;)V
4: aload 0
aload 1
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.setTarget:(Ljava/lang/Object;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 6 1 target Ljava/lang/Object;
MethodParameters:
Name Flags
target
public void <init>(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.aop.framework.ProxyCreatorSupport.<init>:()V
1: aload 0
new org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory
dup
invokespecial org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory.<init>:()V
putfield org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectFactory:Lorg/springframework/aop/aspectj/annotation/AspectJAdvisorFactory;
2: aload 0
aload 1
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.setInterfaces:([Ljava/lang/Class;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 4 1 interfaces [Ljava/lang/Class;
Signature: ([Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
interfaces
public void addAspect(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 2
aload 3
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.createAspectMetadata:(Ljava/lang/Class;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
astore 4
start local 4 3: aload 4
invokevirtual org.springframework.aop.aspectj.annotation.AspectMetadata.getAjType:()Lorg/aspectj/lang/reflect/AjType;
invokeinterface org.aspectj.lang.reflect.AjType.getPerClause:()Lorg/aspectj/lang/reflect/PerClause;
invokeinterface org.aspectj.lang.reflect.PerClause.getKind:()Lorg/aspectj/lang/reflect/PerClauseKind;
getstatic org.aspectj.lang.reflect.PerClauseKind.SINGLETON:Lorg/aspectj/lang/reflect/PerClauseKind;
if_acmpeq 7
4: new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "Aspect class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] does not define a singleton aspect"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Class java.lang.String org.springframework.aop.aspectj.annotation.AspectMetadata
StackMap stack:
aload 0
8: new org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory
dup
aload 1
aload 3
invokespecial org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
9: invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.addAdvisorsFromAspectInstanceFactory:(Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 11 1 aspectInstance Ljava/lang/Object;
1 11 2 aspectClass Ljava/lang/Class<*>;
2 11 3 aspectName Ljava/lang/String;
3 11 4 am Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
MethodParameters:
Name Flags
aspectInstance
public void addAspect(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.createAspectMetadata:(Ljava/lang/Class;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
astore 3
start local 3 2: aload 0
aload 3
aload 1
aload 2
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.createAspectInstanceFactory:(Lorg/springframework/aop/aspectj/annotation/AspectMetadata;Ljava/lang/Class;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
astore 4
start local 4 3: aload 0
aload 4
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.addAdvisorsFromAspectInstanceFactory:(Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 5 1 aspectClass Ljava/lang/Class<*>;
1 5 2 aspectName Ljava/lang/String;
2 5 3 am Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
3 5 4 instanceFactory Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
aspectClass
private void addAdvisorsFromAspectInstanceFactory(org.springframework.aop.aspectj.annotation.MetadataAwareAspectInstanceFactory);
descriptor: (Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectFactory:Lorg/springframework/aop/aspectj/annotation/AspectJAdvisorFactory;
aload 1
invokeinterface org.springframework.aop.aspectj.annotation.AspectJAdvisorFactory.getAdvisors:(Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;)Ljava/util/List;
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.getTargetClass:()Ljava/lang/Class;
astore 3
start local 3 2: aload 3
ifnull 3
iconst_1
goto 4
StackMap locals: java.util.List java.lang.Class
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ldc "Unresolvable target class"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
5: aload 2
aload 3
invokestatic org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
astore 2
6: aload 2
invokestatic org.springframework.aop.aspectj.AspectJProxyUtils.makeAdvisorChainAspectJCapableIfNecessary:(Ljava/util/List;)Z
pop
7: aload 2
invokestatic org.springframework.core.annotation.AnnotationAwareOrderComparator.sort:(Ljava/util/List;)V
8: aload 0
aload 2
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.addAdvisors:(Ljava/util/Collection;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 10 1 instanceFactory Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
1 10 2 advisors Ljava/util/List<Lorg/springframework/aop/Advisor;>;
2 10 3 targetClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
instanceFactory
private org.springframework.aop.aspectj.annotation.AspectMetadata createAspectMetadata(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.aop.aspectj.annotation.AspectMetadata
dup
aload 1
aload 2
invokespecial org.springframework.aop.aspectj.annotation.AspectMetadata.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
invokevirtual org.springframework.aop.aspectj.annotation.AspectMetadata.getAjType:()Lorg/aspectj/lang/reflect/AjType;
invokeinterface org.aspectj.lang.reflect.AjType.isAspect:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] is not a valid aspect type"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.springframework.aop.aspectj.annotation.AspectMetadata
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 4 1 aspectClass Ljava/lang/Class<*>;
0 4 2 aspectName Ljava/lang/String;
1 4 3 am Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
MethodParameters:
Name Flags
aspectClass
aspectName
private org.springframework.aop.aspectj.annotation.MetadataAwareAspectInstanceFactory createAspectInstanceFactory(org.springframework.aop.aspectj.annotation.AspectMetadata, java.lang.Class<?>, java.lang.String);
descriptor: (Lorg/springframework/aop/aspectj/annotation/AspectMetadata;Ljava/lang/Class;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.springframework.aop.aspectj.annotation.AspectMetadata.getAjType:()Lorg/aspectj/lang/reflect/AjType;
invokeinterface org.aspectj.lang.reflect.AjType.getPerClause:()Lorg/aspectj/lang/reflect/PerClause;
invokeinterface org.aspectj.lang.reflect.PerClause.getKind:()Lorg/aspectj/lang/reflect/PerClauseKind;
getstatic org.aspectj.lang.reflect.PerClauseKind.SINGLETON:Lorg/aspectj/lang/reflect/PerClauseKind;
if_acmpne 4
1: aload 0
aload 2
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.getSingletonAspectInstance:(Ljava/lang/Class;)Ljava/lang/Object;
astore 5
start local 5 2: new org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory
dup
aload 5
aload 3
invokespecial org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
astore 4
end local 5 start local 4 3: goto 5
end local 4 4: StackMap locals:
StackMap stack:
new org.springframework.aop.aspectj.annotation.SimpleMetadataAwareAspectInstanceFactory
dup
aload 2
aload 3
invokespecial org.springframework.aop.aspectj.annotation.SimpleMetadataAwareAspectInstanceFactory.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
astore 4
start local 4 5: StackMap locals: org.springframework.aop.aspectj.annotation.MetadataAwareAspectInstanceFactory
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 6 1 am Lorg/springframework/aop/aspectj/annotation/AspectMetadata;
0 6 2 aspectClass Ljava/lang/Class<*>;
0 6 3 aspectName Ljava/lang/String;
3 4 4 instanceFactory Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
5 6 4 instanceFactory Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
2 3 5 instance Ljava/lang/Object;
Signature: (Lorg/springframework/aop/aspectj/annotation/AspectMetadata;Ljava/lang/Class<*>;Ljava/lang/String;)Lorg/springframework/aop/aspectj/annotation/MetadataAwareAspectInstanceFactory;
MethodParameters:
Name Flags
am
aspectClass
aspectName
private getSingletonAspectInstance(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectCache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 11
2: getstatic org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectCache:Ljava/util/Map;
dup
astore 3
monitorenter
3: getstatic org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectCache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
4: aload 2
ifnonnull 7
5: new org.springframework.aop.aspectj.SimpleAspectInstanceFactory
dup
aload 1
invokespecial org.springframework.aop.aspectj.SimpleAspectInstanceFactory.<init>:(Ljava/lang/Class;)V
invokevirtual org.springframework.aop.aspectj.SimpleAspectInstanceFactory.getAspectInstance:()Ljava/lang/Object;
astore 2
6: getstatic org.springframework.aop.aspectj.annotation.AspectJProxyFactory.aspectCache:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: java.lang.Object java.util.Map
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 12 1 aspectClass Ljava/lang/Class<*>;
1 12 2 instance Ljava/lang/Object;
Exception table:
from to target type
3 8 9 any
9 10 9 any
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
aspectClass
public <T> T getProxy();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.createAopProxy:()Lorg/springframework/aop/framework/AopProxy;
invokeinterface org.springframework.aop.framework.AopProxy.getProxy:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
Signature: <T:Ljava/lang/Object;>()TT;
public <T> T getProxy(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.aop.aspectj.annotation.AspectJProxyFactory.createAopProxy:()Lorg/springframework/aop/framework/AopProxy;
aload 1
invokeinterface org.springframework.aop.framework.AopProxy.getProxy:(Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/aspectj/annotation/AspectJProxyFactory;
0 1 1 classLoader Ljava/lang/ClassLoader;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/ClassLoader;)TT;
MethodParameters:
Name Flags
classLoader
}
SourceFile: "AspectJProxyFactory.java"