Interface DoWhileLoopTree
- All Superinterfaces:
ConditionalLoopTree, LoopTree, StatementTree, Tree
A tree node for a 'do' statement.
For example:
do
statement
while ( expression );
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the condition expression of this do-while statement.The statement contained within this do-while statement.Methods inherited from interface Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getCondition
ExpressionTree getCondition()Returns the condition expression of this do-while statement.- Specified by:
getConditionin interfaceConditionalLoopTree- Returns:
- the condition expression
-
getStatement
StatementTree getStatement()The statement contained within this do-while statement.- Specified by:
getStatementin interfaceLoopTree- Returns:
- the statement
-