Class LabelInstruction

java.lang.Object
org.eolang.opeo.LabelInstruction
All Implemented Interfaces:
Instruction

public final class LabelInstruction extends Object implements Instruction
Label instruction.
Since:
0.1
  • Constructor Details

    • LabelInstruction

      public LabelInstruction(org.objectweb.asm.Label label)
      Constructor.
      Parameters:
      label - Label.
  • Method Details

    • opcode

      public int opcode()
      Description copied from interface: Instruction
      Opcode number.
      Specified by:
      opcode in interface Instruction
      Returns:
      Opcode number.
    • operand

      public Object operand(int index)
      Description copied from interface: Instruction
      Retrieve operand by position index.
      Specified by:
      operand in interface Instruction
      Parameters:
      index - Operand index
      Returns:
      Operand
    • operands

      public List<Object> operands()
      Description copied from interface: Instruction
      Full list of operands.
      Specified by:
      operands in interface Instruction
      Returns:
      Operands.