Package proguard.classfile.instruction
Class InstructionFactory
- java.lang.Object
-
- proguard.classfile.instruction.InstructionFactory
-
public class InstructionFactory extends java.lang.Object
This class provides methods to create and reuse Instruction instances.
-
-
Constructor Summary
Constructors Constructor Description InstructionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
create
public static Instruction create(byte[] code, int offset)
Creates a new Instruction from the data in the byte array, starting at the given offset.
-
create
public static Instruction create(byte opcode)
Creates a new Instruction corresponding to the given opcode.
-
create
public static Instruction create(byte opcode, boolean wide)
Creates a new Instruction corresponding to the given opcode.
-
-