public class com.sun.tools.javap.AnnotationWriter extends com.sun.tools.javap.BasicWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javap.AnnotationWriter
super_class: com.sun.tools.javap.BasicWriter
{
com.sun.tools.javap.AnnotationWriter$element_value_Writer ev_writer;
descriptor: Lcom/sun/tools/javap/AnnotationWriter$element_value_Writer;
flags: (0x0000)
private final com.sun.tools.javap.ClassWriter classWriter;
descriptor: Lcom/sun/tools/javap/ClassWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javap.ConstantWriter constantWriter;
descriptor: Lcom/sun/tools/javap/ConstantWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$com$sun$tools$classfile$TypeAnnotation$TargetType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static com.sun.tools.javap.AnnotationWriter instance(com.sun.tools.javap.Context);
descriptor: (Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/AnnotationWriter;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc Lcom/sun/tools/javap/AnnotationWriter;
invokevirtual com.sun.tools.javap.Context.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.sun.tools.javap.AnnotationWriter
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.sun.tools.javap.AnnotationWriter
dup
aload 0
invokespecial com.sun.tools.javap.AnnotationWriter.<init>:(Lcom/sun/tools/javap/Context;)V
astore 1
3: StackMap locals: com.sun.tools.javap.AnnotationWriter
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/sun/tools/javap/Context;
1 4 1 instance Lcom/sun/tools/javap/AnnotationWriter;
MethodParameters:
Name Flags
context
protected void <init>(com.sun.tools.javap.Context);
descriptor: (Lcom/sun/tools/javap/Context;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.tools.javap.BasicWriter.<init>:(Lcom/sun/tools/javap/Context;)V
1: aload 0
new com.sun.tools.javap.AnnotationWriter$element_value_Writer
dup
aload 0
invokespecial com.sun.tools.javap.AnnotationWriter$element_value_Writer.<init>:(Lcom/sun/tools/javap/AnnotationWriter;)V
putfield com.sun.tools.javap.AnnotationWriter.ev_writer:Lcom/sun/tools/javap/AnnotationWriter$element_value_Writer;
2: aload 0
aload 1
invokestatic com.sun.tools.javap.ClassWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ClassWriter;
putfield com.sun.tools.javap.AnnotationWriter.classWriter:Lcom/sun/tools/javap/ClassWriter;
3: aload 0
aload 1
invokestatic com.sun.tools.javap.ConstantWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/ConstantWriter;
putfield com.sun.tools.javap.AnnotationWriter.constantWriter:Lcom/sun/tools/javap/ConstantWriter;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 5 1 context Lcom/sun/tools/javap/Context;
MethodParameters:
Name Flags
context
public void write(com.sun.tools.classfile.Annotation);
descriptor: (Lcom/sun/tools/classfile/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation;Z)V
1: aload 0
invokevirtual com.sun.tools.javap.AnnotationWriter.println:()V
2: aload 0
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
3: aload 0
aload 1
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation;Z)V
4: aload 0
iconst_m1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 6 1 annot Lcom/sun/tools/classfile/Annotation;
MethodParameters:
Name Flags
annot
public void write(com.sun.tools.classfile.Annotation, boolean);
descriptor: (Lcom/sun/tools/classfile/Annotation;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield com.sun.tools.classfile.Annotation.type_index:I
iload 2
invokevirtual com.sun.tools.javap.AnnotationWriter.writeDescriptor:(IZ)V
1: iload 2
ifeq 18
2: aload 1
getfield com.sun.tools.classfile.Annotation.num_element_value_pairs:I
ifle 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: iload 3
ifeq 8
6: aload 0
ldc "("
invokevirtual com.sun.tools.javap.AnnotationWriter.println:(Ljava/lang/String;)V
7: aload 0
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
8: StackMap locals: int
StackMap stack:
iconst_0
istore 4
start local 4 9: goto 13
10: StackMap locals: int
StackMap stack:
aload 0
aload 1
getfield com.sun.tools.classfile.Annotation.element_value_pairs:[Lcom/sun/tools/classfile/Annotation$element_value_pair;
iload 4
aaload
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation$element_value_pair;Z)V
11: aload 0
invokevirtual com.sun.tools.javap.AnnotationWriter.println:()V
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 1
getfield com.sun.tools.classfile.Annotation.num_element_value_pairs:I
if_icmplt 10
end local 4 14: iload 3
ifeq 27
15: aload 0
iconst_m1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
16: aload 0
ldc ")"
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
end local 3 17: goto 27
18: StackMap locals:
StackMap stack:
aload 0
ldc "("
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
19: iconst_0
istore 3
start local 3 20: goto 25
21: StackMap locals: int
StackMap stack:
iload 3
ifle 23
22: aload 0
ldc ","
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield com.sun.tools.classfile.Annotation.element_value_pairs:[Lcom/sun/tools/classfile/Annotation$element_value_pair;
iload 3
aaload
iconst_0
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation$element_value_pair;Z)V
24: iinc 3 1
StackMap locals:
StackMap stack:
25: iload 3
aload 1
getfield com.sun.tools.classfile.Annotation.num_element_value_pairs:I
if_icmplt 21
end local 3 26: aload 0
ldc ")"
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 28 1 annot Lcom/sun/tools/classfile/Annotation;
0 28 2 resolveIndices Z
5 17 3 showParens Z
9 14 4 i I
20 26 3 i I
MethodParameters:
Name Flags
annot
resolveIndices
public void write(com.sun.tools.classfile.TypeAnnotation);
descriptor: (Lcom/sun/tools/classfile/TypeAnnotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
iconst_0
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/TypeAnnotation;ZZ)V
1: aload 0
invokevirtual com.sun.tools.javap.AnnotationWriter.println:()V
2: aload 0
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
3: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation.annotation:Lcom/sun/tools/classfile/Annotation;
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation;Z)V
4: aload 0
iconst_m1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 6 1 annot Lcom/sun/tools/classfile/TypeAnnotation;
MethodParameters:
Name Flags
annot
public void write(com.sun.tools.classfile.TypeAnnotation, boolean, boolean);
descriptor: (Lcom/sun/tools/classfile/TypeAnnotation;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation.annotation:Lcom/sun/tools/classfile/Annotation;
iload 3
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation;Z)V
1: aload 0
ldc ": "
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
2: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation.position:Lcom/sun/tools/classfile/TypeAnnotation$Position;
iload 2
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/TypeAnnotation$Position;Z)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 4 1 annot Lcom/sun/tools/classfile/TypeAnnotation;
0 4 2 showOffsets Z
0 4 3 resolveIndices Z
MethodParameters:
Name Flags
annot
showOffsets
resolveIndices
public void write(com.sun.tools.classfile.TypeAnnotation$Position, boolean);
descriptor: (Lcom/sun/tools/classfile/TypeAnnotation$Position;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.type:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
1: invokestatic com.sun.tools.javap.AnnotationWriter.$SWITCH_TABLE$com$sun$tools$classfile$TypeAnnotation$TargetType:()[I
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.type:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
iaload
tableswitch { // 1 - 23
1: 28
2: 28
3: 36
4: 31
5: 31
6: 51
7: 51
8: 27
9: 42
10: 39
11: 6
12: 6
13: 24
14: 2
15: 2
16: 2
17: 2
18: 45
19: 45
20: 45
21: 45
22: 45
23: 52
default: 53
}
2: StackMap locals:
StackMap stack:
iload 2
ifeq 54
3: aload 0
ldc ", offset="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
4: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.offset:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
5: goto 54
6: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.lvarOffset:[I
ifnonnull 9
7: aload 0
ldc ", lvarOffset is Null!"
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
8: goto 54
9: StackMap locals:
StackMap stack:
aload 0
ldc ", {"
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
10: iconst_0
istore 3
start local 3 11: goto 21
12: StackMap locals: int
StackMap stack:
iload 3
ifeq 13
aload 0
ldc "; "
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
iload 2
ifeq 16
14: aload 0
ldc "start_pc="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
15: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.lvarOffset:[I
iload 3
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 0
ldc ", length="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
17: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.lvarLength:[I
iload 3
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
18: aload 0
ldc ", index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
19: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.lvarIndex:[I
iload 3
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
20: iinc 3 1
StackMap locals:
StackMap stack:
21: iload 3
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.lvarOffset:[I
arraylength
if_icmplt 12
end local 3 22: aload 0
ldc "}"
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
23: goto 54
24: StackMap locals:
StackMap stack:
aload 0
ldc ", exception_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
25: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.exception_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
26: goto 54
27: StackMap locals:
StackMap stack:
goto 54
28: StackMap locals:
StackMap stack:
aload 0
ldc ", param_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
29: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.parameter_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
30: goto 54
31: StackMap locals:
StackMap stack:
aload 0
ldc ", param_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
32: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.parameter_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
33: aload 0
ldc ", bound_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
34: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.bound_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
35: goto 54
36: StackMap locals:
StackMap stack:
aload 0
ldc ", type_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
37: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.type_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
38: goto 54
39: StackMap locals:
StackMap stack:
aload 0
ldc ", type_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
40: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.type_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
41: goto 54
42: StackMap locals:
StackMap stack:
aload 0
ldc ", param_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
43: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.parameter_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
44: goto 54
45: StackMap locals:
StackMap stack:
iload 2
ifeq 48
46: aload 0
ldc ", offset="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
47: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.offset:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
48: StackMap locals:
StackMap stack:
aload 0
ldc ", type_index="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
49: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.type_index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
50: goto 54
51: StackMap locals:
StackMap stack:
goto 54
52: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "AnnotationWriter: UNKNOWN target type should never occur!"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
53: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "AnnotationWriter: Unknown target type for position: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
54: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.location:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 57
55: aload 0
ldc ", location="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
56: aload 0
aload 1
getfield com.sun.tools.classfile.TypeAnnotation$Position.location:Ljava/util/List;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/Object;)V
57: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 58 1 pos Lcom/sun/tools/classfile/TypeAnnotation$Position;
0 58 2 showOffsets Z
11 22 3 i I
MethodParameters:
Name Flags
pos
showOffsets
public void write(com.sun.tools.classfile.Annotation$element_value_pair, boolean);
descriptor: (Lcom/sun/tools/classfile/Annotation$element_value_pair;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield com.sun.tools.classfile.Annotation$element_value_pair.element_name_index:I
iload 2
invokevirtual com.sun.tools.javap.AnnotationWriter.writeIndex:(IZ)V
1: aload 0
ldc "="
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
2: aload 0
aload 1
getfield com.sun.tools.classfile.Annotation$element_value_pair.value:Lcom/sun/tools/classfile/Annotation$element_value;
iload 2
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation$element_value;Z)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 4 1 pair Lcom/sun/tools/classfile/Annotation$element_value_pair;
0 4 2 resolveIndices Z
MethodParameters:
Name Flags
pair
resolveIndices
public void write(com.sun.tools.classfile.Annotation$element_value);
descriptor: (Lcom/sun/tools/classfile/Annotation$element_value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation$element_value;Z)V
1: aload 0
invokevirtual com.sun.tools.javap.AnnotationWriter.println:()V
2: aload 0
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
3: aload 0
aload 1
iconst_1
invokevirtual com.sun.tools.javap.AnnotationWriter.write:(Lcom/sun/tools/classfile/Annotation$element_value;Z)V
4: aload 0
iconst_m1
invokevirtual com.sun.tools.javap.AnnotationWriter.indent:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 6 1 value Lcom/sun/tools/classfile/Annotation$element_value;
MethodParameters:
Name Flags
value
public void write(com.sun.tools.classfile.Annotation$element_value, boolean);
descriptor: (Lcom/sun/tools/classfile/Annotation$element_value;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javap.AnnotationWriter.ev_writer:Lcom/sun/tools/javap/AnnotationWriter$element_value_Writer;
aload 1
iload 2
invokevirtual com.sun.tools.javap.AnnotationWriter$element_value_Writer.write:(Lcom/sun/tools/classfile/Annotation$element_value;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 2 1 value Lcom/sun/tools/classfile/Annotation$element_value;
0 2 2 resolveIndices Z
MethodParameters:
Name Flags
value
resolveIndices
private void writeDescriptor(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 6
1: aload 0
getfield com.sun.tools.javap.AnnotationWriter.classWriter:Lcom/sun/tools/javap/ClassWriter;
invokevirtual com.sun.tools.javap.ClassWriter.getClassFile:()Lcom/sun/tools/classfile/ClassFile;
getfield com.sun.tools.classfile.ClassFile.constant_pool:Lcom/sun/tools/classfile/ConstantPool;
astore 3
start local 3 2: new com.sun.tools.classfile.Descriptor
dup
iload 1
invokespecial com.sun.tools.classfile.Descriptor.<init>:(I)V
astore 4
start local 4 3: aload 0
aload 4
aload 3
invokevirtual com.sun.tools.classfile.Descriptor.getFieldType:(Lcom/sun/tools/classfile/ConstantPool;)Ljava/lang/String;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
4: return
end local 4 end local 3 5: StackMap locals:
StackMap stack: java.lang.Exception
pop
6: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 8 1 index I
0 8 2 resolveIndices Z
2 5 3 constant_pool Lcom/sun/tools/classfile/ConstantPool;
3 5 4 d Lcom/sun/tools/classfile/Descriptor;
Exception table:
from to target type
1 4 5 Class com.sun.tools.classfile.ConstantPoolException
1 4 5 Class com.sun.tools.classfile.Descriptor$InvalidDescriptor
MethodParameters:
Name Flags
index
resolveIndices
private void writeIndex(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 3
1: aload 0
aload 0
getfield com.sun.tools.javap.AnnotationWriter.constantWriter:Lcom/sun/tools/javap/ConstantWriter;
iload 1
invokevirtual com.sun.tools.javap.ConstantWriter.stringValue:(I)Ljava/lang/String;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.javap.AnnotationWriter.print:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javap/AnnotationWriter;
0 5 1 index I
0 5 2 resolveIndices Z
MethodParameters:
Name Flags
index
resolveIndices
static int[] $SWITCH_TABLE$com$sun$tools$classfile$TypeAnnotation$TargetType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.javap.AnnotationWriter.$SWITCH_TABLE$com$sun$tools$classfile$TypeAnnotation$TargetType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.tools.classfile.TypeAnnotation$TargetType.values:()[Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CAST:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 18
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CLASS_EXTENDS:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CLASS_TYPE_PARAMETER:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CLASS_TYPE_PARAMETER_BOUND:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 19
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CONSTRUCTOR_REFERENCE:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 16
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 21
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.EXCEPTION_PARAMETER:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 13
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.FIELD:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 6
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.INSTANCEOF:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 14
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.LOCAL_VARIABLE:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 11
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_FORMAL_PARAMETER:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 9
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_INVOCATION_TYPE_ARGUMENT:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 20
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_RECEIVER:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 8
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_REFERENCE:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 17
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_REFERENCE_TYPE_ARGUMENT:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 22
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_RETURN:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 7
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_TYPE_PARAMETER:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
iconst_2
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.METHOD_TYPE_PARAMETER_BOUND:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
iconst_5
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.NEW:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 15
iastore
60: goto 62
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
61: pop
StackMap locals:
StackMap stack:
62: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.RESOURCE_VARIABLE:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 12
iastore
63: goto 65
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
64: pop
StackMap locals:
StackMap stack:
65: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.THROWS:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 10
iastore
66: goto 68
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
67: pop
StackMap locals:
StackMap stack:
68: aload 0
getstatic com.sun.tools.classfile.TypeAnnotation$TargetType.UNKNOWN:Lcom/sun/tools/classfile/TypeAnnotation$TargetType;
invokevirtual com.sun.tools.classfile.TypeAnnotation$TargetType.ordinal:()I
bipush 23
iastore
69: goto 71
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
70: pop
StackMap locals:
StackMap stack:
71: aload 0
dup
putstatic com.sun.tools.javap.AnnotationWriter.$SWITCH_TABLE$com$sun$tools$classfile$TypeAnnotation$TargetType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
59 60 61 Class java.lang.NoSuchFieldError
62 63 64 Class java.lang.NoSuchFieldError
65 66 67 Class java.lang.NoSuchFieldError
68 69 70 Class java.lang.NoSuchFieldError
}
SourceFile: "AnnotationWriter.java"
NestMembers:
com.sun.tools.javap.AnnotationWriter$element_value_Writer
InnerClasses:
public abstract element_value = com.sun.tools.classfile.Annotation$element_value of com.sun.tools.classfile.Annotation
public element_value_pair = com.sun.tools.classfile.Annotation$element_value_pair of com.sun.tools.classfile.Annotation
public InvalidDescriptor = com.sun.tools.classfile.Descriptor$InvalidDescriptor of com.sun.tools.classfile.Descriptor
public Position = com.sun.tools.classfile.TypeAnnotation$Position of com.sun.tools.classfile.TypeAnnotation
public final TargetType = com.sun.tools.classfile.TypeAnnotation$TargetType of com.sun.tools.classfile.TypeAnnotation
element_value_Writer = com.sun.tools.javap.AnnotationWriter$element_value_Writer of com.sun.tools.javap.AnnotationWriter