类 InstructionSequenceReplacer.Label

  • 封闭类:
    InstructionSequenceReplacer

    public static class InstructionSequenceReplacer.Label
    extends Instruction
    This pseudo-instruction represents a label that marks an instruction offset, for use in the context of the sequence replacer only.
    • 字段详细资料

      • identifier

        protected final int identifier
    • 方法详细资料

      • offset

        public int offset()
        Returns the offset that can then be used as a branch target in other replacement instructions.
      • shrink

        public Instruction shrink()
        从类复制的说明: Instruction
        Shrinks this instruction to its shortest possible form.
        指定者:
        shrink 在类中 Instruction
        返回:
        this instruction.
      • write

        public void write​(byte[] code,
                          int offset)
        从类复制的说明: Instruction
        Writes the Instruction at the given offset in the given code array.
        覆盖:
        write 在类中 Instruction
      • readInfo

        protected void readInfo​(byte[] code,
                                int offset)
        从类复制的说明: Instruction
        Reads the data following the instruction opcode.
        指定者:
        readInfo 在类中 Instruction
      • writeInfo

        protected void writeInfo​(byte[] code,
                                 int offset)
        从类复制的说明: Instruction
        Writes data following the instruction opcode.
        指定者:
        writeInfo 在类中 Instruction
      • length

        public int length​(int offset)
        从类复制的说明: Instruction
        Returns the length in bytes of the instruction.
        指定者:
        length 在类中 Instruction
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        指定者:
        equals 在类中 Instruction