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 Instruction
Instruction.Visitor -
Field Summary
FieldsFields inherited from class Instruction
method, noInstructions, opcode, pc -
Constructor Summary
ConstructorsConstructorDescriptionSwitch(int instLoc, int regA, int tableAddressOffset, org.jf.dexlib2.Opcode opcode, DexIMethod method) -
Method Summary
Modifier and TypeMethodDescriptionint[]int[]intint[]voidsetSwitchPad(SwitchPad pad) voidvisit(Instruction.Visitor visitor) Methods inherited from class 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:
getBranchTargetsin classInstruction
-
visit
- Specified by:
visitin classInstruction
-