public abstract class org.aspectj.apache.bcel.classfile.ConstantCP extends org.aspectj.apache.bcel.classfile.Constant
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.aspectj.apache.bcel.classfile.ConstantCP
super_class: org.aspectj.apache.bcel.classfile.Constant
{
protected int classIndex;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int nameAndTypeIndex;
descriptor: I
flags: (0x0004) ACC_PROTECTED
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 org.aspectj.apache.bcel.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 Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.classfile.Constant.<init>:(B)V
1: aload 0
iload 2
putfield org.aspectj.apache.bcel.classfile.ConstantCP.classIndex:I
2: aload 0
iload 3
putfield org.aspectj.apache.bcel.classfile.ConstantCP.nameAndTypeIndex: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 Lorg/aspectj/apache/bcel/classfile/ConstantCP;
0 4 1 tag B
0 4 2 classIndex I
0 4 3 nameAndTypeIndex I
MethodParameters:
Name Flags
tag
classIndex
nameAndTypeIndex
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 org.aspectj.apache.bcel.classfile.ConstantCP.tag:B
invokevirtual java.io.DataOutputStream.writeByte:(I)V
1: aload 1
aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantCP.classIndex:I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: aload 1
aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantCP.nameAndTypeIndex: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 Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.classfile.ConstantCP.classIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.classfile.ConstantCP.nameAndTypeIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/apache/bcel/classfile/ConstantCP;
public java.lang.String getClass(org.aspectj.apache.bcel.classfile.ConstantPool);
descriptor: (Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.classfile.ConstantCP.classIndex:I
bipush 7
invokevirtual org.aspectj.apache.bcel.classfile.ConstantPool.constantToString:(IB)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/apache/bcel/classfile/ConstantCP;
0 1 1 cp Lorg/aspectj/apache/bcel/classfile/ConstantPool;
MethodParameters:
Name Flags
cp
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 org.aspectj.apache.bcel.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 "(classIndex = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantCP.classIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", nameAndTypeIndex = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.aspectj.apache.bcel.classfile.ConstantCP.nameAndTypeIndex:I
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/aspectj/apache/bcel/classfile/ConstantCP;
}
SourceFile: "ConstantCP.java"