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

The Tree API gives no access to non-Javadoc comments

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      The Tree API gives access to Javadoc comments but not to any other comments such as line and multi-line comments.
      There are at least 2 reasons for access to non-Javadoc comments:
      - the Tree API should give a complete view on the Java source code, see bug JDK-8024098.
      - some annotations such as @todo appear in non-Javadoc comments and Java Models want to make such annotations easily accessible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kbronkho Keimpe Bronkhorst
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: