public abstract class com.sun.org.apache.bcel.internal.classfile.ElementValue
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.bcel.internal.classfile.ElementValue
super_class: java.lang.Object
{
private final int type;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.org.apache.bcel.internal.classfile.ConstantPool cpool;
descriptor: Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final byte STRING;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 115
public static final byte ENUM_CONSTANT;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 101
public static final byte CLASS;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 99
public static final byte ANNOTATION;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
public static final byte ARRAY;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 91
public static final byte PRIMITIVE_INT;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 73
public static final byte PRIMITIVE_BYTE;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 66
public static final byte PRIMITIVE_CHAR;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 67
public static final byte PRIMITIVE_DOUBLE;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 68
public static final byte PRIMITIVE_FLOAT;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 70
public static final byte PRIMITIVE_LONG;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 74
public static final byte PRIMITIVE_SHORT;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 83
public static final byte PRIMITIVE_BOOLEAN;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 90
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.ElementValue.stringifyValue:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
protected void <init>(int, com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (ILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.classfile.ElementValue.type:I
2: aload 0
aload 2
putfield com.sun.org.apache.bcel.internal.classfile.ElementValue.cpool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
0 4 1 type I
0 4 2 cpool Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
MethodParameters:
Name Flags
type final
cpool final
public int getElementValueType();
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.ElementValue.type:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
public abstract java.lang.String stringifyValue();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dos
public static com.sun.org.apache.bcel.internal.classfile.ElementValue readElementValue(java.io.DataInput, com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (Ljava/io/DataInput;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.io.DataInput.readByte:()B
istore 2
start local 2 1: iload 2
lookupswitch { // 13
64: 5
66: 2
67: 2
68: 2
70: 2
73: 2
74: 2
83: 2
90: 2
91: 6
99: 4
101: 3
115: 2
default: 14
}
2: StackMap locals: int
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.SimpleElementValue
dup
iload 2
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
invokespecial com.sun.org.apache.bcel.internal.classfile.SimpleElementValue.<init>:(IILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
3: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.EnumElementValue
dup
bipush 101
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
invokespecial com.sun.org.apache.bcel.internal.classfile.EnumElementValue.<init>:(IIILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
4: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.ClassElementValue
dup
bipush 99
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
invokespecial com.sun.org.apache.bcel.internal.classfile.ClassElementValue.<init>:(IILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
5: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.AnnotationElementValue
dup
bipush 64
aload 0
aload 1
iconst_0
invokestatic com.sun.org.apache.bcel.internal.classfile.AnnotationEntry.read:(Ljava/io/DataInput;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;Z)Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
aload 1
invokespecial com.sun.org.apache.bcel.internal.classfile.AnnotationElementValue.<init>:(ILcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
istore 3
start local 3 7: iload 3
anewarray com.sun.org.apache.bcel.internal.classfile.ElementValue
astore 4
start local 4 8: iconst_0
istore 5
start local 5 9: goto 12
10: StackMap locals: int com.sun.org.apache.bcel.internal.classfile.ElementValue[] int
StackMap stack:
aload 4
iload 5
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;
aastore
11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 3
if_icmplt 10
end local 5 13: new com.sun.org.apache.bcel.internal.classfile.ArrayElementValue
dup
bipush 91
aload 4
aload 1
invokespecial com.sun.org.apache.bcel.internal.classfile.ArrayElementValue.<init>:(I[Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
end local 4 end local 3 14: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected element value kind in annotation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 input Ljava/io/DataInput;
0 15 1 cpool Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1 15 2 type B
7 14 3 numArrayVals I
8 14 4 evalues [Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
9 13 5 j I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
cpool final
final com.sun.org.apache.bcel.internal.classfile.ConstantPool getConstantPool();
descriptor: ()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ElementValue.cpool: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/ElementValue;
final int getType();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ElementValue.type:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
public java.lang.String toShortString();
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.ElementValue.stringifyValue:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ElementValue;
}
SourceFile: "ElementValue.java"