Class XmlLabel
java.lang.Object
org.eolang.jeo.representation.xmir.XmlLabel
- All Implemented Interfaces:
XmlBytecodeEntry
XML representation of bytecode label.
- Since:
- 0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves label identifier.void
writeTo
(BytecodeMethod method) Write instruction to the bytecode method.
-
Constructor Details
-
XmlLabel
Constructor.- Parameters:
node
- Label node.
-
-
Method Details
-
writeTo
Description copied from interface:XmlBytecodeEntry
Write instruction to the bytecode method.- Specified by:
writeTo
in interfaceXmlBytecodeEntry
- Parameters:
method
- Bytecode Method where instruction should be written.
-
identifier
Retrieves label identifier. This method is used in other repositories. Do not remove it!- Returns:
- Label identifier.
-