Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6985202

no access to doc comments from Tree API

XMLWordPrintable

    • b123
    • generic
    • generic
    • Verified

      You can get at doc comments from the Language Model API (via Elements.getDocComment(Element e) ) but not from the Tree API.

      There should be a method like
      Trees.getDocComment(CompilationUnitTree unit, Tree tree)
      to get the comment (possibly null) for a tree.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: