org.eclipse.xtext.xtend2.xtend2.impl
Class XtendClassImpl

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.common.types.impl.JvmIdentifiableElementImpl
                      extended by org.eclipse.xtext.common.types.impl.JvmIdentifiableElementImplCustom
                          extended by org.eclipse.xtext.xtend2.xtend2.impl.XtendClassImpl
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, XtendClass
Direct Known Subclasses:
XtendClassImplCustom

public class XtendClassImpl
extends JvmIdentifiableElementImplCustom
implements XtendClass

An implementation of the model object 'Xtend Class'.

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  org.eclipse.emf.common.util.EList<XAnnotation> annotations
          The cached value of the 'Annotations' containment reference list
protected  JvmTypeReference extends_
          The cached value of the 'Extends' containment reference
protected  org.eclipse.emf.common.util.EList<JvmTypeReference> implements_
          The cached value of the 'Implements' containment reference list
protected  org.eclipse.emf.common.util.EList<XtendMember> members
          The cached value of the 'Members' containment reference list
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  XtendClassSuperCallReferable superCallReferable
          The cached value of the 'Super Call Referable' containment reference
protected  org.eclipse.emf.common.util.EList<JvmTypeReference> superTypes
          The cached value of the 'Super Types' reference list
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.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 XtendClassImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetExtends(JvmTypeReference newExtends, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSuperCallReferable(XtendClassSuperCallReferable newSuperCallReferable, 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)
           
 org.eclipse.emf.common.util.EList<XAnnotation> getAnnotations()
           
 JvmTypeReference getExtends()
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getImplements()
           
 org.eclipse.emf.common.util.EList<XtendMember> getMembers()
           
 java.lang.String getName()
           
 java.lang.String getPackageName()
           
 XtendClassSuperCallReferable getSuperCallReferable()
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()
           
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
           
 void setExtends(JvmTypeReference newExtends)
           
 void setName(java.lang.String newName)
           
 void setSuperCallReferable(XtendClassSuperCallReferable newSuperCallReferable)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmIdentifiableElementImplCustom
getQualifiedName
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmIdentifiableElementImpl
getIdentifier, getQualifiedName, getSimpleName
 
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.XtendClass
getSimpleName
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getIdentifier, getQualifiedName, getQualifiedName
 
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

annotations

protected org.eclipse.emf.common.util.EList<XAnnotation> annotations
The cached value of the 'Annotations' containment reference list.

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

extends_

protected JvmTypeReference extends_
The cached value of the 'Extends' containment reference.

See Also:
getExtends()
EMF generated code
EMF ordered

implements_

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

See Also:
getImplements()
EMF generated code
EMF ordered

superTypes

protected org.eclipse.emf.common.util.EList<JvmTypeReference> superTypes
The cached value of the 'Super Types' reference list.

See Also:
getSuperTypes()
EMF generated code
EMF ordered

members

protected org.eclipse.emf.common.util.EList<XtendMember> members
The cached value of the 'Members' containment reference list.

See Also:
getMembers()
EMF generated code
EMF ordered

superCallReferable

protected XtendClassSuperCallReferable superCallReferable
The cached value of the 'Super Call Referable' containment reference.

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

XtendClassImpl

protected XtendClassImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class JvmIdentifiableElementImpl
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

getAnnotations

public org.eclipse.emf.common.util.EList<XAnnotation> getAnnotations()

Specified by:
getAnnotations in interface XtendAnnotationTarget
Returns:
the value of the 'Annotations' containment reference list.
See Also:
Xtend2Package.getXtendAnnotationTarget_Annotations()
EMF generated code

getName

public java.lang.String getName()

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

setName

public void setName(java.lang.String newName)

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

getExtends

public JvmTypeReference getExtends()

Specified by:
getExtends in interface XtendClass
Returns:
the value of the 'Extends' containment reference.
See Also:
XtendClass.setExtends(JvmTypeReference), Xtend2Package.getXtendClass_Extends()
EMF generated code

basicSetExtends

public org.eclipse.emf.common.notify.NotificationChain basicSetExtends(JvmTypeReference newExtends,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setExtends

public void setExtends(JvmTypeReference newExtends)

Specified by:
setExtends in interface XtendClass
Parameters:
newExtends - the new value of the 'Extends' containment reference.
See Also:
XtendClass.getExtends()
EMF generated code

getImplements

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

Specified by:
getImplements in interface XtendClass
Returns:
the value of the 'Implements' containment reference list.
See Also:
Xtend2Package.getXtendClass_Implements()
EMF generated code

getSuperTypes

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

Specified by:
getSuperTypes in interface XtendClass
Returns:
the value of the 'Super Types' reference list.
See Also:
Xtend2Package.getXtendClass_SuperTypes()
EMF generated code

getMembers

public org.eclipse.emf.common.util.EList<XtendMember> getMembers()

Specified by:
getMembers in interface XtendClass
Returns:
the value of the 'Members' containment reference list.
See Also:
Xtend2Package.getXtendClass_Members()
EMF generated code

getSuperCallReferable

public XtendClassSuperCallReferable getSuperCallReferable()

Specified by:
getSuperCallReferable in interface XtendClass
Returns:
the value of the 'Super Call Referable' containment reference.
See Also:
XtendClass.setSuperCallReferable(XtendClassSuperCallReferable), Xtend2Package.getXtendClass_SuperCallReferable(), XtendClassSuperCallReferable.getXtendClass()
EMF generated code

basicSetSuperCallReferable

public org.eclipse.emf.common.notify.NotificationChain basicSetSuperCallReferable(XtendClassSuperCallReferable newSuperCallReferable,
                                                                                  org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setSuperCallReferable

public void setSuperCallReferable(XtendClassSuperCallReferable newSuperCallReferable)

Specified by:
setSuperCallReferable in interface XtendClass
Parameters:
newSuperCallReferable - the new value of the 'Super Call Referable' containment reference.
See Also:
XtendClass.getSuperCallReferable()
EMF generated code

getPackageName

public java.lang.String getPackageName()

Specified by:
getPackageName in interface XtendClass
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 JvmIdentifiableElementImplCustom
EMF generated code