public interface

IDalvikInstructionSwitchData

com.pnfsoftware.jeb.core.units.code.android.dex.IDalvikInstructionSwitchData

Class Overview

This class represents the jump table of a switch instruction. Retrieved via getSwitchData().

The switch instructions are packed-switch and sparse-switch.

Summary

Public Methods
abstract int[][] getElements()
Get the switch data elements.
abstract int getOffset()
Get the switch data structure offset within the method bytecode, in bytes.

Public Methods

public abstract int[][] getElements ()

Get the switch data elements.

Returns
  • an array of 2-element int arrays, containing the (case-key, target-address) values

public abstract int getOffset ()

Get the switch data structure offset within the method bytecode, in bytes.