Uses of Interface
com.sun.source.tree.StatementTree
-
Packages that use StatementTree 软件包 描述 com.sun.source.tree 提供将源代码表示为抽象语法树(AST)的接口。 -
-
Uses of StatementTree in com.sun.source.tree
Subinterfaces of StatementTree in com.sun.source.tree 变量和类型 接口 描述 interface
AssertTree
assert
语句的树节点。interface
BlockTree
语句块的树节点。interface
BreakTree
break
语句的树节点。interface
ClassTree
类,接口,枚举或注释类型声明的树节点。interface
ContinueTree
continue
语句的树节点。interface
DoWhileLoopTree
do
语句的树节点。interface
EmptyStatementTree
空(跳过)语句的树节点。interface
EnhancedForLoopTree
“增强”for
循环语句的树节点。interface
ExpressionStatementTree
表达式语句的树节点。interface
ForLoopTree
基本for
循环语句的树节点。interface
IfTree
if
语句的树节点。interface
LabeledStatementTree
标记语句的树节点。interface
ReturnTree
return
语句的树节点。interface
SwitchTree
switch
语句的树节点。interface
SynchronizedTree
synchronized
语句的树节点。interface
ThrowTree
throw
语句的树节点。interface
TryTree
try
语句的树节点。interface
VariableTree
变量声明的树节点。interface
WhileLoopTree
while
循环语句的树节点。Methods in com.sun.source.tree that return StatementTree 变量和类型 方法 描述 StatementTree
IfTree. getElseStatement()
如果条件为false,则返回要执行的语句null
如果没有此类语句,则返回null
。StatementTree
DoWhileLoopTree. getStatement()
返回循环体。StatementTree
EnhancedForLoopTree. getStatement()
返回循环体。StatementTree
ForLoopTree. getStatement()
返回for
语句的for
。StatementTree
LabeledStatementTree. getStatement()
返回标记的语句。StatementTree
WhileLoopTree. getStatement()
返回循环体。StatementTree
IfTree. getThenStatement()
如果条件为真,则返回要执行的语句Methods in com.sun.source.tree that return types with arguments of type StatementTree 变量和类型 方法 描述 List<? extends StatementTree>
ForLoopTree. getInitializer()
返回for
语句的任何初始值设定for
。List<? extends StatementTree>
BlockTree. getStatements()
返回包含此块的语句。List<? extends StatementTree>
CaseTree. getStatements()
返回案例标记的语句。
-