-
- All Superinterfaces:
-
StatementTree,树
public interface AssertTree extends StatementTree
一个用于assert语句的树节点。 例如:assert condition ; assert condition : detail ;- 从以下版本开始:
- 1.6
- See The Java™ Language Specification:
- 第14.10节
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 ExpressionTreegetCondition()返回被声明的条件。ExpressionTreegetDetail()返回详细表达式。
-
-
-
方法详细信息
-
getCondition
ExpressionTree getCondition()
返回被声明的条件。- 结果
- 条件
-
getDetail
ExpressionTree getDetail()
返回详细表达式。- 结果
- 细节表达
-
-