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.
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
- relates to
-
JDK-8024098 javac syntax tree should more closely model the source code
- Open