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
  • Constructor Details

    • XmlLabel

      public XmlLabel(XmlNode node)
      Constructor.
      Parameters:
      node - Label node.
  • Method Details

    • writeTo

      public void writeTo(BytecodeMethod method)
      Description copied from interface: XmlBytecodeEntry
      Write instruction to the bytecode method.
      Specified by:
      writeTo in interface XmlBytecodeEntry
      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.