JavaScript is disabled on your browser.
Skip navigation links
Java SE 21 & JDK 21
Overview
Module
Package
Class
Use
Tree
Preview
New
Deprecated
Index
Help
Summary:
Nested
Field
Constr
Method
Detail:
Field
Constr
Method
Summary:
Nested
|
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH
Module
jdk.compiler
Package
com.sun.source.doctree
Interface CommentTree
所有超级接口:
DocTree
public interface
CommentTree
extends
DocTree
嵌入的HTML注释。
<!-- 文本 -->
自1.8版本起:
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
()
返回注释的文本。
Methods declared in interface com.sun.source.doctree.
DocTree
accept
,
getKind
Method Details
getBody
String
getBody
()
返回注释的文本。
返回:
注释文本