public interface IfTree extends StatementTree
if ( condition ) thenStatement if ( condition ) thenStatement else elseStatement
Modifier and Type | Method and Description |
---|---|
ExpressionTree |
getCondition()
Returns the condition expression of this 'if' statement.
|
StatementTree |
getElseStatement()
Returns the then statement of this 'if' statement.
|
StatementTree |
getThenStatement()
Returns the 'then' statement of this 'if' statement.
|
accept, getEndPosition, getKind, getStartPosition
ExpressionTree getCondition()
StatementTree getThenStatement()
StatementTree getElseStatement()
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-02-27-124400.buildd.src