public class com.sun.org.apache.bcel.internal.classfile.ConstantPool implements java.lang.Cloneable, com.sun.org.apache.bcel.internal.classfile.Node, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.classfile.ConstantPool
super_class: java.lang.Object
{
private int constant_pool_count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.classfile.Constant[] constant_pool;
descriptor: [Lcom/sun/org/apache/bcel/internal/classfile/Constant;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.org.apache.bcel.internal.classfile.Constant[]);
descriptor: ([Lcom/sun/org/apache/bcel/internal/classfile/Constant;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.setConstantPool:([Lcom/sun/org/apache/bcel/internal/classfile/Constant;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 3 1 constant_pool [Lcom/sun/org/apache/bcel/internal/classfile/Constant;
MethodParameters:
Name Flags
constant_pool
void <init>(java.io.DataInputStream);
descriptor: (Ljava/io/DataInputStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
putfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
2: aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
anewarray com.sun.org.apache.bcel.internal.classfile.Constant
putfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
3: iconst_1
istore 3
start local 3 4: goto 10
5: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool java.io.DataInputStream top int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 3
aload 1
invokestatic com.sun.org.apache.bcel.internal.classfile.Constant.readConstant:(Ljava/io/DataInputStream;)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
aastore
6: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 3
aaload
invokevirtual com.sun.org.apache.bcel.internal.classfile.Constant.getTag:()B
istore 2
start local 2 7: iload 2
bipush 6
if_icmpeq 8
iload 2
iconst_5
if_icmpne 9
8: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool java.io.DataInputStream int int
StackMap stack:
iinc 3 1
9: StackMap locals:
StackMap stack:
iinc 3 1
end local 2 StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool java.io.DataInputStream top int
StackMap stack:
10: iload 3
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
if_icmplt 5
end local 3 11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 12 1 file Ljava/io/DataInputStream;
7 10 2 tag B
4 11 3 i I
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
MethodParameters:
Name Flags
file
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.visitConstantPool:(Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)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/ConstantPool;
0 2 1 v Lcom/sun/org/apache/bcel/internal/classfile/Visitor;
MethodParameters:
Name Flags
v
public java.lang.String constantToString(com.sun.org.apache.bcel.internal.classfile.Constant);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/Constant;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Constant.getTag:()B
istore 4
start local 4 1: iload 4
tableswitch { // 1 - 12
1: 10
2: 38
3: 18
4: 14
5: 16
6: 12
7: 2
8: 6
9: 29
10: 29
11: 29
12: 20
default: 38
}
2: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool com.sun.org.apache.bcel.internal.classfile.Constant top top int
StackMap stack:
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantClass
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantClass.getNameIndex:()I
istore 3
start local 3 3: aload 0
iload 3
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 1
4: aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
iconst_0
invokestatic com.sun.org.apache.bcel.internal.classfile.Utility.compactClassName:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 5: goto 39
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantString
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantString.getStringIndex:()I
istore 3
start local 3 7: aload 0
iload 3
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 1
8: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
invokestatic com.sun.org.apache.bcel.internal.classfile.ConstantPool.escape:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 9: goto 39
end local 3 end local 2 10: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
astore 2
start local 2 11: goto 39
end local 2 12: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantDouble
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantDouble.getBytes:()D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 13: goto 39
end local 2 14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantFloat
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantFloat.getBytes:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 15: goto 39
end local 2 16: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantLong
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantLong.getBytes:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 17: goto 39
end local 2 18: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantInteger
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantInteger.getBytes:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 19: goto 39
end local 2 20: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantNameAndType
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantNameAndType.getNameIndex:()I
21: iconst_1
22: invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(IB)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
23: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: aload 0
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantNameAndType
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantNameAndType.getSignatureIndex:()I
25: iconst_1
26: invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(IB)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 28: goto 39
end local 2 29: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantCP
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantCP.getClassIndex:()I
30: bipush 7
31: invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(IB)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
32: ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
33: aload 0
aload 1
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantCP
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantCP.getNameAndTypeIndex:()I
34: bipush 12
35: invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(IB)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 37: goto 39
end local 2 38: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unknown constant type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
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
start local 2 39: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool com.sun.org.apache.bcel.internal.classfile.Constant java.lang.String top int
StackMap stack:
aload 2
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 40 1 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
5 6 2 str Ljava/lang/String;
9 10 2 str Ljava/lang/String;
11 12 2 str Ljava/lang/String;
13 14 2 str Ljava/lang/String;
15 16 2 str Ljava/lang/String;
17 18 2 str Ljava/lang/String;
19 20 2 str Ljava/lang/String;
28 29 2 str Ljava/lang/String;
37 38 2 str Ljava/lang/String;
39 40 2 str Ljava/lang/String;
3 6 3 i I
7 10 3 i I
1 40 4 tag B
Exceptions:
throws com.sun.org.apache.bcel.internal.classfile.ClassFormatException
MethodParameters:
Name Flags
c
private static final java.lang.String escape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: new java.lang.StringBuffer
dup
iload 1
iconst_5
iadd
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 2
start local 2 2: aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 13
5: StackMap locals: java.lang.String int java.lang.StringBuffer char[] int
StackMap stack:
aload 3
iload 4
caload
lookupswitch { // 5
8: 9
9: 8
10: 6
13: 7
34: 10
default: 11
}
6: StackMap locals:
StackMap stack:
aload 2
ldc "\\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 12
7: StackMap locals:
StackMap stack:
aload 2
ldc "\\r"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 12
8: StackMap locals:
StackMap stack:
aload 2
ldc "\\t"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 12
9: StackMap locals:
StackMap stack:
aload 2
ldc "\\b"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 12
10: StackMap locals:
StackMap stack:
aload 2
ldc "\\\""
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 12
11: StackMap locals:
StackMap stack:
aload 2
aload 3
iload 4
caload
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 1
if_icmplt 5
end local 4 14: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 str Ljava/lang/String;
1 15 1 len I
2 15 2 buf Ljava/lang/StringBuffer;
3 15 3 ch [C
4 14 4 i I
MethodParameters:
Name Flags
str
public java.lang.String constantToString(int, byte);
descriptor: (IB)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(Lcom/sun/org/apache/bcel/internal/classfile/Constant;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 2 1 index I
0 2 2 tag B
1 2 3 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
Exceptions:
throws com.sun.org.apache.bcel.internal.classfile.ClassFormatException
MethodParameters:
Name Flags
index
tag
public void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
1: iconst_1
istore 2
start local 2 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 2
aaload
ifnull 5
4: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 2
aaload
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Constant.dump:(Ljava/io/DataOutputStream;)V
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
if_icmplt 3
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 8 1 file Ljava/io/DataOutputStream;
2 7 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public com.sun.org.apache.bcel.internal.classfile.Constant getConstant(int);
descriptor: (I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
arraylength
if_icmpge 1
iload 1
ifge 5
1: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
ldc "Invalid constant pool reference: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ". Constant pool size is: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial com.sun.org.apache.bcel.internal.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 6 1 index I
MethodParameters:
Name Flags
index
public com.sun.org.apache.bcel.internal.classfile.Constant getConstant(int, byte);
descriptor: (IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new com.sun.org.apache.bcel.internal.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
ldc "Constant pool at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is null."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.org.apache.bcel.internal.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.org.apache.bcel.internal.classfile.Constant
StackMap stack:
aload 3
invokevirtual com.sun.org.apache.bcel.internal.classfile.Constant.getTag:()B
iload 2
if_icmpne 5
4: aload 3
areturn
5: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
ldc "Expected class `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.org.apache.bcel.internal.Constants.CONSTANT_NAMES:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "' at index "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " and got "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial com.sun.org.apache.bcel.internal.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 8 1 index I
0 8 2 tag B
1 8 3 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
Exceptions:
throws com.sun.org.apache.bcel.internal.classfile.ClassFormatException
MethodParameters:
Name Flags
index
tag
public com.sun.org.apache.bcel.internal.classfile.Constant[] getConstantPool();
descriptor: ()[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
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.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
public java.lang.String getConstantString(int, byte);
descriptor: (IB)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 3
start local 3 1: iload 2
tableswitch { // 7 - 8
7: 2
8: 4
default: 6
}
2: StackMap locals: com.sun.org.apache.bcel.internal.classfile.Constant
StackMap stack:
aload 3
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantClass
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantClass.getNameIndex:()I
istore 4
start local 4 3: goto 7
end local 4 4: StackMap locals:
StackMap stack:
aload 3
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantString
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantString.getStringIndex:()I
istore 4
start local 4 5: goto 7
end local 4 6: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "getConstantString called with illegal tag "
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
start local 4 7: StackMap locals: int
StackMap stack:
aload 0
iload 4
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(IB)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 3
8: aload 3
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 9 1 index I
0 9 2 tag B
1 9 3 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
3 4 4 i I
5 6 4 i I
7 9 4 i I
Exceptions:
throws com.sun.org.apache.bcel.internal.classfile.ClassFormatException
MethodParameters:
Name Flags
index
tag
public int getLength();
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.ConstantPool.constant_pool_count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
public void setConstant(int, com.sun.org.apache.bcel.internal.classfile.Constant);
descriptor: (ILcom/sun/org/apache/bcel/internal/classfile/Constant;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 1
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 2 1 index I
0 2 2 constant Lcom/sun/org/apache/bcel/internal/classfile/Constant;
MethodParameters:
Name Flags
index
constant
public void setConstantPool(com.sun.org.apache.bcel.internal.classfile.Constant[]);
descriptor: ([Lcom/sun/org/apache/bcel/internal/classfile/Constant;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
1: aload 0
aload 1
ifnonnull 2
iconst_0
goto 3
StackMap locals:
StackMap stack: com.sun.org.apache.bcel.internal.classfile.ConstantPool
2: aload 1
arraylength
StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool com.sun.org.apache.bcel.internal.classfile.Constant[]
StackMap stack: com.sun.org.apache.bcel.internal.classfile.ConstantPool int
3: putfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
0 5 1 constant_pool [Lcom/sun/org/apache/bcel/internal/classfile/Constant;
MethodParameters:
Name Flags
constant_pool
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
iload 2
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
if_icmplt 3
end local 2 6: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1 7 1 buf Ljava/lang/StringBuffer;
2 6 2 i I
public com.sun.org.apache.bcel.internal.classfile.ConstantPool copy();
descriptor: ()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Object.clone:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantPool
astore 1
2: goto 4
StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool com.sun.org.apache.bcel.internal.classfile.ConstantPool
StackMap stack: java.lang.CloneNotSupportedException
3: pop
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
anewarray com.sun.org.apache.bcel.internal.classfile.Constant
putfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
5: iconst_1
istore 2
start local 2 6: goto 10
7: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 2
aaload
ifnull 9
8: aload 1
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool:[Lcom/sun/org/apache/bcel/internal/classfile/Constant;
iload 2
aaload
invokevirtual com.sun.org.apache.bcel.internal.classfile.Constant.copy:()Lcom/sun/org/apache/bcel/internal/classfile/Constant;
aastore
9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantPool.constant_pool_count:I
if_icmplt 7
end local 2 11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1 12 1 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
6 11 2 i I
Exception table:
from to target type
1 2 3 Class java.lang.CloneNotSupportedException
}
SourceFile: "ConstantPool.java"