Package org.eolang.opeo
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 Summary
Constructors Constructor Description LabelInstruction(org.objectweb.asm.Label label)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intopcode()Opcode number.Objectoperand(int index)Retrieve operand by position index.List<Object>operands()Full list of operands.
-
-
-
Method Detail
-
opcode
public int opcode()
Description copied from interface:InstructionOpcode number.- Specified by:
opcodein interfaceInstruction- Returns:
- Opcode number.
-
operand
public Object operand(int index)
Description copied from interface:InstructionRetrieve operand by position index.- Specified by:
operandin interfaceInstruction- Parameters:
index- Operand index- Returns:
- Operand
-
operands
public List<Object> operands()
Description copied from interface:InstructionFull list of operands.- Specified by:
operandsin interfaceInstruction- Returns:
- Operands.
-
-