Class Switch
java.lang.Object
com.ibm.wala.dalvik.dex.instructions.Instruction
com.ibm.wala.dalvik.dex.instructions.Switch
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.dalvik.dex.instructions.Instruction
Instruction.Visitor
-
Field Summary
Fields inherited from class com.ibm.wala.dalvik.dex.instructions.Instruction
method, noInstructions, opcode, pc
-
Constructor Summary
ConstructorDescriptionSwitch
(int instLoc, int regA, int tableAddressOffset, org.jf.dexlib2.Opcode opcode, DexIMethod method) -
Method Summary
Modifier and TypeMethodDescriptionint[]
int[]
int
int[]
void
setSwitchPad
(SwitchPad pad) void
visit
(Instruction.Visitor visitor) Methods inherited from class com.ibm.wala.dalvik.dex.instructions.Instruction
getOpcode, getParentMethod, isFallThrough, isPEI
-
Field Details
-
regA
public final int regA -
tableAddressOffset
public final int tableAddressOffset -
pad
-
-
Constructor Details
-
Switch
public Switch(int instLoc, int regA, int tableAddressOffset, org.jf.dexlib2.Opcode opcode, DexIMethod method)
-
-
Method Details
-
setSwitchPad
-
getOffsets
public int[] getOffsets() -
getDefaultLabel
public int getDefaultLabel() -
getCasesAndLabels
public int[] getCasesAndLabels() -
getBranchTargets
public int[] getBranchTargets()- Overrides:
getBranchTargets
in classInstruction
-
visit
- Specified by:
visit
in classInstruction
-