类 SwitchInstruction

    • 字段详细资料

      • defaultOffset

        public int defaultOffset
      • jumpOffsets

        public int[] jumpOffsets
    • 构造器详细资料

      • SwitchInstruction

        public SwitchInstruction()
        Creates an uninitialized SwitchInstruction.
      • SwitchInstruction

        public SwitchInstruction​(byte opcode,
                                 int defaultOffset,
                                 int[] jumpOffsets)
        Creates a new SwitchInstruction with the given arguments. All offsets are relative to this instruction's offset.
    • 方法详细资料

      • copy

        public SwitchInstruction copy​(SwitchInstruction switchInstruction)
        Copies the given instruction into this instruction.
        参数:
        switchInstruction - the instruction to be copied.
        返回:
        this instruction.
      • toString

        public java.lang.String toString​(int offset)
        从类复制的说明: Instruction
        Returns a description of the instruction, at the given offset.
        覆盖:
        toString 在类中 Instruction
      • toString

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

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