Class PackedSwitchPayloadDecodedInstruction

java.lang.Object
com.android.dx.io.instructions.DecodedInstruction
com.android.dx.io.instructions.PackedSwitchPayloadDecodedInstruction

public final class PackedSwitchPayloadDecodedInstruction extends DecodedInstruction
A decoded Dalvik instruction which contains the payload for a packed-switch instruction.
  • Constructor Details

    • PackedSwitchPayloadDecodedInstruction

      public PackedSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int firstKey, int[] targets)
      Constructs an instance.
  • Method Details

    • getRegisterCount

      public int getRegisterCount()
      Specified by:
      getRegisterCount in class DecodedInstruction
    • getFirstKey

      public int getFirstKey()
    • getTargets

      public int[] getTargets()
    • withIndex

      public DecodedInstruction withIndex(int newIndex)
      Returns an instance just like this one, except with the index replaced with the given one.
      Specified by:
      withIndex in class DecodedInstruction