类 InstructionFactory


  • public class InstructionFactory
    extends java.lang.Object
    This class provides methods to create and reuse Instruction instances.
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      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.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • InstructionFactory

        public InstructionFactory()
    • 方法详细资料

      • 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.