-
- すべてのスーパー・インタフェース:
StatementTree
,Tree
public interface AssertTree extends StatementTree
assert
文のツリー・ノード。 次に例を示します。assert condition ; assert condition : detail ;
- 導入されたバージョン:
- 1.6
- Java™言語仕様:
- セクション14.10
-
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 抽象メソッド 修飾子と型 メソッド 説明 ExpressionTree
getCondition()
アサートされている条件を返します。ExpressionTree
getDetail()
詳細表現を返します。
-
-
-
メソッドの詳細
-
getCondition
ExpressionTree getCondition()
アサートされている条件を返します。- 戻り値:
- 条件
-
getDetail
ExpressionTree getDetail()
詳細表現を返します。- 戻り値:
- 詳細表現
-
-