public class com.sun.org.apache.bcel.internal.classfile.AnnotationEntry implements com.sun.org.apache.bcel.internal.classfile.Node
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.classfile.AnnotationEntry
super_class: java.lang.Object
{
private final int type_index;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.org.apache.bcel.internal.classfile.ConstantPool constant_pool;
descriptor: Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isRuntimeVisible;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<com.sun.org.apache.bcel.internal.classfile.ElementValuePair> element_value_pairs;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;>;
public static com.sun.org.apache.bcel.internal.classfile.AnnotationEntry read(java.io.DataInput, com.sun.org.apache.bcel.internal.classfile.ConstantPool, boolean);
descriptor: (Ljava/io/DataInput;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;Z)Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.org.apache.bcel.internal.classfile.AnnotationEntry
dup
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
iload 2
invokespecial com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.<init>:(ILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;Z)V
astore 3
start local 3 1: aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
istore 4
start local 4 2: aload 3
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
3: iconst_0
istore 5
start local 5 4: goto 11
5: StackMap locals: com.sun.org.apache.bcel.internal.classfile.AnnotationEntry int int
StackMap stack:
aload 3
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
6: new com.sun.org.apache.bcel.internal.classfile.ElementValuePair
dup
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 0
aload 1
invokestatic com.sun.org.apache.bcel.internal.classfile.ElementValue.readElementValue:(Ljava/io/DataInput;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
7: aload 1
8: invokespecial com.sun.org.apache.bcel.internal.classfile.ElementValuePair.<init>:(ILcom/sun/org/apache/bcel/internal/classfile/ElementValue;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
9: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 4
if_icmplt 5
end local 5 12: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 input Ljava/io/DataInput;
0 13 1 constant_pool Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 13 2 isRuntimeVisible Z
1 13 3 annotationEntry Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
2 13 4 num_element_value_pairs I
4 12 5 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
constant_pool final
isRuntimeVisible final
public void <init>(int, com.sun.org.apache.bcel.internal.classfile.ConstantPool, boolean);
descriptor: (ILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;Z)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
iload 1
putfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.type_index:I
2: aload 0
aload 2
putfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
3: aload 0
iload 3
putfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.isRuntimeVisible:Z
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/org/apache/bcel/internal/classfile/AnnotationEntry;
0 5 1 type_index I
0 5 2 constant_pool Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 5 3 isRuntimeVisible Z
MethodParameters:
Name Flags
type_index final
constant_pool final
isRuntimeVisible final
public int getTypeIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.type_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public com.sun.org.apache.bcel.internal.classfile.ConstantPool getConstantPool();
descriptor: ()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public boolean isRuntimeVisible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.isRuntimeVisible:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public void accept(com.sun.org.apache.bcel.internal.classfile.Visitor);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/Visitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.classfile.Visitor.visitAnnotationEntry:(Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
0 2 1 v Lcom/sun/org/apache/bcel/internal/classfile/Visitor;
MethodParameters:
Name Flags
v final
public java.lang.String getAnnotationType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.type_index:I
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
astore 1
start local 1 1: aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
1 2 1 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
public int getAnnotationTypeIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.type_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public final int getNumElementValuePairs();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public com.sun.org.apache.bcel.internal.classfile.ElementValuePair[] getElementValuePairs();
descriptor: ()[Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray com.sun.org.apache.bcel.internal.classfile.ElementValuePair
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.ElementValuePair[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.type_index:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.org.apache.bcel.internal.classfile.AnnotationEntry java.io.DataOutputStream top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.ElementValuePair
astore 2
start local 2 4: aload 2
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ElementValuePair.dump:(Ljava/io/DataOutputStream;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
0 7 1 dos Ljava/io/DataOutputStream;
4 5 2 envp Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dos final
public void addElementNameValuePair(com.sun.org.apache.bcel.internal.classfile.ElementValuePair);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.element_value_pairs:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
0 2 1 elementNameValuePair Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;
MethodParameters:
Name Flags
elementNameValuePair final
public java.lang.String toShortString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.getAnnotationType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.getElementValuePairs:()[Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;
astore 2
start local 2 4: aload 2
arraylength
ifle 12
5: aload 1
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: com.sun.org.apache.bcel.internal.classfile.AnnotationEntry java.lang.StringBuilder com.sun.org.apache.bcel.internal.classfile.ElementValuePair[] top int int com.sun.org.apache.bcel.internal.classfile.ElementValuePair[]
StackMap stack:
7: aload 6
iload 4
aaload
astore 3
start local 3 8: aload 1
aload 3
invokevirtual com.sun.org.apache.bcel.internal.classfile.ElementValuePair.toShortString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 7
11: aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: com.sun.org.apache.bcel.internal.classfile.AnnotationEntry java.lang.StringBuilder com.sun.org.apache.bcel.internal.classfile.ElementValuePair[]
StackMap stack:
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 13 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
1 13 1 result Ljava/lang/StringBuilder;
4 13 2 evPairs [Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;
8 9 3 element Lcom/sun/org/apache/bcel/internal/classfile/ElementValuePair;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.toShortString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
public static com.sun.org.apache.bcel.internal.classfile.AnnotationEntry[] createAnnotationEntries(com.sun.org.apache.bcel.internal.classfile.Attribute[]);
descriptor: ([Lcom/sun/org/apache/bcel/internal/classfile/Attribute;)[Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: com.sun.org.apache.bcel.internal.classfile.Attribute[] java.util.List top int int com.sun.org.apache.bcel.internal.classfile.Attribute[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
instanceof com.sun.org.apache.bcel.internal.classfile.Annotations
ifeq 6
4: aload 2
checkcast com.sun.org.apache.bcel.internal.classfile.Annotations
astore 6
start local 6 5: aload 1
aload 6
invokevirtual com.sun.org.apache.bcel.internal.classfile.Annotations.getAnnotationEntries:()[Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
end local 6 end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 2
8: aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray com.sun.org.apache.bcel.internal.classfile.AnnotationEntry
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.AnnotationEntry[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 attrs [Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
1 9 1 accumulatedAnnotations Ljava/util/List<Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;>;
3 6 2 attribute Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
5 6 6 runtimeAnnotations Lcom/sun/org/apache/bcel/internal/classfile/Annotations;
MethodParameters:
Name Flags
attrs final
}
SourceFile: "AnnotationEntry.java"