Class XmlAnnotation

java.lang.Object
org.eolang.jeo.representation.xmir.XmlAnnotation

public class XmlAnnotation extends Object
Xmir representation of an annotation.
Since:
0.1
  • Constructor Details

    • XmlAnnotation

      public XmlAnnotation(XmlNode xmlnode)
      Constructor.
      Parameters:
      xmlnode - XML node.
  • Method Details

    • descriptor

      public String descriptor()
      Annotation descriptor.
      Returns:
      Descriptor.
    • visible

      public boolean visible()
      Annotation visible. Is it runtime-visible?
      Returns:
      True if visible at runtime, false otherwise.
    • props

      Annotation properties.
      Returns:
      Properties.
    • toBytecode

      public BytecodeAnnotation toBytecode()
      Convert to bytecode.
      Returns:
      Bytecode annotation.