org.eclipse.xtend.core.xtend.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.xtend.core.xtend.impl.XtendAnnotationTargetImpl
                      extended by org.eclipse.xtend.core.xtend.impl.XtendMemberImpl
                          extended by org.eclipse.xtend.core.xtend.impl.XtendMemberImplCustom
                              extended by org.eclipse.xtend.core.xtend.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, XtendAnnotationTarget, XtendFunction, XtendMember

public class XtendFunctionImpl
extends XtendMemberImplCustom
implements XtendFunction

An implementation of the model object '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>
 
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  org.eclipse.emf.common.util.EList<JvmTypeReference> exceptions
          The cached value of the 'Exceptions' containment reference list.
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  boolean static_
          The cached value of the 'Static' attribute.
protected static boolean STATIC_EDEFAULT
          The default value of the 'Static' attribute.
protected  org.eclipse.emf.common.util.EList<JvmTypeParameter> typeParameters
          The cached value of the 'Type Parameters' containment reference list.
protected  JvmVisibility visibility
          The cached value of the 'Visibility' attribute.
protected static JvmVisibility VISIBILITY_EDEFAULT
          The default value of the 'Visibility' attribute.
protected  boolean visibilityESet
          This is true if the Visibility attribute has been set.
 
Fields inherited from class org.eclipse.xtend.core.xtend.impl.XtendMemberImpl
annotationInfo
 
Fields inherited from class org.eclipse.xtend.core.xtend.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)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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()
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getExceptions()
           
 XExpression getExpression()
           
 java.lang.String getName()
           
 org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
           
 JvmTypeReference getReturnType()
           
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
           
 JvmVisibility getVisibility()
           
 boolean isDispatch()
           
 boolean isOverride()
           
 boolean isSetVisibility()
           
 boolean isStatic()
           
 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)
           
 void setStatic(boolean newStatic)
           
 void setVisibility(JvmVisibility newVisibility)
           
 java.lang.String toString()
           
 void unsetVisibility()
           
 
Methods inherited from class org.eclipse.xtend.core.xtend.impl.XtendMemberImplCustom
getAnnotations
 
Methods inherited from class org.eclipse.xtend.core.xtend.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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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.xtend.core.xtend.XtendMember
getAnnotationInfo, setAnnotationInfo
 
Methods inherited from interface org.eclipse.xtend.core.xtend.XtendAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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

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

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

VISIBILITY_EDEFAULT

protected static final JvmVisibility VISIBILITY_EDEFAULT
The default value of the 'Visibility' attribute.

See Also:
getVisibility()
EMF generated code
EMF ordered

visibility

protected JvmVisibility visibility
The cached value of the 'Visibility' attribute.

See Also:
getVisibility()
EMF generated code
EMF ordered

visibilityESet

protected boolean visibilityESet
This is true if the Visibility attribute has been set.

EMF generated code
EMF ordered

STATIC_EDEFAULT

protected static final boolean STATIC_EDEFAULT
The default value of the 'Static' attribute.

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

static_

protected boolean static_
The cached value of the 'Static' attribute.

See Also:
isStatic()
EMF generated code
EMF ordered

exceptions

protected org.eclipse.emf.common.util.EList<JvmTypeReference> exceptions
The cached value of the 'Exceptions' containment reference list.

See Also:
getExceptions()
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

getName

public java.lang.String getName()

Specified by:
getName in interface XtendFunction
Returns:
the value of the 'Name' attribute.
See Also:
XtendFunction.setName(String), XtendPackage.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), XtendPackage.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), XtendPackage.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:
XtendPackage.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), XtendPackage.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), XtendPackage.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), XtendPackage.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

getTypeParameters

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

Specified by:
getTypeParameters in interface XtendFunction
Returns:
the value of the 'Type Parameters' containment reference list.
See Also:
XtendPackage.getXtendFunction_TypeParameters()
EMF generated code

getVisibility

public JvmVisibility getVisibility()

Specified by:
getVisibility in interface XtendFunction
Returns:
the value of the 'Visibility' attribute.
See Also:
JvmVisibility, XtendFunction.isSetVisibility(), XtendFunction.unsetVisibility(), XtendFunction.setVisibility(JvmVisibility), XtendPackage.getXtendFunction_Visibility()
EMF generated code

setVisibility

public void setVisibility(JvmVisibility newVisibility)

Specified by:
setVisibility in interface XtendFunction
Parameters:
newVisibility - the new value of the 'Visibility' attribute.
See Also:
JvmVisibility, XtendFunction.isSetVisibility(), XtendFunction.unsetVisibility(), XtendFunction.getVisibility()
EMF generated code

unsetVisibility

public void unsetVisibility()

Specified by:
unsetVisibility in interface XtendFunction
See Also:
XtendFunction.isSetVisibility(), XtendFunction.getVisibility(), XtendFunction.setVisibility(JvmVisibility)
EMF generated code

isSetVisibility

public boolean isSetVisibility()

Specified by:
isSetVisibility in interface XtendFunction
Returns:
whether the value of the 'Visibility' attribute is set.
See Also:
XtendFunction.unsetVisibility(), XtendFunction.getVisibility(), XtendFunction.setVisibility(JvmVisibility)
EMF generated code

isStatic

public boolean isStatic()

Specified by:
isStatic in interface XtendFunction
Returns:
the value of the 'Static' attribute.
See Also:
XtendFunction.setStatic(boolean), XtendPackage.getXtendFunction_Static()
EMF generated code

setStatic

public void setStatic(boolean newStatic)

Specified by:
setStatic in interface XtendFunction
Parameters:
newStatic - the new value of the 'Static' attribute.
See Also:
XtendFunction.isStatic()
EMF generated code

getExceptions

public org.eclipse.emf.common.util.EList<JvmTypeReference> getExceptions()

Specified by:
getExceptions in interface XtendFunction
Returns:
the value of the 'Exceptions' containment reference list.
See Also:
XtendPackage.getXtendFunction_Exceptions()
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

toString

public java.lang.String toString()

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