public interface SourceForStatement extends SourceCompoundStatement
EMPTY_ARRAY
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT
Modifier and Type | Method and Description |
---|---|
SourceExpression |
getForCollection()
In an enhanced for loop, this is the collection expression.
|
SourceExpression |
getForConditional()
In a standard for loop, this is the condition expression.
|
SourceListExpression |
getForInitializationList()
In a standard for loop with no variable declarations, this is the list wrapping the initialization terms.
|
java.util.List<SourceExpression> |
getForInitializations()
In a standard for loop with no variable declarations, these are the initialization terms.
|
byte |
getForType()
FOR_EXPRESSION: A standard for loop with no variable declarations.
|
SourceListExpression |
getForUpdateList()
In a standard for loop, this is the list wrapping the update terms.
|
java.util.List<SourceExpression> |
getForUpdates()
In a standard for loop, these are the update terms.
|
SourceLocalVariableDeclaration |
getForVariableDeclaration()
In a standard for loop with variable declarations, this is the initialization declaration wrapping the variables.
|
java.util.List<SourceLocalVariable> |
getForVariables()
In a standard for loop with variable declarations, these are the variables declared in the initialization declaration.
|
getControlExpression, getEndClause, getPrimaryClause
getStatementLabels, getStatementToken
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getJdkVersion, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf
byte getForType()
SourceLocalVariableDeclaration getForVariableDeclaration()
java.util.List<SourceLocalVariable> getForVariables()
SourceListExpression getForInitializationList()
java.util.List<SourceExpression> getForInitializations()
SourceExpression getForConditional()
SourceListExpression getForUpdateList()
java.util.List<SourceExpression> getForUpdates()
SourceExpression getForCollection()