public interface ForStatementT extends CompoundStatementT
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ForStatementT.ForKind
In this version, this class is 1.4 compatible. 
 | 
EMPTY_ARRAY| Modifier and Type | Method and Description | 
|---|---|
ExpressionT | 
getForCollection()
In an enhanced for loop, this is the collection expression. 
 | 
ExpressionT | 
getForConditional()
In a standard for loop, this is the condition expression. 
 | 
ListExpressionT | 
getForInitializationList()
In a standard for loop with no variable declarations, this is the
 list wrapping the initialization terms. 
 | 
java.util.List | 
getForInitializations()
In a standard for loop with no variable declarations, these are
 the initialization terms. 
 | 
ForStatementT.ForKind | 
getForKind()  | 
ListExpressionT | 
getForUpdateList()
In a standard for loop, this is the list wrapping the update
 terms. 
 | 
java.util.List | 
getForUpdates()
In a standard for loop, these are the update terms. 
 | 
LocalVariableDeclT | 
getForVariableDeclaration()
In a standard for loop with variable declarations, this is the
 local variable declaration itself. 
 | 
java.util.List | 
getForVariables()
In a standard for loop with variable declarations, these are the
 variables declared in the initialization declaration. 
 | 
void | 
setForCollection(ExpressionT e)
Attempts to set the collection expression on this for statement. 
 | 
void | 
setForConditional(ExpressionT e)
Attempts to set the conditional expression on this for statement. 
 | 
void | 
setForVariableDeclaration(LocalVariableDeclT decl)
Attempts to set the variable declaration on this for statement. 
 | 
getControlExpression, getEndClause, getPrimaryClausegetStatementLabelsaccept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setPropertyForStatementT.ForKind getForKind()
LocalVariableDeclT getForVariableDeclaration()
void setForVariableDeclaration(LocalVariableDeclT decl)
java.lang.UnsupportedOperationException - if this for loop does not allow
                                       a variable declaration.java.util.List getForVariables()
List of LocalVariableTs.
ListExpressionT getForInitializationList()
java.util.List getForInitializations()
List of ExpressionTs.
ExpressionT getForConditional()
void setForConditional(ExpressionT e)
java.lang.UnsupportedOperationException - if this is an enhanced for loop.ListExpressionT getForUpdateList()
java.util.List getForUpdates()
List of ExpressionTs.
ExpressionT getForCollection()
void setForCollection(ExpressionT e)
java.lang.UnsupportedOperationException - if this is not an enhanced for
                                       loop.