Interface EnhancedForStatement

All Superinterfaces:
ASTNode, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Statement
All Known Implementing Classes:
EnhancedForStatementImpl

public interface EnhancedForStatement
extends Statement
A representation of the model object 'Enhanced For Statement'.

The following features are supported:

See Also:
JavaPackage.getEnhancedForStatement()
  • Method Summary

    Modifier and Type Method 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.

    Methods inherited from interface org.eclipse.emf.cdo.CDOObject

    cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver