- 所有超级接口:
-
StatementTree,Tree
用于
switch语句的树节点。例如:
switch ( 表达式 ) {
情况
}
- 参见 Java语言规范:
-
14.11 switch语句
- 自1.6版本起:
- 1.6
-
Nested Class Summary
-
Method Summary
-
Method Details
-
getExpression
ExpressionTree getExpression()返回switch语句的表达式。- 返回:
- 表达式
-
getCases
返回switch语句的情况。- 返回:
- 情况
-