ConditionalLoopTree
, LoopTree
, StatementTree
, Tree
public interface ForLoopTree extends ConditionalLoopTree
for ( initializer ; condition ; update ) statement
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getCondition() |
Returns the condition expression of this 'for' statement.
|
ExpressionTree |
getInitializer() |
Returns the initializer expression of this 'for' statement.
|
StatementTree |
getStatement() |
Returns the statement contained in this 'for' statement.
|
ExpressionTree |
getUpdate() |
Returns the update expression of this 'for' statement.
|
accept, getEndPosition, getKind, getStartPosition
ExpressionTree getInitializer()
ExpressionTree getCondition()
getCondition
in interface ConditionalLoopTree
ExpressionTree getUpdate()
StatementTree getStatement()
getStatement
in interface LoopTree
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1ubuntu1