Interface CommentTree

All Superinterfaces:
DocTree

public interface CommentTree extends DocTree
An embedded HTML comment.
    <!-- text -->
 
Since:
1.8
  • Nested Class Summary Link icon

    Nested classes/interfaces declared in interface DocTree Link icon

    DocTree.Kind
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Returns the text of the comment.

    Methods declared in interface DocTree Link icon

    accept, getKind
  • Method Details Link icon

    • getBody Link icon

      String getBody()
      Returns the text of the comment.
      Returns:
      the comment text