abstract class org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor extends org.springframework.aop.aspectj.RuntimeTestWalker$TestVisitorAdapter
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor
super_class: org.springframework.aop.aspectj.RuntimeTestWalker$TestVisitorAdapter
{
private final java.lang.Class<?> matchClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private boolean matches;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final int matchVarType;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Class<?>, boolean, );
descriptor: (Ljava/lang/Class;ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.springframework.aop.aspectj.RuntimeTestWalker$TestVisitorAdapter.<init>:()V
1: aload 0
aload 1
putfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matchClass:Ljava/lang/Class;
2: aload 0
iload 2
putfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matches:Z
3: aload 0
iload 3
putfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matchVarType:I
4: 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/aop/aspectj/RuntimeTestWalker$InstanceOfResidueTestVisitor;
0 5 1 matchClass Ljava/lang/Class<*>;
0 5 2 defaultMatches Z
0 5 3 matchVarType I
Signature: (Ljava/lang/Class<*>;ZI)V
MethodParameters:
Name Flags
matchClass
defaultMatches
matchVarType
public boolean instanceOfMatches(org.aspectj.weaver.ast.Test);
descriptor: (Lorg/aspectj/weaver/ast/Test;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.aspectj.weaver.ast.Test.accept:(Lorg/aspectj/weaver/ast/ITestVisitor;)V
1: aload 0
getfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matches:Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/aspectj/RuntimeTestWalker$InstanceOfResidueTestVisitor;
0 2 1 test Lorg/aspectj/weaver/ast/Test;
MethodParameters:
Name Flags
test
public void visit(org.aspectj.weaver.ast.Instanceof);
descriptor: (Lorg/aspectj/weaver/ast/Instanceof;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.aspectj.weaver.ast.Instanceof.getVar:()Lorg/aspectj/weaver/ast/Var;
checkcast org.aspectj.weaver.reflect.ReflectionVar
invokevirtual org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.getVarType:(Lorg/aspectj/weaver/reflect/ReflectionVar;)I
istore 2
start local 2 1: iload 2
aload 0
getfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matchVarType:I
if_icmpeq 3
2: return
3: StackMap locals: int
StackMap stack:
aconst_null
astore 3
start local 3 4: aload 1
invokevirtual org.aspectj.weaver.ast.Instanceof.getType:()Lorg/aspectj/weaver/UnresolvedType;
checkcast org.aspectj.weaver.ResolvedType
astore 4
start local 4 5: aload 4
instanceof org.aspectj.weaver.ReferenceType
ifeq 13
6: aload 4
checkcast org.aspectj.weaver.ReferenceType
invokevirtual org.aspectj.weaver.ReferenceType.getDelegate:()Lorg/aspectj/weaver/ReferenceTypeDelegate;
astore 5
start local 5 7: aload 5
instanceof org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate
ifeq 13
8: getstatic org.springframework.aop.aspectj.RuntimeTestWalker.myClassField:Ljava/lang/reflect/Field;
invokestatic org.springframework.util.ReflectionUtils.makeAccessible:(Ljava/lang/reflect/Field;)V
9: getstatic org.springframework.aop.aspectj.RuntimeTestWalker.myClassField:Ljava/lang/reflect/Field;
aload 5
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 3
10: goto 13
11: StackMap locals: org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor org.aspectj.weaver.ast.Instanceof int java.lang.Class org.aspectj.weaver.ResolvedType org.aspectj.weaver.ReferenceTypeDelegate
StackMap stack: java.lang.IllegalAccessException
astore 6
start local 6 12: new java.lang.IllegalStateException
dup
aload 6
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 13: StackMap locals:
StackMap stack:
aload 3
ifnonnull 15
14: aload 4
invokevirtual org.aspectj.weaver.ResolvedType.getName:()Ljava/lang/String;
aload 0
getfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matchClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
15: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 0
getfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matchClass:Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
putfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matches:Z
16: goto 19
17: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
18: aload 0
iconst_0
putfield org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.matches:Z
19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/springframework/aop/aspectj/RuntimeTestWalker$InstanceOfResidueTestVisitor;
0 20 1 i Lorg/aspectj/weaver/ast/Instanceof;
1 20 2 varType I
4 20 3 typeClass Ljava/lang/Class<*>;
5 20 4 type Lorg/aspectj/weaver/ResolvedType;
7 13 5 delegate Lorg/aspectj/weaver/ReferenceTypeDelegate;
12 13 6 ex Ljava/lang/IllegalAccessException;
Exception table:
from to target type
8 10 11 Class java.lang.IllegalAccessException
13 16 17 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
i
}
SourceFile: "RuntimeTestWalker.java"
NestHost: org.springframework.aop.aspectj.RuntimeTestWalker
InnerClasses:
private abstract InstanceOfResidueTestVisitor = org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor of org.springframework.aop.aspectj.RuntimeTestWalker
private TestVisitorAdapter = org.springframework.aop.aspectj.RuntimeTestWalker$TestVisitorAdapter of org.springframework.aop.aspectj.RuntimeTestWalker