Package proguard.classfile.instruction
Class InstructionFactory
java.lang.Object
proguard.classfile.instruction.InstructionFactory
This class provides methods to create and reuse Instruction instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Instructioncreate(byte opcode) Creates a new Instruction corresponding to the given opcode.static Instructioncreate(byte[] code, int offset) Creates a new Instruction from the data in the byte array, starting at the given offset.static Instructioncreate(byte opcode, boolean wide) Creates a new Instruction corresponding to the given opcode.
-
Constructor Details
-
InstructionFactory
public InstructionFactory()
-
-
Method Details
-
create
Creates a new Instruction from the data in the byte array, starting at the given offset. -
create
Creates a new Instruction corresponding to the given opcode. -
create
Creates a new Instruction corresponding to the given opcode.
-