Class Instruction
java.lang.Object
com.ibm.wala.dalvik.dex.instructions.Instruction
- Direct Known Subclasses:
ArrayFill
,ArrayGet
,ArrayLength
,ArrayPut
,BinaryLiteralOperation
,BinaryOperation
,Branch
,CheckCast
,Constant
,GetField
,Goto
,InstanceOf
,Invoke
,Monitor
,New
,NewArray
,NewArrayFilled
,PutField
,Return
,Switch
,Throw
,UnaryOperation
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DexIMethod
static final int[]
protected final org.jf.dexlib2.Opcode
final int
-
Constructor Summary
ModifierConstructorDescriptionprotected
Instruction
(int pc, org.jf.dexlib2.Opcode op, DexIMethod method) -
Method Summary
Modifier and TypeMethodDescriptionint[]
org.jf.dexlib2.Opcode
boolean
True if the instruction can continue.boolean
isPEI()
True if the instruction can throw an exceptionabstract void
visit
(Instruction.Visitor visitor)
-
Field Details
-
pc
public final int pc -
opcode
protected final org.jf.dexlib2.Opcode opcode -
method
-
noInstructions
public static final int[] noInstructions
-
-
Constructor Details
-
Instruction
-
-
Method Details
-
isFallThrough
public boolean isFallThrough()True if the instruction can continue.- See Also:
-
isPEI
public boolean isPEI()True if the instruction can throw an exception- See Also:
-
getParentMethod
- Returns:
- The DexIMethod which contains this instruction.
-
getOpcode
public org.jf.dexlib2.Opcode getOpcode()- Returns:
- The opcode associated with this instruction.
-
getBranchTargets
public int[] getBranchTargets() -
visit
-