Module jdk.compiler

Interface CommentTree

  • All Superinterfaces:
    DocTree

    public interface CommentTree
    extends DocTree
    An embedded HTML comment.

    <!-- text -->

    Since:
    1.8
    • Method Detail

      • getBody

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