public abstract class Instruction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Instruction.Visitor |
Modifier and Type | Field and Description |
---|---|
protected DexIMethod |
method |
static int[] |
noInstructions |
protected org.jf.dexlib.Code.Opcode |
opcode |
int |
pc |
Modifier | Constructor and Description |
---|---|
protected |
Instruction(int pc,
org.jf.dexlib.Code.Opcode op,
DexIMethod method) |
Modifier and Type | Method and Description |
---|---|
int[] |
getBranchTargets() |
org.jf.dexlib.Code.Opcode |
getOpcode() |
DexIMethod |
getParentMethod() |
boolean |
isFallThrough()
True if the instruction can continue.
|
boolean |
isPEI()
True if the instruction can throw an exception
|
abstract void |
visit(Instruction.Visitor visitor) |
public final int pc
protected final org.jf.dexlib.Code.Opcode opcode
protected final DexIMethod method
public static final int[] noInstructions
protected Instruction(int pc, org.jf.dexlib.Code.Opcode op, DexIMethod method)
public boolean isFallThrough()
IInstruction.isFallThrough()
public boolean isPEI()
IInstruction.isPEI()
public DexIMethod getParentMethod()
public org.jf.dexlib.Code.Opcode getOpcode()
public int[] getBranchTargets()
public abstract void visit(Instruction.Visitor visitor)