Class SwitchInstruction

java.lang.Object
proguard.classfile.instruction.Instruction
proguard.classfile.instruction.SwitchInstruction
Direct Known Subclasses:
LookUpSwitchInstruction, TableSwitchInstruction

public abstract class SwitchInstruction extends Instruction
This Instruction represents a switch instruction.
  • Field Details

    • defaultOffset

      public int defaultOffset
    • jumpOffsets

      public int[] jumpOffsets
  • Constructor Details

    • SwitchInstruction

      public SwitchInstruction()
      Creates an uninitialized SwitchInstruction.
    • SwitchInstruction

      public SwitchInstruction(byte opcode, int defaultOffset, int[] jumpOffsets)
      Creates a new SwitchInstruction with the given arguments. All offsets are relative to this instruction's offset.
  • Method Details