Class XmlTryCatchEntry

java.lang.Object
org.eolang.jeo.representation.xmir.XmlTryCatchEntry
All Implemented Interfaces:
XmlBytecodeEntry

public final class XmlTryCatchEntry extends Object implements XmlBytecodeEntry
XML try-catch entry.
Since:
0.1
  • Constructor Details

    • XmlTryCatchEntry

      public XmlTryCatchEntry(XmlNode xmlnode)
      Constructor.
      Parameters:
      xmlnode - XML node
    • XmlTryCatchEntry

      public XmlTryCatchEntry(XmlNode node, AllLabels labels)
      Constructor.
      Parameters:
      node - XML node
      labels - Labels
  • 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.
    • start

      public org.objectweb.asm.Label start()
    • end

      public org.objectweb.asm.Label end()
    • handler

      public org.objectweb.asm.Label handler()
    • type

      public String type()
      Retrieves the exception type.
      Returns:
      Exception type.