public interface AssertTree extends StatementTree
assert
statement.
For example:
assert condition ; assert condition : detail ;
Modifier and Type | Method and Description |
---|---|
ExpressionTree |
getCondition()
Returns the condition being asserted.
|
ExpressionTree |
getDetail()
Returns the detail expression.
|
ExpressionTree getCondition()
ExpressionTree getDetail()
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-17-105616.buildd.src