Class ArithmeticInstruction

    • Constructor Detail

      • ArithmeticInstruction

        ArithmeticInstruction()
        Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.
      • ArithmeticInstruction

        protected ArithmeticInstruction​(short opcode)
        Constructs an ArithmeticInstruction.
        Parameters:
        opcode - of instruction.
    • Method Detail

      • getType

        public Type getType​(ConstantPoolGen cp)
        Description copied from interface: TypedInstruction
        Gets the type associated with this instruction.
        Specified by:
        getType in interface TypedInstruction
        Parameters:
        cp - the constant pool generator.
        Returns:
        type associated with the instruction.