Class LambdaExpressionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.arrays.impl.ArrayInitializationValueImpl
-
- org.emftext.language.java.expressions.impl.ExpressionImpl
-
- org.emftext.language.java.expressions.impl.LambdaExpressionImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,ArrayInitializationValue
,Commentable
,Expression
,LambdaBody
,LambdaExpression
public class LambdaExpressionImpl extends ExpressionImpl implements LambdaExpression
An implementation of the model object 'Lambda Expression'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected LambdaBody
body
The cached value of the 'Body
' containment reference.protected LambdaParameters
parameters
The cached value of the 'Parameters
' containment reference.-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LambdaExpressionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LambdaBody
basicGetBody()
LambdaParameters
basicGetParameters()
NotificationChain
basicSetBody(LambdaBody newBody, NotificationChain msgs)
NotificationChain
basicSetParameters(LambdaParameters newParameters, NotificationChain msgs)
boolean
doesLambdaMatchFunctionalInterface(Interface functionalInterface)
Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
LambdaBody
getBody()
LambdaParameters
getParameters()
Type
getReturnType(Type potentialReturnType)
void
setBody(LambdaBody newBody)
void
setParameters(LambdaParameters newParameters)
-
Methods inherited from class org.emftext.language.java.expressions.impl.ExpressionImpl
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
parameters
protected LambdaParameters parameters
The cached value of the 'Parameters
' containment reference.- See Also:
getParameters()
- Generated class or method.
- Ordered collection.
-
body
protected LambdaBody body
The cached value of the 'Body
' containment reference.- See Also:
getBody()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classExpressionImpl
- Generated class or method.
-
getParameters
public LambdaParameters getParameters()
- Specified by:
getParameters
in interfaceLambdaExpression
- Returns:
- the value of the 'Parameters' containment reference.
- See Also:
LambdaExpression.setParameters(LambdaParameters)
,ExpressionsPackage.getLambdaExpression_Parameters()
- Generated class or method.
-
basicGetParameters
public LambdaParameters basicGetParameters()
- Generated class or method.
-
basicSetParameters
public NotificationChain basicSetParameters(LambdaParameters newParameters, NotificationChain msgs)
- Generated class or method.
-
setParameters
public void setParameters(LambdaParameters newParameters)
- Specified by:
setParameters
in interfaceLambdaExpression
- Parameters:
newParameters
- the new value of the 'Parameters' containment reference.- See Also:
LambdaExpression.getParameters()
- Generated class or method.
-
getBody
public LambdaBody getBody()
- Specified by:
getBody
in interfaceLambdaExpression
- Returns:
- the value of the 'Body' containment reference.
- See Also:
LambdaExpression.setBody(LambdaBody)
,ExpressionsPackage.getLambdaExpression_Body()
- Generated class or method.
-
basicGetBody
public LambdaBody basicGetBody()
- Generated class or method.
-
basicSetBody
public NotificationChain basicSetBody(LambdaBody newBody, NotificationChain msgs)
- Generated class or method.
-
setBody
public void setBody(LambdaBody newBody)
- Specified by:
setBody
in interfaceLambdaExpression
- Parameters:
newBody
- the new value of the 'Body' containment reference.- See Also:
LambdaExpression.getBody()
- Generated class or method.
-
doesLambdaMatchFunctionalInterface
public boolean doesLambdaMatchFunctionalInterface(Interface functionalInterface)
- Specified by:
doesLambdaMatchFunctionalInterface
in interfaceLambdaExpression
- Generated class or method.
-
getReturnType
public Type getReturnType(Type potentialReturnType)
- Specified by:
getReturnType
in interfaceLambdaExpression
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classCommentableImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classCommentableImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classCommentableImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classCommentableImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classCommentableImpl
- Generated class or method.
-
-