public class InstructionFactory
extends java.lang.Object
| Constructor and Description |
|---|
InstructionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Instruction |
create(byte opcode)
Creates a new Instruction corresponding to the given opcode.
|
static Instruction |
create(byte[] code,
int offset)
Creates a new Instruction from the data in the byte array, starting
at the given offset.
|
static Instruction |
create(byte opcode,
boolean wide)
Creates a new Instruction corresponding to the given opcode.
|
public static Instruction create(byte[] code, int offset)
public static Instruction create(byte opcode)
public static Instruction create(byte opcode, boolean wide)