public abstract class com.sun.org.apache.bcel.internal.classfile.ConstantCP extends com.sun.org.apache.bcel.internal.classfile.Constant
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.bcel.internal.classfile.ConstantCP
super_class: com.sun.org.apache.bcel.internal.classfile.Constant
{
protected int class_index;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int name_and_type_index;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(com.sun.org.apache.bcel.internal.classfile.ConstantCP);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantCP.getTag:()B
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantCP.getClassIndex:()I
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantCP.getNameAndTypeIndex:()I
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantCP.<init>:(BII)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/ConstantCP;
0 2 1 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;
MethodParameters:
Name Flags
c
void <init>(byte, java.io.DataInputStream);
descriptor: (BLjava/io/DataInputStream;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
aload 2
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantCP.<init>:(BII)V
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/ConstantCP;
0 2 1 tag B
0 2 2 file Ljava/io/DataInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tag
file
protected void <init>(byte, int, int);
descriptor: (BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.<init>:(B)V
1: aload 0
iload 2
putfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.class_index:I
2: aload 0
iload 3
putfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.name_and_type_index:I
3: return
end local 3 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/ConstantCP;
0 4 1 tag B
0 4 2 class_index I
0 4 3 name_and_type_index I
MethodParameters:
Name Flags
tag
class_index
name_and_type_index
public final void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.tag:B
invokevirtual java.io.DataOutputStream.writeByte:(I)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.class_index:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.name_and_type_index:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;
0 4 1 file Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public final int getClassIndex();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.class_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;
public final int getNameAndTypeIndex();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.name_and_type_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;
public final void setClassIndex(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.class_index:I
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/ConstantCP;
0 2 1 class_index I
MethodParameters:
Name Flags
class_index
public java.lang.String getClass(com.sun.org.apache.bcel.internal.classfile.ConstantPool);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.class_index:I
bipush 7
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(IB)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;
0 1 1 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
MethodParameters:
Name Flags
cp
public final void setNameAndTypeIndex(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.name_and_type_index:I
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/ConstantCP;
0 2 1 name_and_type_index I
MethodParameters:
Name Flags
name_and_type_index
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(class_index = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.class_index:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc ", name_and_type_index = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantCP.name_and_type_index:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantCP;
}
SourceFile: "ConstantCP.java"