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

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

    XMLWordPrintable

Details

    • 9
    • b154
    • generic
    • generic
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: