Public Methods | |
Instruction_intindex (byte c) | |
int | compile (byte bc[], int index) |
void | markCPRefs (boolean[] refs) |
int | nextOffset (int curr) |
int | parse (byte bc[], int index) |
void | redirectCPRefs (short redirect[]) |
String | toString (cp_info constant_pool[]) |
Public Attributes | |
int | arg_i |
Each subclass is derived from one of
Definition at line 138 of file Instruction_intindex.java.
|
Writes out the sequence of bytecodes represented by this instruction, including any arguments.
Reimplemented from Instruction. Reimplemented in Instruction_Invokeinterface, and Instruction_Multianewarray. Definition at line 141 of file Instruction_intindex.java. |
|
Marks the appropriate spot if that constant_pool entry is used by this instr. For every constant pool entry used (referenced) by this instruction, the corresponding boolean in the given array is set to true.
Reimplemented from Instruction. Definition at line 146 of file Instruction_intindex.java. |
|
Returns the next available offset assuming this instruction begins on the indicated offset; default assumes no arguments.
Reimplemented from Instruction. Reimplemented in Instruction_Invokeinterface, and Instruction_Multianewarray. Definition at line 147 of file Instruction_intindex.java. |
|
Assuming the actual bytecode for this instruction has been extracted already, and index is the offset of the next byte, this method parses whatever arguments the instruction requires and return the offset of the next available byte.
Reimplemented from Instruction. Reimplemented in Instruction_Invokeinterface, and Instruction_Multianewarray. Definition at line 148 of file Instruction_intindex.java. |
|
Updates all constant pool references within this instruction to use new indices, based on the given redirection array.
Reimplemented from Instruction. Definition at line 152 of file Instruction_intindex.java. |
|
For displaying instructions.
Reimplemented from Instruction. Reimplemented in Instruction_Invokeinterface, and Instruction_Multianewarray. Definition at line 153 of file Instruction_intindex.java. |