JavaScript is disabled on your browser.
This specification is not final and is subject to change. Use is subject to
license terms
.
Skip navigation links
Overview
Class
Use
Tree
Preview
New
Deprecated
Index
Search
Help
Java SE 23 & JDK 23
DRAFT 23-internal-2024-04-16-1247301.vklang...
jdk.compiler
com.sun.source.doctree
CommentTree
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Nested Class Summary
Method Summary
Method Details
getBody()
Interface CommentTree
All Superinterfaces:
DocTree
public interface
CommentTree
extends
DocTree
An embedded HTML comment.
<!-- text -->
Since:
1.8
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.doctree.
DocTree
DocTree.Kind
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
String
getBody
()
Returns the text of the comment.
Methods declared in interface com.sun.source.doctree.
DocTree
accept
,
getKind
Method Details
getBody
String
getBody
()
Returns the text of the comment.
Returns:
the comment text