Class BAStoreInstruction


  • public class BAStoreInstruction
    extends Instruction
    Represents the BASTORE instruction (0x54).
    • Constructor Detail

      • BAStoreInstruction

        public BAStoreInstruction​(int opcode,
                                  int offset)
        Constructs a BASToreInstruction.
        Parameters:
        opcode - The opcode of the instruction.
        offset - The bytecode offset of the instruction.
    • Method Detail

      • getStackChange

        public int getStackChange()
        Description copied from class: Instruction
        Returns the change in stack size caused by this instruction.
        Specified by:
        getStackChange in class Instruction
        Returns:
        The stack size change.
      • getLocalChange

        public int getLocalChange()
        Description copied from class: Instruction
        Returns the change in local variables caused by this instruction.
        Specified by:
        getLocalChange in class Instruction
        Returns:
        The local variables size change.