public abstract class com.sun.org.apache.bcel.internal.generic.Instruction implements java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.bcel.internal.generic.Instruction
super_class: java.lang.Object
{
protected short length;
descriptor: S
flags: (0x0004) ACC_PROTECTED
protected short opcode;
descriptor: S
flags: (0x0004) ACC_PROTECTED
private static com.sun.org.apache.bcel.internal.generic.InstructionComparator cmp;
descriptor: Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.org.apache.bcel.internal.generic.InstructionComparator.DEFAULT:Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
putstatic com.sun.org.apache.bcel.internal.generic.Instruction.cmp:Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.org.apache.bcel.internal.generic.Instruction.length:S
2: aload 0
iconst_m1
putfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
public void <init>(short, short);
descriptor: (SS)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.org.apache.bcel.internal.generic.Instruction.length:S
2: aload 0
iconst_m1
putfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
3: aload 0
iload 2
putfield com.sun.org.apache.bcel.internal.generic.Instruction.length:S
4: aload 0
iload 1
putfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 6 1 opcode S
0 6 2 length S
MethodParameters:
Name Flags
opcode
length
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
getfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
invokevirtual java.io.DataOutputStream.writeByte:(I)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/generic/Instruction;
0 2 1 out Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.bcel.internal.Constants.OPCODE_NAMES:[Ljava/lang/String;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
public java.lang.String toString(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.getName:()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.Instruction.opcode:S
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.Instruction.length:S
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
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.getName:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 3 1 verbose Z
MethodParameters:
Name Flags
verbose
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.toString:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.toString:(Z)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/Instruction;
0 1 1 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
MethodParameters:
Name Flags
cp
public com.sun.org.apache.bcel.internal.generic.Instruction copy();
descriptor: ()Lcom/sun/org/apache/bcel/internal/generic/Instruction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: getstatic com.sun.org.apache.bcel.internal.generic.InstructionConstants.INSTRUCTIONS:[Lcom/sun/org/apache/bcel/internal/generic/Instruction;
aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.getOpcode:()S
aaload
ifnull 3
2: aload 0
astore 1
goto 7
3: StackMap locals: com.sun.org.apache.bcel.internal.generic.Instruction
StackMap stack:
aload 0
invokevirtual java.lang.Object.clone:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.generic.Instruction
astore 1
4: goto 7
StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
5: astore 2
start local 2 6: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
1 8 1 i Lcom/sun/org/apache/bcel/internal/generic/Instruction;
6 7 2 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
3 4 5 Class java.lang.CloneNotSupportedException
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=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 1 1 bytes Lcom/sun/org/apache/bcel/internal/util/ByteSequence;
0 1 2 wide Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
wide
public static final com.sun.org.apache.bcel.internal.generic.Instruction readInstruction(com.sun.org.apache.bcel.internal.util.ByteSequence);
descriptor: (Lcom/sun/org/apache/bcel/internal/util/ByteSequence;)Lcom/sun/org/apache/bcel/internal/generic/Instruction;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual com.sun.org.apache.bcel.internal.util.ByteSequence.readUnsignedByte:()I
i2s
istore 2
start local 2 2: aconst_null
astore 3
start local 3 3: iload 2
sipush 196
if_icmpne 6
4: iconst_1
istore 1
5: aload 0
invokevirtual com.sun.org.apache.bcel.internal.util.ByteSequence.readUnsignedByte:()I
i2s
istore 2
6: StackMap locals: int int com.sun.org.apache.bcel.internal.generic.Instruction
StackMap stack:
getstatic com.sun.org.apache.bcel.internal.generic.InstructionConstants.INSTRUCTIONS:[Lcom/sun/org/apache/bcel/internal/generic/Instruction;
iload 2
aaload
ifnull 8
7: getstatic com.sun.org.apache.bcel.internal.generic.InstructionConstants.INSTRUCTIONS:[Lcom/sun/org/apache/bcel/internal/generic/Instruction;
iload 2
aaload
areturn
8: StackMap locals:
StackMap stack:
iload 2
invokestatic com.sun.org.apache.bcel.internal.generic.Instruction.className:(S)Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 9: goto 12
end local 4 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
10: pop
11: new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
ldc "Illegal opcode detected."
invokespecial com.sun.org.apache.bcel.internal.generic.ClassGenException.<init>:(Ljava/lang/String;)V
athrow
start local 4 12: StackMap locals: java.lang.Class
StackMap stack:
aload 4
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.generic.Instruction
astore 3
13: iload 1
ifeq 17
aload 3
instanceof com.sun.org.apache.bcel.internal.generic.LocalVariableInstruction
ifne 17
14: aload 3
instanceof com.sun.org.apache.bcel.internal.generic.IINC
ifne 17
15: aload 3
instanceof com.sun.org.apache.bcel.internal.generic.RET
ifne 17
16: new java.lang.Exception
dup
new java.lang.StringBuilder
dup
ldc "Illegal opcode after wide: "
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.Exception.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 3
iload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.setOpcode:(S)V
18: aload 3
aload 0
iload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.Instruction.initFromFile:(Lcom/sun/org/apache/bcel/internal/util/ByteSequence;Z)V
19: goto 22
StackMap locals:
StackMap stack: java.lang.Exception
20: astore 5
start local 5 21: new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
aload 5
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokespecial com.sun.org.apache.bcel.internal.generic.ClassGenException.<init>:(Ljava/lang/String;)V
athrow
end local 5 22: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 bytes Lcom/sun/org/apache/bcel/internal/util/ByteSequence;
1 23 1 wide Z
2 23 2 opcode S
3 23 3 obj Lcom/sun/org/apache/bcel/internal/generic/Instruction;
9 10 4 clazz Ljava/lang/Class;
12 23 4 clazz Ljava/lang/Class;
21 22 5 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.ClassNotFoundException
12 19 20 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
private static final java.lang.String className(short);
descriptor: (S)Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic com.sun.org.apache.bcel.internal.Constants.OPCODE_NAMES:[Ljava/lang/String;
iload 0
aaload
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: aload 1
iload 2
iconst_2
isub
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 3: aload 1
iload 2
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 3
bipush 95
if_icmpne 6
iload 4
bipush 48
if_icmplt 6
iload 4
bipush 53
if_icmpgt 6
5: aload 1
iconst_0
iload 2
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
6: StackMap locals: int java.lang.String int int int
StackMap stack:
aload 1
ldc "ICONST_M1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
7: ldc "ICONST"
astore 1
end local 4 end local 3 end local 2 8: goto 11
StackMap locals: int java.lang.String
StackMap stack: java.lang.StringIndexOutOfBoundsException
9: astore 2
start local 2 10: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 2 11: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "com.sun.org.apache.bcel.internal.generic."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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 12 0 opcode S
1 12 1 name Ljava/lang/String;
2 8 2 len I
3 8 3 ch1 C
4 8 4 ch2 C
10 11 2 e Ljava/lang/StringIndexOutOfBoundsException;
Exception table:
from to target type
1 8 9 Class java.lang.StringIndexOutOfBoundsException
MethodParameters:
Name Flags
opcode
public int consumeStack(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.bcel.internal.Constants.CONSUME_STACK:[I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 1 1 cpg Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
MethodParameters:
Name Flags
cpg
public int produceStack(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.bcel.internal.Constants.PRODUCE_STACK:[I
aload 0
getfield com.sun.org.apache.bcel.internal.generic.Instruction.opcode:S
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 1 1 cpg Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
MethodParameters:
Name Flags
cpg
public short getOpcode();
descriptor: ()S
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.generic.Instruction.opcode:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
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.generic.Instruction.length:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
private void setOpcode(short);
descriptor: (S)V
flags: (0x0002) ACC_PRIVATE
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.generic.Instruction.opcode:S
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 1 1 opcode S
MethodParameters:
Name Flags
opcode
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
public abstract void accept(com.sun.org.apache.bcel.internal.generic.Visitor);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/Visitor;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
public static com.sun.org.apache.bcel.internal.generic.InstructionComparator getComparator();
descriptor: ()Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.org.apache.bcel.internal.generic.Instruction.cmp:Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setComparator(com.sun.org.apache.bcel.internal.generic.InstructionComparator);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.org.apache.bcel.internal.generic.Instruction.cmp:Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
MethodParameters:
Name Flags
c
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.org.apache.bcel.internal.generic.Instruction
ifeq 2
1: getstatic com.sun.org.apache.bcel.internal.generic.Instruction.cmp:Lcom/sun/org/apache/bcel/internal/generic/InstructionComparator;
aload 0
aload 1
checkcast com.sun.org.apache.bcel.internal.generic.Instruction
invokeinterface com.sun.org.apache.bcel.internal.generic.InstructionComparator.equals:(Lcom/sun/org/apache/bcel/internal/generic/Instruction;Lcom/sun/org/apache/bcel/internal/generic/Instruction;)Z
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/Instruction;
0 4 1 that Ljava/lang/Object;
MethodParameters:
Name Flags
that
}
SourceFile: "Instruction.java"