APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface CommentTree

extends DocTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCComment

An embedded HTML comment.
   <!-- text -->
Since
1.8

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the comment text
getBody
()

Returns the text of the comment.

Inherited from com.sun.source.doctree.DocTree:
acceptgetKind

Method Detail

getBodyback to summary
public String getBody()

Returns the text of the comment.

Returns:String

the comment text