public abstract class org.apache.tomcat.util.bcel.classfile.Constant
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.bcel.classfile.Constant
super_class: java.lang.Object
{
protected final byte tag;
descriptor: B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
void <init>(byte);
descriptor: (B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.tomcat.util.bcel.classfile.Constant.tag:B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/bcel/classfile/Constant;
0 3 1 tag B
MethodParameters:
Name Flags
tag final
public final byte getTag();
descriptor: ()B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.bcel.classfile.Constant.tag:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/bcel/classfile/Constant;
static org.apache.tomcat.util.bcel.classfile.Constant readConstant(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lorg/apache/tomcat/util/bcel/classfile/Constant;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.io.DataInput.readByte:()B
istore 1
start local 1 1: iload 1
tableswitch { // 1 - 20
1: 7
2: 14
3: 3
4: 4
5: 5
6: 6
7: 2
8: 8
9: 12
10: 12
11: 12
12: 12
13: 14
14: 14
15: 10
16: 8
17: 12
18: 12
19: 8
20: 8
default: 14
}
2: StackMap locals: int
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ConstantClass
dup
aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ConstantClass.<init>:(Ljava/io/DataInput;)V
areturn
3: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ConstantInteger
dup
aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ConstantInteger.<init>:(Ljava/io/DataInput;)V
areturn
4: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ConstantFloat
dup
aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ConstantFloat.<init>:(Ljava/io/DataInput;)V
areturn
5: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ConstantLong
dup
aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ConstantLong.<init>:(Ljava/io/DataInput;)V
areturn
6: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ConstantDouble
dup
aload 0
invokespecial org.apache.tomcat.util.bcel.classfile.ConstantDouble.<init>:(Ljava/io/DataInput;)V
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.tomcat.util.bcel.classfile.ConstantUtf8.getInstance:(Ljava/io/DataInput;)Lorg/apache/tomcat/util/bcel/classfile/ConstantUtf8;
areturn
8: StackMap locals:
StackMap stack:
iconst_2
istore 2
start local 2 9: goto 15
end local 2 10: StackMap locals:
StackMap stack:
iconst_3
istore 2
start local 2 11: goto 15
end local 2 12: StackMap locals:
StackMap stack:
iconst_4
istore 2
start local 2 13: goto 15
end local 2 14: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.bcel.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
ldc "Invalid byte tag in constant pool: "
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;
invokespecial org.apache.tomcat.util.bcel.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
start local 2 15: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokestatic org.apache.tomcat.util.bcel.classfile.Utility.skipFully:(Ljava/io/DataInput;I)V
16: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 dataInput Ljava/io/DataInput;
1 17 1 b B
9 10 2 skipSize I
11 12 2 skipSize I
13 14 2 skipSize I
15 17 2 skipSize I
Exceptions:
throws java.io.IOException, org.apache.tomcat.util.bcel.classfile.ClassFormatException
MethodParameters:
Name Flags
dataInput final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.tomcat.util.bcel.classfile.Constant.tag:B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/bcel/classfile/Constant;
}
SourceFile: "Constant.java"