public class Switch extends Instruction
Instruction.Visitor
Modifier and Type | Field and Description |
---|---|
SwitchPad |
pad |
int |
regA |
int |
tableAddressOffset |
method, noInstructions, opcode, pc
Constructor and Description |
---|
Switch(int instLoc,
int regA,
int tableAddressOffset,
org.jf.dexlib.Code.Opcode opcode,
DexIMethod method) |
Modifier and Type | Method and Description |
---|---|
int[] |
getBranchTargets() |
int[] |
getCasesAndLabels() |
int |
getDefaultLabel() |
int[] |
getOffsets() |
void |
setSwitchPad(SwitchPad pad) |
void |
visit(Instruction.Visitor visitor) |
getOpcode, getParentMethod, isFallThrough, isPEI
public final int regA
public final int tableAddressOffset
public SwitchPad pad
public Switch(int instLoc, int regA, int tableAddressOffset, org.jf.dexlib.Code.Opcode opcode, DexIMethod method)
public void setSwitchPad(SwitchPad pad)
public int[] getOffsets()
public int getDefaultLabel()
public int[] getCasesAndLabels()
public int[] getBranchTargets()
getBranchTargets
in class Instruction
public void visit(Instruction.Visitor visitor)
visit
in class Instruction