Class InsnIInc

  • All Implemented Interfaces:
    VMConstants

    public class InsnIInc
    extends Insn
    Special instruction form for the opc_iinc instruction
    • Constructor Detail

      • InsnIInc

        public InsnIInc​(int localVarIndex,
                        int value)
        Constructor for opc_iinc instruction
    • Method Detail

      • nStackArgs

        public int nStackArgs()
        Description copied from class: Insn
        How many words of stack operands does this instruction take?
        Specified by:
        nStackArgs in class Insn
      • nStackResults

        public int nStackResults()
        Description copied from class: Insn
        How many words of stack results does this instruction deposit?
        Specified by:
        nStackResults in class Insn
      • argTypes

        public String argTypes()
        What are the types of the stack operands ?
        Specified by:
        argTypes in class Insn
      • resultTypes

        public String resultTypes()
        What are the types of the stack results?
        Specified by:
        resultTypes in class Insn
      • branches

        public boolean branches()
        Description copied from class: Insn
        Does this instruction branch?
        Specified by:
        branches in class Insn
      • varIndex

        public int varIndex()
        The local variable slot to be incremented
      • incrValue

        public int incrValue()
        The amount by which the slot is to be incremented