Class XmlLabel
- java.lang.Object
-
- org.eolang.jeo.representation.xmir.XmlLabel
-
- All Implemented Interfaces:
XmlBytecodeEntry
public final class XmlLabel extends Object implements XmlBytecodeEntry
XML representation of bytecode label.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringidentifier()Retrieves label identifier.voidwriteTo(BytecodeMethod method)Write instruction to the bytecode method.
-
-
-
Constructor Detail
-
XmlLabel
public XmlLabel(XmlNode node)
Constructor.- Parameters:
node- Label node.
-
-
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.
-
identifier
public String identifier()
Retrieves label identifier. This method is used in other repositories. Do not remove it!- Returns:
- Label identifier.
-
-