org.eclipse.xtext.xtend2.xtend2.impl
Class XtendFunctionImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtext.xtend2.xtend2.impl.XtendAnnotationTargetImpl
                      extended by org.eclipse.xtext.xtend2.xtend2.impl.XtendMemberImpl
                          extended by org.eclipse.xtext.xtend2.xtend2.impl.XtendMemberImplCustom
                              extended by org.eclipse.xtext.xtend2.xtend2.impl.XtendFunctionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, JvmIdentifiableElement, JvmTypeParameterDeclarator, XtendAnnotationTarget, XtendFunction, XtendMember
Direct Known Subclasses:
XtendFunctionImplCustom

public class XtendFunctionImpl
extends XtendMemberImplCustom
implements XtendFunction

An implementation of the model object 'Xtend Function'.

The following features are implemented:

EMF generated code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  CreateExtensionInfo createExtensionInfo
          The cached value of the 'Create Extension Info' containment reference
protected  boolean dispatch
          The cached value of the 'Dispatch' attribute
protected static boolean DISPATCH_EDEFAULT
          The default value of the 'Dispatch' attribute
protected  XExpression expression
          The cached value of the 'Expression' containment reference
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
protected  boolean override
          The cached value of the 'Override' attribute
protected static boolean OVERRIDE_EDEFAULT
          The default value of the 'Override' attribute
protected  org.eclipse.emf.common.util.EList<XtendParameter> parameters
          The cached value of the 'Parameters' containment reference list
protected  JvmTypeReference returnType
          The cached value of the 'Return Type' containment reference
protected  org.eclipse.emf.common.util.EList<JvmTypeParameter> typeParameters
          The cached value of the 'Type Parameters' containment reference list
 
Fields inherited from class org.eclipse.xtext.xtend2.xtend2.impl.XtendMemberImpl
annotationInfo
 
Fields inherited from class org.eclipse.xtext.xtend2.xtend2.impl.XtendAnnotationTargetImpl
annotations
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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
protected XtendFunctionImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetCreateExtensionInfo(CreateExtensionInfo newCreateExtensionInfo, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetExpression(XExpression newExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetReturnType(JvmTypeReference newReturnType, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 CreateExtensionInfo getCreateExtensionInfo()
           
 XExpression getExpression()
           
 java.lang.String getIdentifier()
           
 java.lang.String getName()
           
 org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
           
 java.lang.String getQualifiedName()
           
 java.lang.String getQualifiedName(char innerClassDelimiter)
           
 JvmTypeReference getReturnType()
           
 java.lang.String getSimpleName()
           
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
           
 boolean isDispatch()
           
 boolean isOverride()
           
 void setCreateExtensionInfo(CreateExtensionInfo newCreateExtensionInfo)
           
 void setDispatch(boolean newDispatch)
           
 void setExpression(XExpression newExpression)
           
 void setName(java.lang.String newName)
           
 void setOverride(boolean newOverride)
           
 void setReturnType(JvmTypeReference newReturnType)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtext.xtend2.xtend2.impl.XtendMemberImplCustom
getAnnotations
 
Methods inherited from class org.eclipse.xtext.xtend2.xtend2.impl.XtendMemberImpl
basicSetAnnotationInfo, getAnnotationInfo, setAnnotationInfo
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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, 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
 
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.eclipse.xtext.xtend2.xtend2.XtendMember
getAnnotationInfo, setAnnotationInfo
 
Methods inherited from interface org.eclipse.xtext.xtend2.xtend2.XtendAnnotationTarget
getAnnotations
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

typeParameters

protected org.eclipse.emf.common.util.EList<JvmTypeParameter> typeParameters
The cached value of the 'Type Parameters' containment reference list.

See Also:
getTypeParameters()
EMF generated code
EMF ordered

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

expression

protected XExpression expression
The cached value of the 'Expression' containment reference.

See Also:
getExpression()
EMF generated code
EMF ordered

returnType

protected JvmTypeReference returnType
The cached value of the 'Return Type' containment reference.

See Also:
getReturnType()
EMF generated code
EMF ordered

parameters

protected org.eclipse.emf.common.util.EList<XtendParameter> parameters
The cached value of the 'Parameters' containment reference list.

See Also:
getParameters()
EMF generated code
EMF ordered

OVERRIDE_EDEFAULT

protected static final boolean OVERRIDE_EDEFAULT
The default value of the 'Override' attribute.

See Also:
isOverride(), Constant Field Values
EMF generated code
EMF ordered

override

protected boolean override
The cached value of the 'Override' attribute.

See Also:
isOverride()
EMF generated code
EMF ordered

DISPATCH_EDEFAULT

protected static final boolean DISPATCH_EDEFAULT
The default value of the 'Dispatch' attribute.

See Also:
isDispatch(), Constant Field Values
EMF generated code
EMF ordered

dispatch

protected boolean dispatch
The cached value of the 'Dispatch' attribute.

See Also:
isDispatch()
EMF generated code
EMF ordered

createExtensionInfo

protected CreateExtensionInfo createExtensionInfo
The cached value of the 'Create Extension Info' containment reference.

See Also:
getCreateExtensionInfo()
EMF generated code
EMF ordered
Constructor Detail

XtendFunctionImpl

protected XtendFunctionImpl()

EMF generated code
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class XtendMemberImpl
EMF generated code

getTypeParameters

public org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()

Specified by:
getTypeParameters in interface JvmTypeParameterDeclarator
Returns:
the value of the 'Type Parameters' containment reference list.
See Also:
TypesPackage.getJvmTypeParameterDeclarator_TypeParameters(), JvmTypeParameter.getDeclarator()
EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface XtendFunction
Returns:
the value of the 'Name' attribute.
See Also:
XtendFunction.setName(String), Xtend2Package.getXtendFunction_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface XtendFunction
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
XtendFunction.getName()
EMF generated code

getExpression

public XExpression getExpression()

Specified by:
getExpression in interface XtendFunction
Returns:
the value of the 'Expression' containment reference.
See Also:
XtendFunction.setExpression(XExpression), Xtend2Package.getXtendFunction_Expression()
EMF generated code

basicSetExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetExpression(XExpression newExpression,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setExpression

public void setExpression(XExpression newExpression)

Specified by:
setExpression in interface XtendFunction
Parameters:
newExpression - the new value of the 'Expression' containment reference.
See Also:
XtendFunction.getExpression()
EMF generated code

getReturnType

public JvmTypeReference getReturnType()

Specified by:
getReturnType in interface XtendFunction
Returns:
the value of the 'Return Type' containment reference.
See Also:
XtendFunction.setReturnType(JvmTypeReference), Xtend2Package.getXtendFunction_ReturnType()
EMF generated code

basicSetReturnType

public org.eclipse.emf.common.notify.NotificationChain basicSetReturnType(JvmTypeReference newReturnType,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setReturnType

public void setReturnType(JvmTypeReference newReturnType)

Specified by:
setReturnType in interface XtendFunction
Parameters:
newReturnType - the new value of the 'Return Type' containment reference.
See Also:
XtendFunction.getReturnType()
EMF generated code

getParameters

public org.eclipse.emf.common.util.EList<XtendParameter> getParameters()

Specified by:
getParameters in interface XtendFunction
Returns:
the value of the 'Parameters' containment reference list.
See Also:
Xtend2Package.getXtendFunction_Parameters()
EMF generated code

isOverride

public boolean isOverride()

Specified by:
isOverride in interface XtendFunction
Returns:
the value of the 'Override' attribute.
See Also:
XtendFunction.setOverride(boolean), Xtend2Package.getXtendFunction_Override()
EMF generated code

setOverride

public void setOverride(boolean newOverride)

Specified by:
setOverride in interface XtendFunction
Parameters:
newOverride - the new value of the 'Override' attribute.
See Also:
XtendFunction.isOverride()
EMF generated code

isDispatch

public boolean isDispatch()

Specified by:
isDispatch in interface XtendFunction
Returns:
the value of the 'Dispatch' attribute.
See Also:
XtendFunction.setDispatch(boolean), Xtend2Package.getXtendFunction_Dispatch()
EMF generated code

setDispatch

public void setDispatch(boolean newDispatch)

Specified by:
setDispatch in interface XtendFunction
Parameters:
newDispatch - the new value of the 'Dispatch' attribute.
See Also:
XtendFunction.isDispatch()
EMF generated code

getCreateExtensionInfo

public CreateExtensionInfo getCreateExtensionInfo()

Specified by:
getCreateExtensionInfo in interface XtendFunction
Returns:
the value of the 'Create Extension Info' containment reference.
See Also:
XtendFunction.setCreateExtensionInfo(CreateExtensionInfo), Xtend2Package.getXtendFunction_CreateExtensionInfo()
EMF generated code

basicSetCreateExtensionInfo

public org.eclipse.emf.common.notify.NotificationChain basicSetCreateExtensionInfo(CreateExtensionInfo newCreateExtensionInfo,
                                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setCreateExtensionInfo

public void setCreateExtensionInfo(CreateExtensionInfo newCreateExtensionInfo)

Specified by:
setCreateExtensionInfo in interface XtendFunction
Parameters:
newCreateExtensionInfo - the new value of the 'Create Extension Info' containment reference.
See Also:
XtendFunction.getCreateExtensionInfo()
EMF generated code

getIdentifier

public java.lang.String getIdentifier()

Specified by:
getIdentifier in interface JvmIdentifiableElement
EMF generated code

getSimpleName

public java.lang.String getSimpleName()

Specified by:
getSimpleName in interface JvmIdentifiableElement
EMF generated code

getQualifiedName

public java.lang.String getQualifiedName()

Specified by:
getQualifiedName in interface JvmIdentifiableElement
See Also:
EMF generated code

getQualifiedName

public java.lang.String getQualifiedName(char innerClassDelimiter)

Specified by:
getQualifiedName in interface JvmIdentifiableElement
EMF generated code

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class XtendMemberImpl
EMF generated code

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class XtendMemberImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class XtendMemberImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class XtendMemberImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class XtendMemberImpl
EMF generated code

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code