Class XmlInstruction
- java.lang.Object
-
- org.eolang.jeo.representation.xmir.XmlInstruction
-
- All Implemented Interfaces:
XmlBytecodeEntry
public final class XmlInstruction extends Object implements XmlBytecodeEntry
Bytecode instruction from XML.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description XmlInstruction(int opcode, Object... args)Constructor.XmlInstruction(String xml)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]arguments()Instruction arguments.booleanequals(Object other)inthashCode()StringtoString()voidwriteTo(BytecodeMethod method)Write instruction to the bytecode method.
-
-
-
Method Detail
-
writeTo
public void writeTo(BytecodeMethod method)
Description copied from interface:XmlBytecodeEntryWrite instruction to the bytecode method.- Specified by:
writeToin interfaceXmlBytecodeEntry- Parameters:
method- Bytecode Method where instruction should be written.
-
arguments
public Object[] arguments()
Instruction arguments.- Returns:
- Arguments.
-
-