LoopTree
, StatementTree
, Tree
public interface ForInLoopTree extends LoopTree
for ( variable in expression ) statement
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getExpression() |
The object or array being whose properties are iterated.
|
StatementTree |
getStatement() |
The statement contained in this for..in statement.
|
ExpressionTree |
getVariable() |
The for..in left hand side expression.
|
boolean |
isForEach() |
Returns if this is a for..each..in statement or not.
|
accept, getEndPosition, getKind, getStartPosition
ExpressionTree getVariable()
ExpressionTree getExpression()
StatementTree getStatement()
getStatement
in interface LoopTree
boolean isForEach()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b161-1