Package org.eclipse.gmt.modisco.java
Interface ForStatement
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Statement
- All Known Implementing Classes:
ForStatementImpl
public interface ForStatement extends Statement
A representation of the model object 'For Statement'.
The following features are supported:
- See Also:
JavaPackage.getForStatement()
-
Method Summary
Modifier and Type Method Description StatementgetBody()Returns the value of the 'Body' containment reference.ExpressiongetExpression()Returns the value of the 'Expression' containment reference.org.eclipse.emf.common.util.EList<Expression>getInitializers()Returns the value of the 'Initializers' containment reference list.org.eclipse.emf.common.util.EList<Expression>getUpdaters()Returns the value of the 'Updaters' containment reference list.voidsetBody(Statement value)Sets the value of the 'Body' containment reference.voidsetExpression(Expression value)Sets the value of the 'Expression' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getExpression
Expression getExpression()Returns the value of the 'Expression' containment reference.- Returns:
- the value of the 'Expression' containment reference.
- See Also:
setExpression(Expression),JavaPackage.getForStatement_Expression()
-
setExpression
Sets the value of the 'Expression' containment reference.- Parameters:
value- the new value of the 'Expression' containment reference.- See Also:
getExpression()
-
getUpdaters
org.eclipse.emf.common.util.EList<Expression> getUpdaters()Returns the value of the 'Updaters' containment reference list. The list contents are of typeExpression.- Returns:
- the value of the 'Updaters' containment reference list.
- See Also:
JavaPackage.getForStatement_Updaters()
-
getInitializers
org.eclipse.emf.common.util.EList<Expression> getInitializers()Returns the value of the 'Initializers' containment reference list. The list contents are of typeExpression.- Returns:
- the value of the 'Initializers' containment reference list.
- See Also:
JavaPackage.getForStatement_Initializers()
-
getBody
Statement getBody()Returns the value of the 'Body' containment reference.- Returns:
- the value of the 'Body' containment reference.
- See Also:
setBody(Statement),JavaPackage.getForStatement_Body()
-
setBody
Sets the value of the 'Body' containment reference.- Parameters:
value- the new value of the 'Body' containment reference.- See Also:
getBody()
-