public interface SourceForStatement extends SourceCompoundStatement
EMPTY_ARRAYCHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
int |
getControlSectionEnd()
Get the non-inclusive end of the control section of this for statement.
|
int |
getControlSectionStart()
Get the start of the control section of this for statement.
|
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, getPrimaryClausegetStatementLabels, getStatementTokenaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfbyte 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()
int getControlSectionStart()
int getControlSectionEnd()