-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 7
-
Component/s: tools
-
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.
There should be a method like
Trees.getDocComment(CompilationUnitTree unit, Tree tree)
to get the comment (possibly null) for a tree.
- relates to
-
JDK-6358786 Doccomments are not returned from Tree API
-
- Closed
-