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.tree
Interface ParenthesizedTree
所有超接口:
ExpressionTree
,
Tree
public interface
ParenthesizedTree
extends
ExpressionTree
一个用于括号表达式的树节点。注意:解析器不会保留括号。例如:
(
表达式
)
参见
Java 语言规范
:
15.8.5 括号表达式
自版本:
1.6
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.tree.
Tree
Tree.Kind
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
ExpressionTree
getExpression
()
返回括号内的表达式。
Methods declared in interface com.sun.source.tree.
Tree
accept
,
getKind
Method Details
getExpression
ExpressionTree
getExpression
()
返回括号内的表达式。
返回:
表达式