class sun.reflect.annotation.AnnotationInvocationHandler implements java.lang.reflect.InvocationHandler, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.reflect.annotation.AnnotationInvocationHandler
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6182022883658399397
private final java.lang.Class<? extends java.lang.annotation.Annotation> type;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
private final java.util.Map<java.lang.String, java.lang.Object> memberValues;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private volatile transient java.lang.reflect.Method[] memberMethods;
descriptor: [Ljava/lang/reflect/Method;
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/reflect/annotation/AnnotationInvocationHandler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.reflect.annotation.AnnotationInvocationHandler.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.reflect.annotation.AnnotationInvocationHandler.memberMethods:[Ljava/lang/reflect/Method;
2: aload 1
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
astore 3
start local 3 3: aload 1
invokevirtual java.lang.Class.isAnnotation:()Z
ifeq 6
4: aload 3
arraylength
iconst_1
if_icmpne 6
5: aload 3
iconst_0
aaload
ldc Ljava/lang/annotation/Annotation;
if_acmpeq 7
6: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.Class java.util.Map java.lang.Class[]
StackMap stack:
new java.lang.annotation.AnnotationFormatError
dup
ldc "Attempt to create proxy for a non-annotation type."
invokespecial java.lang.annotation.AnnotationFormatError.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.reflect.annotation.AnnotationInvocationHandler.type:Ljava/lang/Class;
8: aload 0
aload 2
putfield sun.reflect.annotation.AnnotationInvocationHandler.memberValues:Ljava/util/Map;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 10 1 type Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
0 10 2 memberValues Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
3 10 3 superInterfaces [Ljava/lang/Class;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
type
memberValues
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 4
start local 4 1: aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 5
start local 5 2: aload 4
ldc "equals"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 5
arraylength
iconst_1
if_icmpne 5
3: aload 5
iconst_0
aaload
ldc Ljava/lang/Object;
if_acmpne 5
4: aload 0
aload 3
iconst_0
aaload
invokevirtual sun.reflect.annotation.AnnotationInvocationHandler.equalsImpl:(Ljava/lang/Object;)Ljava/lang/Boolean;
areturn
5: StackMap locals: java.lang.String java.lang.Class[]
StackMap stack:
aload 5
arraylength
ifeq 7
6: new java.lang.AssertionError
dup
ldc "Too many parameters for an annotation method"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
ldc "toString"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 0
invokevirtual sun.reflect.annotation.AnnotationInvocationHandler.toStringImpl:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
ldc "hashCode"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: aload 0
invokevirtual sun.reflect.annotation.AnnotationInvocationHandler.hashCodeImpl:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
11: StackMap locals:
StackMap stack:
ldc "annotationType"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.type:Ljava/lang/Class;
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberValues:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 14: aload 6
ifnonnull 16
15: new java.lang.annotation.IncompleteAnnotationException
dup
aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.type:Ljava/lang/Class;
aload 4
invokespecial java.lang.annotation.IncompleteAnnotationException.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
athrow
16: StackMap locals: java.lang.Object
StackMap stack:
aload 6
instanceof sun.reflect.annotation.ExceptionProxy
ifeq 18
17: aload 6
checkcast sun.reflect.annotation.ExceptionProxy
invokevirtual sun.reflect.annotation.ExceptionProxy.generateException:()Ljava/lang/RuntimeException;
athrow
18: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 20
aload 6
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
ifeq 20
19: aload 0
aload 6
invokevirtual sun.reflect.annotation.AnnotationInvocationHandler.cloneArray:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
20: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 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 21 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 21 1 proxy Ljava/lang/Object;
0 21 2 method Ljava/lang/reflect/Method;
0 21 3 args [Ljava/lang/Object;
1 21 4 member Ljava/lang/String;
2 21 5 paramTypes [Ljava/lang/Class;
14 21 6 result Ljava/lang/Object;
MethodParameters:
Name Flags
proxy
method
args
private java.lang.Object cloneArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, 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
ldc [B
if_acmpne 4
2: aload 1
checkcast byte[]
astore 3
start local 3 3: aload 3
invokevirtual byte[].clone:()Ljava/lang/Object;
areturn
end local 3 4: StackMap locals: java.lang.Class
StackMap stack:
aload 2
ldc [C
if_acmpne 7
5: aload 1
checkcast char[]
astore 3
start local 3 6: aload 3
invokevirtual char[].clone:()Ljava/lang/Object;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
ldc [D
if_acmpne 10
8: aload 1
checkcast double[]
astore 3
start local 3 9: aload 3
invokevirtual double[].clone:()Ljava/lang/Object;
areturn
end local 3 10: StackMap locals:
StackMap stack:
aload 2
ldc [F
if_acmpne 13
11: aload 1
checkcast float[]
astore 3
start local 3 12: aload 3
invokevirtual float[].clone:()Ljava/lang/Object;
areturn
end local 3 13: StackMap locals:
StackMap stack:
aload 2
ldc [I
if_acmpne 16
14: aload 1
checkcast int[]
astore 3
start local 3 15: aload 3
invokevirtual int[].clone:()Ljava/lang/Object;
areturn
end local 3 16: StackMap locals:
StackMap stack:
aload 2
ldc [J
if_acmpne 19
17: aload 1
checkcast long[]
astore 3
start local 3 18: aload 3
invokevirtual long[].clone:()Ljava/lang/Object;
areturn
end local 3 19: StackMap locals:
StackMap stack:
aload 2
ldc [S
if_acmpne 22
20: aload 1
checkcast short[]
astore 3
start local 3 21: aload 3
invokevirtual short[].clone:()Ljava/lang/Object;
areturn
end local 3 22: StackMap locals:
StackMap stack:
aload 2
ldc [Z
if_acmpne 25
23: aload 1
checkcast boolean[]
astore 3
start local 3 24: aload 3
invokevirtual boolean[].clone:()Ljava/lang/Object;
areturn
end local 3 25: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.Object[]
astore 3
start local 3 26: aload 3
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 27 1 array Ljava/lang/Object;
1 27 2 type Ljava/lang/Class<*>;
3 4 3 byteArray [B
6 7 3 charArray [C
9 10 3 doubleArray [D
12 13 3 floatArray [F
15 16 3 intArray [I
18 19 3 longArray [J
21 22 3 shortArray [S
24 25 3 booleanArray [Z
26 27 3 objectArray [Ljava/lang/Object;
MethodParameters:
Name Flags
array
private java.lang.String toStringImpl();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 128
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 1
bipush 64
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.type:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: iconst_1
istore 2
start local 2 5: aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberValues:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 7: iload 2
ifeq 9
8: iconst_0
istore 2
goto 10
9: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.StringBuilder int java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 1
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokestatic sun.reflect.annotation.AnnotationInvocationHandler.memberValueToString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 13: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
1 16 1 result Ljava/lang/StringBuilder;
5 16 2 firstMember Z
7 13 3 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
private static java.lang.String memberValueToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Class.isArray:()Z
ifne 3
2: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
ldc [B
if_acmpne 5
4: aload 0
checkcast byte[]
invokestatic java.util.Arrays.toString:([B)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 1
ldc [C
if_acmpne 7
6: aload 0
checkcast char[]
invokestatic java.util.Arrays.toString:([C)Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
aload 1
ldc [D
if_acmpne 9
8: aload 0
checkcast double[]
invokestatic java.util.Arrays.toString:([D)Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 1
ldc [F
if_acmpne 11
10: aload 0
checkcast float[]
invokestatic java.util.Arrays.toString:([F)Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 1
ldc [I
if_acmpne 13
12: aload 0
checkcast int[]
invokestatic java.util.Arrays.toString:([I)Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 1
ldc [J
if_acmpne 15
14: aload 0
checkcast long[]
invokestatic java.util.Arrays.toString:([J)Ljava/lang/String;
areturn
15: StackMap locals:
StackMap stack:
aload 1
ldc [S
if_acmpne 17
16: aload 0
checkcast short[]
invokestatic java.util.Arrays.toString:([S)Ljava/lang/String;
areturn
17: StackMap locals:
StackMap stack:
aload 1
ldc [Z
if_acmpne 19
18: aload 0
checkcast boolean[]
invokestatic java.util.Arrays.toString:([Z)Ljava/lang/String;
areturn
19: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.Object[]
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 value Ljava/lang/Object;
1 20 1 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
value
private java.lang.Boolean equalsImpl(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.type:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.reflect.annotation.AnnotationInvocationHandler.getMemberMethods:()[Ljava/lang/reflect/Method;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 22
StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.Object top int int java.lang.reflect.Method[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 6
start local 6 7: aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberValues:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 8: aconst_null
astore 8
start local 8 9: aload 0
aload 1
invokevirtual sun.reflect.annotation.AnnotationInvocationHandler.asOneOfUs:(Ljava/lang/Object;)Lsun/reflect/annotation/AnnotationInvocationHandler;
astore 9
start local 9 10: aload 9
ifnull 13
11: aload 9
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberValues:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
12: goto 19
13: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.Object java.lang.reflect.Method int int java.lang.reflect.Method[] java.lang.String java.lang.Object java.lang.Object sun.reflect.annotation.AnnotationInvocationHandler
StackMap stack:
aload 2
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 8
14: goto 19
StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
15: pop
16: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
17: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 10
start local 10 18: new java.lang.AssertionError
dup
aload 10
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 10 19: StackMap locals:
StackMap stack:
aload 7
aload 8
invokestatic sun.reflect.annotation.AnnotationInvocationHandler.memberValueEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 21
20: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 9 end local 8 end local 7 end local 6 end local 2 21: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.Object top int int java.lang.reflect.Method[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 4
if_icmplt 5
23: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 24 1 o Ljava/lang/Object;
6 21 2 memberMethod Ljava/lang/reflect/Method;
7 21 6 member Ljava/lang/String;
8 21 7 ourValue Ljava/lang/Object;
9 21 8 hisValue Ljava/lang/Object;
10 21 9 hisHandler Lsun/reflect/annotation/AnnotationInvocationHandler;
18 19 10 e Ljava/lang/IllegalAccessException;
Exception table:
from to target type
13 14 15 Class java.lang.reflect.InvocationTargetException
13 14 17 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
o
private sun.reflect.annotation.AnnotationInvocationHandler asOneOfUs(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lsun/reflect/annotation/AnnotationInvocationHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
ifeq 4
1: aload 1
invokestatic java.lang.reflect.Proxy.getInvocationHandler:(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
astore 2
start local 2 2: aload 2
instanceof sun.reflect.annotation.AnnotationInvocationHandler
ifeq 4
3: aload 2
checkcast sun.reflect.annotation.AnnotationInvocationHandler
areturn
end local 2 4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 5 1 o Ljava/lang/Object;
2 4 2 handler Ljava/lang/reflect/InvocationHandler;
MethodParameters:
Name Flags
o
private static boolean memberValueEquals(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.isArray:()Z
ifne 3
2: aload 0
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
instanceof java.lang.Object[]
ifeq 5
aload 1
instanceof java.lang.Object[]
ifeq 5
4: aload 0
checkcast java.lang.Object[]
aload 1
checkcast java.lang.Object[]
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
if_acmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 2
ldc [B
if_acmpne 9
8: aload 0
checkcast byte[]
aload 1
checkcast byte[]
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
9: StackMap locals:
StackMap stack:
aload 2
ldc [C
if_acmpne 11
10: aload 0
checkcast char[]
aload 1
checkcast char[]
invokestatic java.util.Arrays.equals:([C[C)Z
ireturn
11: StackMap locals:
StackMap stack:
aload 2
ldc [D
if_acmpne 13
12: aload 0
checkcast double[]
aload 1
checkcast double[]
invokestatic java.util.Arrays.equals:([D[D)Z
ireturn
13: StackMap locals:
StackMap stack:
aload 2
ldc [F
if_acmpne 15
14: aload 0
checkcast float[]
aload 1
checkcast float[]
invokestatic java.util.Arrays.equals:([F[F)Z
ireturn
15: StackMap locals:
StackMap stack:
aload 2
ldc [I
if_acmpne 17
16: aload 0
checkcast int[]
aload 1
checkcast int[]
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
17: StackMap locals:
StackMap stack:
aload 2
ldc [J
if_acmpne 19
18: aload 0
checkcast long[]
aload 1
checkcast long[]
invokestatic java.util.Arrays.equals:([J[J)Z
ireturn
19: StackMap locals:
StackMap stack:
aload 2
ldc [S
if_acmpne 21
20: aload 0
checkcast short[]
aload 1
checkcast short[]
invokestatic java.util.Arrays.equals:([S[S)Z
ireturn
21: StackMap locals:
StackMap stack:
getstatic sun.reflect.annotation.AnnotationInvocationHandler.$assertionsDisabled:Z
ifne 22
aload 2
ldc [Z
if_acmpeq 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 0
checkcast boolean[]
aload 1
checkcast boolean[]
invokestatic java.util.Arrays.equals:([Z[Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 v1 Ljava/lang/Object;
0 23 1 v2 Ljava/lang/Object;
1 23 2 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
v1
v2
private java.lang.reflect.Method[] getMemberMethods();
descriptor: ()[Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberMethods:[Ljava/lang/reflect/Method;
ifnonnull 4
1: aload 0
2: new sun.reflect.annotation.AnnotationInvocationHandler$1
dup
aload 0
invokespecial sun.reflect.annotation.AnnotationInvocationHandler$1.<init>:(Lsun/reflect/annotation/AnnotationInvocationHandler;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
putfield sun.reflect.annotation.AnnotationInvocationHandler.memberMethods:[Ljava/lang/reflect/Method;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberMethods:[Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
private void validateAnnotationMethods(java.lang.reflect.Method[]);
descriptor: ([Ljava/lang/reflect/Method;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 28
StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.reflect.Method[] int top int int java.lang.reflect.Method[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
sipush 1025
if_icmpne 6
4: aload 3
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifne 6
5: aload 3
invokevirtual java.lang.reflect.Method.getExceptionTypes:()[Ljava/lang/Class;
arraylength
ifeq 8
6: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.reflect.Method[] int java.lang.reflect.Method int int java.lang.reflect.Method[]
StackMap stack:
iconst_0
istore 2
7: goto 29
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 7
start local 7 9: aload 7
invokevirtual java.lang.Class.isArray:()Z
ifeq 14
10: aload 7
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 7
11: aload 7
invokevirtual java.lang.Class.isArray:()Z
ifeq 14
12: iconst_0
istore 2
13: goto 29
14: StackMap locals: java.lang.Class
StackMap stack:
aload 7
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 15
aload 7
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpne 21
15: StackMap locals:
StackMap stack:
aload 7
ldc Ljava/lang/String;
if_acmpeq 21
16: aload 7
ldc Ljava/lang/Class;
if_acmpeq 21
17: aload 7
invokevirtual java.lang.Class.isEnum:()Z
ifne 21
18: aload 7
invokevirtual java.lang.Class.isAnnotation:()Z
ifne 21
19: iconst_0
istore 2
20: goto 29
21: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 8
start local 8 22: aload 8
ldc "toString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
aload 7
ldc Ljava/lang/String;
if_acmpeq 25
23: StackMap locals: java.lang.String
StackMap stack:
aload 8
ldc "hashCode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
aload 7
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpeq 25
24: StackMap locals:
StackMap stack:
aload 8
ldc "annotationType"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
aload 7
ldc Ljava/lang/Class;
if_acmpne 27
25: StackMap locals:
StackMap stack:
iconst_0
istore 2
26: goto 29
end local 8 end local 7 end local 3 27: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.reflect.Method[] int top int int java.lang.reflect.Method[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
28: iload 4
iload 5
if_icmplt 2
29: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.lang.reflect.Method[] int
StackMap stack:
iload 2
ifeq 31
30: return
31: StackMap locals:
StackMap stack:
new java.lang.annotation.AnnotationFormatError
dup
ldc "Malformed method on an annotation type"
invokespecial java.lang.annotation.AnnotationFormatError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 32 1 memberMethods [Ljava/lang/reflect/Method;
1 32 2 valid Z
3 27 3 method Ljava/lang/reflect/Method;
9 27 7 returnType Ljava/lang/Class<*>;
22 27 8 methodName Ljava/lang/String;
MethodParameters:
Name Flags
memberMethods
private int hashCodeImpl();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield sun.reflect.annotation.AnnotationInvocationHandler.memberValues:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: iload 1
bipush 127
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.hashCode:()I
imul
4: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokestatic sun.reflect.annotation.AnnotationInvocationHandler.memberValueHashCode:(Ljava/lang/Object;)I
5: ixor
iadd
istore 1
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
1 8 1 result I
3 6 2 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
private static int memberValueHashCode(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Class.isArray:()Z
ifne 3
2: aload 0
invokevirtual java.lang.Object.hashCode:()I
ireturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
ldc [B
if_acmpne 5
4: aload 0
checkcast byte[]
invokestatic java.util.Arrays.hashCode:([B)I
ireturn
5: StackMap locals:
StackMap stack:
aload 1
ldc [C
if_acmpne 7
6: aload 0
checkcast char[]
invokestatic java.util.Arrays.hashCode:([C)I
ireturn
7: StackMap locals:
StackMap stack:
aload 1
ldc [D
if_acmpne 9
8: aload 0
checkcast double[]
invokestatic java.util.Arrays.hashCode:([D)I
ireturn
9: StackMap locals:
StackMap stack:
aload 1
ldc [F
if_acmpne 11
10: aload 0
checkcast float[]
invokestatic java.util.Arrays.hashCode:([F)I
ireturn
11: StackMap locals:
StackMap stack:
aload 1
ldc [I
if_acmpne 13
12: aload 0
checkcast int[]
invokestatic java.util.Arrays.hashCode:([I)I
ireturn
13: StackMap locals:
StackMap stack:
aload 1
ldc [J
if_acmpne 15
14: aload 0
checkcast long[]
invokestatic java.util.Arrays.hashCode:([J)I
ireturn
15: StackMap locals:
StackMap stack:
aload 1
ldc [S
if_acmpne 17
16: aload 0
checkcast short[]
invokestatic java.util.Arrays.hashCode:([S)I
ireturn
17: StackMap locals:
StackMap stack:
aload 1
ldc [Z
if_acmpne 19
18: aload 0
checkcast boolean[]
invokestatic java.util.Arrays.hashCode:([Z)I
ireturn
19: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.Object[]
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 value Ljava/lang/Object;
1 20 1 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
value
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=13, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "type"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 2: aload 2
ldc "memberValues"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aload 3
invokestatic sun.reflect.annotation.AnnotationType.getInstance:(Ljava/lang/Class;)Lsun/reflect/annotation/AnnotationType;
astore 5
5: goto 8
StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.io.ObjectInputStream java.io.ObjectInputStream$GetField java.lang.Class java.util.Map sun.reflect.annotation.AnnotationType
StackMap stack: java.lang.IllegalArgumentException
6: pop
7: new java.io.InvalidObjectException
dup
ldc "Non-annotation type in annotation serial stream"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.reflect.annotation.AnnotationType.memberTypes:()Ljava/util/Map;
astore 6
start local 6 9: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 7
start local 7 10: aload 4
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 26
StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.io.ObjectInputStream java.io.ObjectInputStream$GetField java.lang.Class java.util.Map sun.reflect.annotation.AnnotationType java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
11: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 12: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 13: aconst_null
astore 11
start local 11 14: aload 6
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 12
start local 12 15: aload 12
ifnull 25
16: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
astore 11
17: aload 12
aload 11
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 25
18: aload 11
instanceof sun.reflect.annotation.ExceptionProxy
ifne 25
19: new sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy
dup
20: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 11
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy.<init>:(Ljava/lang/String;)V
22: aload 5
invokevirtual sun.reflect.annotation.AnnotationType.members:()Ljava/util/Map;
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
23: invokevirtual sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy.setMember:(Ljava/lang/reflect/Method;)Lsun/reflect/annotation/AnnotationTypeMismatchExceptionProxy;
24: astore 11
25: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.io.ObjectInputStream java.io.ObjectInputStream$GetField java.lang.Class java.util.Map sun.reflect.annotation.AnnotationType java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.lang.Object java.lang.Class
StackMap stack:
aload 7
aload 10
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 end local 11 end local 10 end local 8 26: StackMap locals: sun.reflect.annotation.AnnotationInvocationHandler java.io.ObjectInputStream java.io.ObjectInputStream$GetField java.lang.Class java.util.Map sun.reflect.annotation.AnnotationType java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
27: aload 0
aload 3
invokestatic sun.reflect.annotation.AnnotationInvocationHandler$UnsafeAccessor.setType:(Lsun/reflect/annotation/AnnotationInvocationHandler;Ljava/lang/Class;)V
28: aload 0
aload 7
invokestatic sun.reflect.annotation.AnnotationInvocationHandler$UnsafeAccessor.setMemberValues:(Lsun/reflect/annotation/AnnotationInvocationHandler;Ljava/util/Map;)V
29: return
end local 7 end local 6 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 30 0 this Lsun/reflect/annotation/AnnotationInvocationHandler;
0 30 1 s Ljava/io/ObjectInputStream;
1 30 2 fields Ljava/io/ObjectInputStream$GetField;
2 30 3 t Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
3 30 4 streamVals Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 30 5 annotationType Lsun/reflect/annotation/AnnotationType;
9 30 6 memberTypes Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
10 30 7 mv Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
12 26 8 memberValue Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
13 26 10 name Ljava/lang/String;
14 26 11 value Ljava/lang/Object;
15 26 12 memberType Ljava/lang/Class<*>;
Exception table:
from to target type
4 5 6 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "AnnotationInvocationHandler.java"
NestMembers:
sun.reflect.annotation.AnnotationInvocationHandler$1 sun.reflect.annotation.AnnotationInvocationHandler$UnsafeAccessor
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public abstract Entry = java.util.Map$Entry of java.util.Map
sun.reflect.annotation.AnnotationInvocationHandler$1
private UnsafeAccessor = sun.reflect.annotation.AnnotationInvocationHandler$UnsafeAccessor of sun.reflect.annotation.AnnotationInvocationHandler