public abstract class org.apache.tomcat.util.bcel.classfile.ElementValue
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.bcel.classfile.ElementValue
super_class: java.lang.Object
{
private final int type;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.bcel.classfile.ConstantPool cpool;
descriptor: Lorg/apache/tomcat/util/bcel/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
void <init>(int, org.apache.tomcat.util.bcel.classfile.ConstantPool);
descriptor: (ILorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
flags: (0x0000)
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 org.apache.tomcat.util.bcel.classfile.ElementValue.type:I
2: aload 0
aload 2
putfield org.apache.tomcat.util.bcel.classfile.ElementValue.cpool:Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/bcel/classfile/ElementValue;
0 4 1 type I
0 4 2 cpool Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
MethodParameters:
Name Flags
type final
cpool final
public abstract java.lang.String stringifyValue();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static org.apache.tomcat.util.bcel.classfile.ElementValue readElementValue(java.io.DataInput, org.apache.tomcat.util.bcel.classfile.ConstantPool);
descriptor: (Ljava/io/DataInput;Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;)Lorg/apache/tomcat/util/bcel/classfile/ElementValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, 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: 6
66: 2
67: 2
68: 2
70: 2
73: 2
74: 2
83: 2
90: 2
91: 7
99: 5
101: 3
115: 2
default: 15
}
2: StackMap locals: int
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.SimpleElementValue
dup
iload 2
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
invokespecial org.apache.tomcat.util.bcel.classfile.SimpleElementValue.<init>:(IILorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
pop
4: new org.apache.tomcat.util.bcel.classfile.EnumElementValue
dup
bipush 101
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
invokespecial org.apache.tomcat.util.bcel.classfile.EnumElementValue.<init>:(IILorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
areturn
5: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ClassElementValue
dup
bipush 99
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
aload 1
invokespecial org.apache.tomcat.util.bcel.classfile.ClassElementValue.<init>:(IILorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
areturn
6: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.AnnotationElementValue
dup
bipush 64
new org.apache.tomcat.util.bcel.classfile.AnnotationEntry
dup
aload 0
aload 1
invokespecial org.apache.tomcat.util.bcel.classfile.AnnotationEntry.<init>:(Ljava/io/DataInput;Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
aload 1
invokespecial org.apache.tomcat.util.bcel.classfile.AnnotationElementValue.<init>:(ILorg/apache/tomcat/util/bcel/classfile/AnnotationEntry;Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.io.DataInput.readUnsignedShort:()I
istore 3
start local 3 8: iload 3
anewarray org.apache.tomcat.util.bcel.classfile.ElementValue
astore 4
start local 4 9: iconst_0
istore 5
start local 5 10: goto 13
11: StackMap locals: int org.apache.tomcat.util.bcel.classfile.ElementValue[] int
StackMap stack:
aload 4
iload 5
aload 0
aload 1
invokestatic org.apache.tomcat.util.bcel.classfile.ElementValue.readElementValue:(Ljava/io/DataInput;Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;)Lorg/apache/tomcat/util/bcel/classfile/ElementValue;
aastore
12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 3
if_icmplt 11
end local 5 14: new org.apache.tomcat.util.bcel.classfile.ArrayElementValue
dup
bipush 91
aload 4
aload 1
invokespecial org.apache.tomcat.util.bcel.classfile.ArrayElementValue.<init>:(I[Lorg/apache/tomcat/util/bcel/classfile/ElementValue;Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
areturn
end local 4 end local 3 15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
16: 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;
17: 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 18 0 input Ljava/io/DataInput;
0 18 1 cpool Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
1 18 2 type B
8 15 3 numArrayVals I
9 15 4 evalues [Lorg/apache/tomcat/util/bcel/classfile/ElementValue;
10 14 5 j I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
cpool final
final org.apache.tomcat.util.bcel.classfile.ConstantPool getConstantPool();
descriptor: ()Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.bcel.classfile.ElementValue.cpool:Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/bcel/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 org.apache.tomcat.util.bcel.classfile.ElementValue.type:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/bcel/classfile/ElementValue;
}
SourceFile: "ElementValue.java"