Package jminusminus
Class CLFieldInstruction
java.lang.Object
jminusminus.CLInstruction
jminusminus.CLFieldInstruction
Representation for FIELD instructions.
-
Field Summary
Fields inherited from class jminusminus.CLInstruction
instructionInfo, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits
-
Constructor Summary
ConstructorDescriptionCLFieldInstruction
(int opcode, int pc, int index, int stackUnits) Constructs a CLFieldInstruction object. -
Method Summary
Methods inherited from class jminusminus.CLInstruction
byteAt, isValid, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits
-
Constructor Details
-
CLFieldInstruction
public CLFieldInstruction(int opcode, int pc, int index, int stackUnits) Constructs a CLFieldInstruction object.- Parameters:
opcode
- the opcode for this instruction.pc
- index of this instruction within the code array of a method.index
- index into the constant pool, the item at which contains the name and descriptor of the field.stackUnits
- words produced - words consumed from the operand stack by this instruction.
-
-
Method Details
-
toBytes
Returns the bytecode for this instruction.- Specified by:
toBytes
in classCLInstruction
- Returns:
- the bytecode for this instruction.
-