Class Branch
- java.lang.Object
-
- com.ibm.wala.dalvik.dex.instructions.Instruction
-
- com.ibm.wala.dalvik.dex.instructions.Branch
-
- Direct Known Subclasses:
Branch.BinaryBranch
,Branch.UnaryBranch
public abstract class Branch extends Instruction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Branch.BinaryBranch
static class
Branch.UnaryBranch
-
Nested classes/interfaces inherited from class com.ibm.wala.dalvik.dex.instructions.Instruction
Instruction.Visitor
-
-
Field Summary
Fields Modifier and Type Field Description int
offset
-
Fields inherited from class com.ibm.wala.dalvik.dex.instructions.Instruction
method, noInstructions, opcode, pc
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Branch(int instLoc, int offset, org.jf.dexlib.Code.Opcode opcode, DexIMethod method)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int[]
getBranchTargets()
abstract IConditionalBranchInstruction.IOperator
getOperator()
void
visit(Instruction.Visitor visitor)
-
Methods inherited from class com.ibm.wala.dalvik.dex.instructions.Instruction
getOpcode, getParentMethod, isFallThrough, isPEI
-
-
-
-
Constructor Detail
-
Branch
protected Branch(int instLoc, int offset, org.jf.dexlib.Code.Opcode opcode, DexIMethod method)
-
-
Method Detail
-
visit
public void visit(Instruction.Visitor visitor)
- Specified by:
visit
in classInstruction
-
getOperator
public abstract IConditionalBranchInstruction.IOperator getOperator()
-
getBranchTargets
public int[] getBranchTargets()
- Overrides:
getBranchTargets
in classInstruction
-
-