public class org.apache.tomcat.util.bcel.classfile.SimpleElementValue extends org.apache.tomcat.util.bcel.classfile.ElementValue
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.bcel.classfile.SimpleElementValue
super_class: org.apache.tomcat.util.bcel.classfile.ElementValue
{
private final int index;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int, int, org.apache.tomcat.util.bcel.classfile.ConstantPool);
descriptor: (IILorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 3
invokespecial org.apache.tomcat.util.bcel.classfile.ElementValue.<init>:(ILorg/apache/tomcat/util/bcel/classfile/ConstantPool;)V
1: aload 0
iload 2
putfield org.apache.tomcat.util.bcel.classfile.SimpleElementValue.index:I
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/bcel/classfile/SimpleElementValue;
0 3 1 type I
0 3 2 index I
0 3 3 cpool Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
MethodParameters:
Name Flags
type final
index final
cpool final
public int getIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.bcel.classfile.SimpleElementValue.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/bcel/classfile/SimpleElementValue;
public java.lang.String stringifyValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ElementValue.getConstantPool:()Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
astore 1
start local 1 1: aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ElementValue.getType:()I
istore 2
start local 2 2: iload 2
lookupswitch { // 9
66: 23
67: 27
68: 11
70: 15
73: 3
74: 7
83: 19
90: 31
115: 37
default: 41
}
3: StackMap locals: org.apache.tomcat.util.bcel.classfile.ConstantPool int
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
4: iconst_3
5: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantInteger
astore 3
start local 3 6: aload 3
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantInteger.getBytes:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
8: iconst_5
9: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantLong
astore 4
start local 4 10: aload 4
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantLong.getBytes:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
areturn
end local 4 11: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
12: bipush 6
13: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantDouble
astore 5
start local 5 14: aload 5
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantDouble.getBytes:()D
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
areturn
end local 5 15: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
16: iconst_4
17: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantFloat
astore 6
start local 6 18: aload 6
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantFloat.getBytes:()F
invokestatic java.lang.Float.toString:(F)Ljava/lang/String;
areturn
end local 6 19: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
20: iconst_3
21: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantInteger
astore 7
start local 7 22: aload 7
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantInteger.getBytes:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
areturn
end local 7 23: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
24: iconst_3
25: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantInteger
astore 8
start local 8 26: aload 8
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantInteger.getBytes:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
areturn
end local 8 27: StackMap locals:
StackMap stack:
aload 1
28: aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
iconst_3
29: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantInteger
astore 9
start local 9 30: aload 9
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantInteger.getBytes:()I
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
areturn
end local 9 31: StackMap locals:
StackMap stack:
aload 1
32: aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
iconst_3
33: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantInteger
astore 10
start local 10 34: aload 10
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantInteger.getBytes:()I
ifne 36
35: ldc "false"
areturn
36: StackMap locals: org.apache.tomcat.util.bcel.classfile.SimpleElementValue org.apache.tomcat.util.bcel.classfile.ConstantPool int top top top top top top top org.apache.tomcat.util.bcel.classfile.ConstantInteger
StackMap stack:
ldc "true"
areturn
end local 10 37: StackMap locals: org.apache.tomcat.util.bcel.classfile.SimpleElementValue org.apache.tomcat.util.bcel.classfile.ConstantPool int
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.bcel.classfile.SimpleElementValue.getIndex:()I
38: iconst_1
39: invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
checkcast org.apache.tomcat.util.bcel.classfile.ConstantUtf8
astore 11
start local 11 40: aload 11
invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
areturn
end local 11 41: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "SimpleElementValue class does not know how to stringify type "
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.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/apache/tomcat/util/bcel/classfile/SimpleElementValue;
1 42 1 cpool Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
2 42 2 _type I
6 7 3 c Lorg/apache/tomcat/util/bcel/classfile/ConstantInteger;
10 11 4 j Lorg/apache/tomcat/util/bcel/classfile/ConstantLong;
14 15 5 d Lorg/apache/tomcat/util/bcel/classfile/ConstantDouble;
18 19 6 f Lorg/apache/tomcat/util/bcel/classfile/ConstantFloat;
22 23 7 s Lorg/apache/tomcat/util/bcel/classfile/ConstantInteger;
26 27 8 b Lorg/apache/tomcat/util/bcel/classfile/ConstantInteger;
30 31 9 ch Lorg/apache/tomcat/util/bcel/classfile/ConstantInteger;
34 37 10 bo Lorg/apache/tomcat/util/bcel/classfile/ConstantInteger;
40 41 11 cu8 Lorg/apache/tomcat/util/bcel/classfile/ConstantUtf8;
}
SourceFile: "SimpleElementValue.java"