Class XmlParam

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

public final class XmlParam extends Object
Xmir representation of a method parameter.
Since:
0.4
  • Constructor Details

    • XmlParam

      public XmlParam(int position, XmlNode root)
      Constructor.
      Parameters:
      position - Index of the parameter in the method.
      root - Root node.
  • Method Details

    • index

      public int index()
      Index of the parameter in the method.
      Returns:
      Index.
    • annotations

      public List<BytecodeAnnotation> annotations()
      Annotations of the parameter.
      Returns:
      Annotations.