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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DexIMethodstatic final int[]protected final org.jf.dexlib2.Opcodefinal int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstruction(int pc, org.jf.dexlib2.Opcode op, DexIMethod method) -
Method Summary
Modifier and TypeMethodDescriptionint[]org.jf.dexlib2.OpcodebooleanTrue if the instruction can continue.booleanisPEI()True if the instruction can throw an exceptionabstract voidvisit(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
-