Class XmlLabel

    • Constructor Detail

      • XmlLabel

        public XmlLabel​(org.eolang.jeo.representation.xmir.XmlNode node)
        Constructor.
        Parameters:
        node - Label node.
    • Method Detail

      • 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.
      • hasOpcode

        public boolean hasOpcode​(int opcode)
        Description copied from interface: XmlBytecodeEntry
        Check if instruction has opcode.
        Specified by:
        hasOpcode in interface XmlBytecodeEntry
        Parameters:
        opcode - Opcode comparing with.
        Returns:
        True if instruction has opcode.
      • replaceArguementsValues

        public void replaceArguementsValues​(String old,
                                            String replacement)
        Description copied from interface: XmlBytecodeEntry
        Replace values of instruction arguments.
        Specified by:
        replaceArguementsValues in interface XmlBytecodeEntry
        Parameters:
        old - Old value.
        replacement - Which value to set instead.