Interface IDalvikInstructionSwitchData
public interface IDalvikInstructionSwitchData
This class represents the jump table of a switch instruction. Retrieved via
IDalvikInstruction.getSwitchData().
The switch instructions are packed-switch and sparse-switch.
-
Method Summary
Modifier and TypeMethodDescriptionint[][]Get the switch data elements.intGet the switch data structure offset within the method bytecode, in bytes.
-
Method Details
-
getOffset
int getOffset()Get the switch data structure offset within the method bytecode, in bytes.- Returns:
-
getElements
int[][] getElements()Get the switch data elements.- Returns:
- an array of 2-element int arrays, containing the (case-key, target-address) values
-