class com.sun.codemodel.internal.TypedAnnotationWriter<A extends java.lang.annotation.Annotation, W extends com.sun.codemodel.internal.JAnnotationWriter<A>> implements java.lang.reflect.InvocationHandler, com.sun.codemodel.internal.JAnnotationWriter<A>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.codemodel.internal.TypedAnnotationWriter
super_class: java.lang.Object
{
private final com.sun.codemodel.internal.JAnnotationUse use;
descriptor: Lcom/sun/codemodel/internal/JAnnotationUse;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<A> annotation;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TA;>;
private final java.lang.Class<W> writerType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TW;>;
private java.util.Map<java.lang.String, com.sun.codemodel.internal.JAnnotationArrayMember> arrays;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/codemodel/internal/JAnnotationArrayMember;>;
public void <init>(java.lang.Class<A>, java.lang.Class<W>, com.sun.codemodel.internal.JAnnotationUse);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotationUse;)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 java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.codemodel.internal.TypedAnnotationWriter.annotation:Ljava/lang/Class;
2: aload 0
aload 2
putfield com.sun.codemodel.internal.TypedAnnotationWriter.writerType:Ljava/lang/Class;
3: aload 0
aload 3
putfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
0 5 1 annotation Ljava/lang/Class<TA;>;
0 5 2 writer Ljava/lang/Class<TW;>;
0 5 3 use Lcom/sun/codemodel/internal/JAnnotationUse;
Signature: (Ljava/lang/Class<TA;>;Ljava/lang/Class<TW;>;Lcom/sun/codemodel/internal/JAnnotationUse;)V
MethodParameters:
Name Flags
annotation
writer
use
public com.sun.codemodel.internal.JAnnotationUse getAnnotationUse();
descriptor: ()Lcom/sun/codemodel/internal/JAnnotationUse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
public java.lang.Class<A> getAnnotationType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.annotation:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
Signature: ()Ljava/lang/Class<TA;>;
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=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Lcom/sun/codemodel/internal/JAnnotationWriter;
if_acmpne 5
1: aload 2
aload 0
aload 3
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 4
start local 4 4: aload 4
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
athrow
end local 4 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: aload 3
ifnull 9
aload 3
arraylength
ifle 9
8: aload 3
iconst_0
aaload
astore 5
9: StackMap locals: java.lang.String java.lang.Object
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.annotation:Ljava/lang/Class;
aload 4
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 6
start local 6 10: aload 6
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 7
start local 7 11: aload 7
invokevirtual java.lang.Class.isArray:()Z
ifeq 13
12: aload 0
aload 1
aload 4
aload 7
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 5
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.addArrayValue:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
areturn
13: StackMap locals: java.lang.reflect.Method java.lang.Class
StackMap stack:
ldc Ljava/lang/annotation/Annotation;
aload 7
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 20
14: aload 7
astore 8
start local 8 15: new com.sun.codemodel.internal.TypedAnnotationWriter
dup
16: aload 8
aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 8
invokevirtual com.sun.codemodel.internal.JAnnotationUse.annotationParam:(Ljava/lang/String;Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
17: invokespecial com.sun.codemodel.internal.TypedAnnotationWriter.<init>:(Ljava/lang/Class;Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotationUse;)V
18: invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.createProxy:()Lcom/sun/codemodel/internal/JAnnotationWriter;
19: areturn
end local 8 20: StackMap locals:
StackMap stack:
aload 5
instanceof com.sun.codemodel.internal.JType
ifeq 28
21: aload 5
checkcast com.sun.codemodel.internal.JType
astore 8
start local 8 22: aload 0
ldc Ljava/lang/Class;
aload 7
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.checkType:(Ljava/lang/Class;Ljava/lang/Class;)V
23: aload 6
invokevirtual java.lang.reflect.Method.getDefaultValue:()Ljava/lang/Object;
ifnull 26
24: aload 8
aload 8
invokevirtual com.sun.codemodel.internal.JType.owner:()Lcom/sun/codemodel/internal/JCodeModel;
aload 6
invokevirtual java.lang.reflect.Method.getDefaultValue:()Ljava/lang/Object;
checkcast java.lang.Class
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 26
25: aload 1
areturn
26: StackMap locals: com.sun.codemodel.internal.JType
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 8
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Lcom/sun/codemodel/internal/JType;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
27: aload 1
areturn
end local 8 28: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 7
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.checkType:(Ljava/lang/Class;Ljava/lang/Class;)V
29: aload 6
invokevirtual java.lang.reflect.Method.getDefaultValue:()Ljava/lang/Object;
ifnull 31
aload 6
invokevirtual java.lang.reflect.Method.getDefaultValue:()Ljava/lang/Object;
aload 5
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 31
30: aload 1
areturn
31: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.String
ifeq 34
32: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 5
checkcast java.lang.String
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
33: aload 1
areturn
34: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Boolean
ifeq 37
35: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 5
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Z)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
36: aload 1
areturn
37: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Integer
ifeq 40
38: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 5
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;I)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
39: aload 1
areturn
40: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Class
ifeq 43
41: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 5
checkcast java.lang.Class
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
42: aload 1
areturn
43: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Enum
ifeq 46
44: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 4
aload 5
checkcast java.lang.Enum
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/Enum;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
45: aload 1
areturn
46: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unable to handle this method call "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.reflect.Method.toString:()Ljava/lang/String;
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
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 47 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
0 47 1 proxy Ljava/lang/Object;
0 47 2 method Ljava/lang/reflect/Method;
0 47 3 args [Ljava/lang/Object;
4 5 4 e Ljava/lang/reflect/InvocationTargetException;
6 47 4 name Ljava/lang/String;
7 47 5 arg Ljava/lang/Object;
10 47 6 m Ljava/lang/reflect/Method;
11 47 7 rt Ljava/lang/Class<*>;
15 20 8 r Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
22 28 8 targ Lcom/sun/codemodel/internal/JType;
Exception table:
from to target type
1 2 3 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
method
args
private java.lang.Object addArrayValue(java.lang.Object, java.lang.String, java.lang.Class, java.lang.Class, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.arrays:Ljava/util/Map;
ifnonnull 2
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.codemodel.internal.TypedAnnotationWriter.arrays:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.arrays:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JAnnotationArrayMember
astore 6
start local 6 3: aload 6
ifnonnull 6
4: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.use:Lcom/sun/codemodel/internal/JAnnotationUse;
aload 2
invokevirtual com.sun.codemodel.internal.JAnnotationUse.paramArray:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationArrayMember;
astore 6
5: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.arrays:Ljava/util/Map;
aload 2
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: com.sun.codemodel.internal.JAnnotationArrayMember
StackMap stack:
ldc Ljava/lang/annotation/Annotation;
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 11
7: aload 3
astore 7
start local 7 8: ldc Lcom/sun/codemodel/internal/JAnnotationWriter;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 10
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected return type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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
10: StackMap locals: java.lang.Class
StackMap stack:
new com.sun.codemodel.internal.TypedAnnotationWriter
dup
aload 7
aload 4
aload 6
aload 7
invokevirtual com.sun.codemodel.internal.JAnnotationArrayMember.annotate:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
invokespecial com.sun.codemodel.internal.TypedAnnotationWriter.<init>:(Ljava/lang/Class;Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotationUse;)V
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.createProxy:()Lcom/sun/codemodel/internal/JAnnotationWriter;
areturn
end local 7 11: StackMap locals:
StackMap stack:
aload 5
instanceof com.sun.codemodel.internal.JType
ifeq 15
12: aload 0
ldc Ljava/lang/Class;
aload 3
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.checkType:(Ljava/lang/Class;Ljava/lang/Class;)V
13: aload 6
aload 5
checkcast com.sun.codemodel.internal.JType
invokevirtual com.sun.codemodel.internal.JAnnotationArrayMember.param:(Lcom/sun/codemodel/internal/JType;)Lcom/sun/codemodel/internal/JAnnotationArrayMember;
pop
14: aload 1
areturn
15: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.checkType:(Ljava/lang/Class;Ljava/lang/Class;)V
16: aload 5
instanceof java.lang.String
ifeq 19
17: aload 6
aload 5
checkcast java.lang.String
invokevirtual com.sun.codemodel.internal.JAnnotationArrayMember.param:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationArrayMember;
pop
18: aload 1
areturn
19: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Boolean
ifeq 22
20: aload 6
aload 5
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual com.sun.codemodel.internal.JAnnotationArrayMember.param:(Z)Lcom/sun/codemodel/internal/JAnnotationArrayMember;
pop
21: aload 1
areturn
22: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Integer
ifeq 25
23: aload 6
aload 5
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.sun.codemodel.internal.JAnnotationArrayMember.param:(I)Lcom/sun/codemodel/internal/JAnnotationArrayMember;
pop
24: aload 1
areturn
25: StackMap locals:
StackMap stack:
aload 5
instanceof java.lang.Class
ifeq 28
26: aload 6
aload 5
checkcast java.lang.Class
invokevirtual com.sun.codemodel.internal.JAnnotationArrayMember.param:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationArrayMember;
pop
27: aload 1
areturn
28: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Unable to handle this method call "
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
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 29 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
0 29 1 proxy Ljava/lang/Object;
0 29 2 name Ljava/lang/String;
0 29 3 itemType Ljava/lang/Class;
0 29 4 expectedReturnType Ljava/lang/Class;
0 29 5 arg Ljava/lang/Object;
3 29 6 m Lcom/sun/codemodel/internal/JAnnotationArrayMember;
8 11 7 r Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
MethodParameters:
Name Flags
proxy
name
itemType
expectedReturnType
arg
private void checkType(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
if_acmpeq 1
aload 2
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 2
getstatic com.sun.codemodel.internal.JCodeModel.boxToPrimitive:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
if_acmpne 4
3: return
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Expected "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " but found "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
0 5 1 actual Ljava/lang/Class<*>;
0 5 2 expected Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
actual
expected
private W createProxy();
descriptor: ()Lcom/sun/codemodel/internal/JAnnotationWriter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.writerType:Ljava/lang/Class;
invokestatic com.sun.codemodel.internal.SecureLoader.getClassClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 0
getfield com.sun.codemodel.internal.TypedAnnotationWriter.writerType:Ljava/lang/Class;
aastore
aload 0
1: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JAnnotationWriter
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/TypedAnnotationWriter<TA;TW;>;
Signature: ()TW;
static <W extends com.sun.codemodel.internal.JAnnotationWriter<?>> W create(java.lang.Class<W>, com.sun.codemodel.internal.JAnnotatable);
descriptor: (Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotatable;)Lcom/sun/codemodel/internal/JAnnotationWriter;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.sun.codemodel.internal.TypedAnnotationWriter.findAnnotationType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 2
start local 2 1: new com.sun.codemodel.internal.TypedAnnotationWriter
dup
aload 2
aload 0
aload 1
aload 2
invokeinterface com.sun.codemodel.internal.JAnnotatable.annotate:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
invokespecial com.sun.codemodel.internal.TypedAnnotationWriter.<init>:(Ljava/lang/Class;Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotationUse;)V
invokevirtual com.sun.codemodel.internal.TypedAnnotationWriter.createProxy:()Lcom/sun/codemodel/internal/JAnnotationWriter;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 w Ljava/lang/Class<TW;>;
0 2 1 annotatable Lcom/sun/codemodel/internal/JAnnotatable;
1 2 2 a Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: <W::Lcom/sun/codemodel/internal/JAnnotationWriter<*>;>(Ljava/lang/Class<TW;>;Lcom/sun/codemodel/internal/JAnnotatable;)TW;
MethodParameters:
Name Flags
w
annotatable
private static java.lang.Class<? extends java.lang.annotation.Annotation> findAnnotationType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getGenericInterfaces:()[Ljava/lang/reflect/Type;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 10
StackMap locals: java.lang.Class top int int java.lang.reflect.Type[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
instanceof java.lang.reflect.ParameterizedType
ifeq 6
3: aload 1
checkcast java.lang.reflect.ParameterizedType
astore 5
start local 5 4: aload 5
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
ldc Lcom/sun/codemodel/internal/JAnnotationWriter;
if_acmpne 6
5: aload 5
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
checkcast java.lang.Class
areturn
end local 5 6: StackMap locals: java.lang.Class java.lang.reflect.Type int int java.lang.reflect.Type[]
StackMap stack:
aload 1
instanceof java.lang.Class
ifeq 9
7: aload 1
checkcast java.lang.Class
invokestatic com.sun.codemodel.internal.TypedAnnotationWriter.findAnnotationType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 5
start local 5 8: aload 5
ifnull 9
aload 5
areturn
end local 5 end local 1 9: StackMap locals: java.lang.Class top int int java.lang.reflect.Type[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
iload 3
if_icmplt 1
11: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 clazz Ljava/lang/Class<*>;
2 9 1 t Ljava/lang/reflect/Type;
4 6 5 p Ljava/lang/reflect/ParameterizedType;
8 9 5 r Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
MethodParameters:
Name Flags
clazz
}
Signature: <A::Ljava/lang/annotation/Annotation;W::Lcom/sun/codemodel/internal/JAnnotationWriter<TA;>;>Ljava/lang/Object;Ljava/lang/reflect/InvocationHandler;Lcom/sun/codemodel/internal/JAnnotationWriter<TA;>;
SourceFile: "TypedAnnotationWriter.java"