public class InstructionFactory
extends java.lang.Object
| Constructor and Description |
|---|
InstructionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DexlibAbstractInstruction |
fromInstruction(Instruction instruction,
int codeAddress)
Resolve an Instruction from a dexlib instruction.
|
static DexlibAbstractInstruction |
fromOpcode(Opcode op,
Instruction instruction,
int codeAddress)
Resolve an Instruction from an dex opcode.
|
public static DexlibAbstractInstruction fromInstruction(Instruction instruction, int codeAddress)
instruction - the corresponding dexlib instructioncodeAddress - the byte code address of the instructionpublic static DexlibAbstractInstruction fromOpcode(Opcode op, Instruction instruction, int codeAddress)
op - the opcode of the instructioninstruction - the corresponding dexlib instructioncodeAddress - the byte code address of the instruction