org.eclipse.xtend.core.xtend.impl
Class XtendConstructorImpl

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.XtendConstructorImpl
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, XtendConstructor, XtendMember

public class XtendConstructorImpl
extends XtendMemberImplCustom
implements XtendConstructor

An implementation of the model object 'Constructor'.

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  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  org.eclipse.emf.common.util.EList<XtendParameter> parameters
          The cached value of the 'Parameters' containment reference list.
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 XtendConstructorImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetExpression(XExpression newExpression, 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)
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getExceptions()
           
 XExpression getExpression()
           
 java.lang.String getName()
           
 org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
           
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
           
 JvmVisibility getVisibility()
           
 boolean isSetVisibility()
           
 void setExpression(XExpression newExpression)
           
 void setName(java.lang.String newName)
           
 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

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

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

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

XtendConstructorImpl

protected XtendConstructorImpl()

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 XtendConstructor
Returns:
the value of the 'Name' attribute.
See Also:
XtendConstructor.setName(String), XtendPackage.getXtendConstructor_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

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

getExpression

public XExpression getExpression()

Specified by:
getExpression in interface XtendConstructor
Returns:
the value of the 'Expression' containment reference.
See Also:
XtendConstructor.setExpression(XExpression), XtendPackage.getXtendConstructor_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 XtendConstructor
Parameters:
newExpression - the new value of the 'Expression' containment reference.
See Also:
XtendConstructor.getExpression()
EMF generated code

getParameters

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

Specified by:
getParameters in interface XtendConstructor
Returns:
the value of the 'Parameters' containment reference list.
See Also:
XtendPackage.getXtendConstructor_Parameters()
EMF generated code

getTypeParameters

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

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

getVisibility

public JvmVisibility getVisibility()

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

setVisibility

public void setVisibility(JvmVisibility newVisibility)

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

unsetVisibility

public void unsetVisibility()

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

isSetVisibility

public boolean isSetVisibility()

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

getExceptions

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

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