public interface EnhancedForStatement extends Statement
The following features are supported:
JavaPackage.getEnhancedForStatement()| Modifier and Type | Method and Description |
|---|---|
Statement |
getBody()
Returns the value of the 'Body' containment reference.
|
Expression |
getExpression()
Returns the value of the 'Expression' containment reference.
|
SingleVariableDeclaration |
getParameter()
Returns the value of the 'Parameter' containment reference.
|
void |
setBody(Statement value)
Sets the value of the '
Body' containment reference. |
void |
setExpression(Expression value)
Sets the value of the '
Expression' containment reference. |
void |
setParameter(SingleVariableDeclaration value)
Sets the value of the '
Parameter' containment reference. |
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitStatement getBody()
If the meaning of the 'Body' containment reference isn't clear, there really should be more of a description here...
setBody(Statement),
JavaPackage.getEnhancedForStatement_Body()void setBody(Statement value)
Body' containment reference.
value - the new value of the 'Body' containment reference.getBody()Expression getExpression()
If the meaning of the 'Expression' containment reference isn't clear, there really should be more of a description here...
setExpression(Expression),
JavaPackage.getEnhancedForStatement_Expression()void setExpression(Expression value)
Expression' containment reference.
value - the new value of the 'Expression' containment reference.getExpression()SingleVariableDeclaration getParameter()
Enhanced For Statement'.
If the meaning of the 'Parameter' containment reference isn't clear, there really should be more of a description here...
setParameter(SingleVariableDeclaration),
JavaPackage.getEnhancedForStatement_Parameter(),
SingleVariableDeclaration.getEnhancedForStatement()void setParameter(SingleVariableDeclaration value)
Parameter' containment reference.
value - the new value of the 'Parameter' containment reference.getParameter()