|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForStatementT
A for statement. JLS3 14.14.
Nested Class Summary | |
---|---|
static class |
ForStatementT.ForKind
In this version, this class is 1.4 compatible. |
Field Summary |
---|
Fields inherited from interface javax.ide.model.java.source.tree.StatementT |
---|
EMPTY_ARRAY |
Method Summary | |
---|---|
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. |
Methods inherited from interface javax.ide.model.java.source.tree.CompoundStatementT |
---|
getControlExpression, getEndClause, getPrimaryClause |
Methods inherited from interface javax.ide.model.java.source.tree.StatementT |
---|
getStatementLabels |
Methods inherited from interface javax.ide.model.java.source.tree.Tree |
---|
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty |
Method Detail |
---|
ForStatementT.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()
ListExpressionT getForInitializationList()
java.util.List getForInitializations()
ExpressionT getForConditional()
void setForConditional(ExpressionT e)
java.lang.UnsupportedOperationException
- if this is an enhanced for loop.ListExpressionT getForUpdateList()
java.util.List getForUpdates()
ExpressionT getForCollection()
void setForCollection(ExpressionT e)
java.lang.UnsupportedOperationException
- if this is not an enhanced for
loop.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |