Class InsnTableSwitch

  • All Implemented Interfaces:
    VMConstants

    public class InsnTableSwitch
    extends Insn
    Special instruction form for the opc_tableswitch instruction
    • Constructor Detail

      • InsnTableSwitch

        public InsnTableSwitch​(int lowOp,
                               InsnTarget defaultOp,
                               InsnTarget[] targetsOp)
        Constructor for opc_tableswitch
    • 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()
        Description copied from class: Insn
        What are the types of the stack operands ?
        Specified by:
        argTypes in class Insn
      • resultTypes

        public String resultTypes()
        Description copied from class: Insn
        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
      • markTargets

        public void markTargets()
        Mark possible branch targets
        Overrides:
        markTargets in class Insn
      • lowCase

        public int lowCase()
        Return the lowest case for the switch
      • defaultTarget

        public InsnTarget defaultTarget()
        Return the defaultTarget for the switch
      • switchTargets

        public InsnTarget[] switchTargets()
        Return the targets for the cases of the switch.