public abstract class com.sun.org.apache.bcel.internal.generic.CPInstruction extends com.sun.org.apache.bcel.internal.generic.Instruction implements com.sun.org.apache.bcel.internal.generic.TypedInstruction, com.sun.org.apache.bcel.internal.generic.IndexedInstruction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.bcel.internal.generic.CPInstruction
super_class: com.sun.org.apache.bcel.internal.generic.Instruction
{
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
protected void <init>(short, int);
descriptor: (SI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_3
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.<init>:(SS)V
1: aload 0
iload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.CPInstruction.setIndex:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
0 3 1 opcode S
0 3 2 index I
MethodParameters:
Name Flags
opcode final
index final
public void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.getOpcode:()S
invokevirtual java.io.DataOutputStream.writeByte:(I)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.generic.CPInstruction.index:I
invokevirtual java.io.DataOutputStream.writeShort:(I)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/generic/CPInstruction;
0 3 1 out Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out final
public java.lang.String toString(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
iload 1
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.toString:(Z)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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.generic.CPInstruction.index:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()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/generic/CPInstruction;
0 1 1 verbose Z
MethodParameters:
Name Flags
verbose final
public java.lang.String toString(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=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.generic.CPInstruction.index:I
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.constantToString:(Lcom/sun/org/apache/bcel/internal/classfile/Constant;)Ljava/lang/String;
astore 3
start local 3 2: aload 2
instanceof com.sun.org.apache.bcel.internal.classfile.ConstantClass
ifeq 4
3: aload 3
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3
4: StackMap locals: com.sun.org.apache.bcel.internal.classfile.Constant java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.getOpcode:()S
invokestatic com.sun.org.apache.bcel.internal.Const.getOpcodeName:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
0 5 1 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1 5 2 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
2 5 3 str Ljava/lang/String;
MethodParameters:
Name Flags
cp final
protected void initFromFile(com.sun.org.apache.bcel.internal.util.ByteSequence, boolean);
descriptor: (Lcom/sun/org/apache/bcel/internal/util/ByteSequence;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.util.ByteSequence.readUnsignedShort:()I
invokevirtual com.sun.org.apache.bcel.internal.generic.CPInstruction.setIndex:(I)V
1: aload 0
iconst_3
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.setLength:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
0 3 1 bytes Lcom/sun/org/apache/bcel/internal/util/ByteSequence;
0 3 2 wide Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes final
wide final
public final int getIndex();
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.generic.CPInstruction.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
public void setIndex(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
new java.lang.StringBuilder
dup
ldc "Negative index value: "
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 com.sun.org.apache.bcel.internal.generic.ClassGenException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.generic.CPInstruction.index:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
0 4 1 index I
MethodParameters:
Name Flags
index final
public com.sun.org.apache.bcel.internal.generic.Type getType(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)Lcom/sun/org/apache/bcel/internal/generic/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
astore 2
start local 2 1: aload 2
aload 0
getfield com.sun.org.apache.bcel.internal.generic.CPInstruction.index:I
bipush 7
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstantString:(IB)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
3: new java.lang.StringBuilder
dup
ldc "L"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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 3
4: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantPool java.lang.String
StackMap stack:
aload 3
invokestatic com.sun.org.apache.bcel.internal.generic.Type.getType:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/generic/Type;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/generic/CPInstruction;
0 5 1 cpg Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
1 5 2 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
2 5 3 name Ljava/lang/String;
MethodParameters:
Name Flags
cpg final
}
SourceFile: "CPInstruction.java"