Class BuilderInstruction

    • Field Detail

      • opcode

        @Nonnull
        protected final Opcode opcode
    • Constructor Detail

      • BuilderInstruction

        protected BuilderInstruction​(@Nonnull
                                     Opcode opcode)
    • Method Detail

      • getOpcode

        @Nonnull
        public Opcode getOpcode()
        Description copied from interface: Instruction
        Gets the opcode of this instruction.
        Specified by:
        getOpcode in interface Instruction
        Returns:
        The Opcode of this instruction.
      • getFormat

        public abstract Format getFormat()
      • getCodeUnits

        public int getCodeUnits()
        Description copied from interface: Instruction
        Gets the size of this instruction.
        Specified by:
        getCodeUnits in interface Instruction
        Returns:
        The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.