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

Compiler Tree API's Doctrees.getDocTreePath needs to accept a PackageElement

XMLWordPrintable

    • 9
    • b154
    • generic
    • generic
    • Verified

        The API getDocTreePath(FileObject fileObject) was added earlier, this allowed a way access the parsed document comments in a package.html file.

        However, this API does not go far enough, as the user has to maintain a mapping of the package FileObject to the DocTreePath. It will be far more efficient If the API instead took in a PackageElement,and stored that in the synthetic JCCompilationUnit, thus eliminate additional mappings.

              ksrini Kumar Srinivasan
              ksrini Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: