Class ClassImpl
- 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.types.impl.TypeImpl
-
- org.emftext.language.java.classifiers.impl.ClassifierImpl
-
- org.emftext.language.java.classifiers.impl.ConcreteClassifierImpl
-
- org.emftext.language.java.classifiers.impl.ClassImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Class
,Classifier
,ConcreteClassifier
,Implementor
,Commentable
,NamedElement
,TypeParametrizable
,Member
,MemberContainer
,AnnotableAndModifiable
,ReferenceableElement
,Statement
,Type
public class ClassImpl extends ConcreteClassifierImpl implements Class
An implementation of the model object 'Class'.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 TypeReference
defaultExtends
The cached value of the 'Default Extends
' containment reference.protected TypeReference
extends_
The cached value of the 'Extends
' containment reference.protected EList<TypeReference>
implements_
The cached value of the 'Implements
' containment reference list.-
Fields inherited from class org.emftext.language.java.classifiers.impl.ConcreteClassifierImpl
annotationsAndModifiers, defaultMembers, members, package_, typeParameters
-
Fields inherited from class org.emftext.language.java.classifiers.impl.ClassifierImpl
name, NAME_EDEFAULT
-
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
ClassImpl()
-
Method Summary
-
Methods inherited from class org.emftext.language.java.classifiers.impl.ConcreteClassifierImpl
addModifier, basicGetPackage, createField, getAllInnerClassifiers, getAllMembers, getAnnotationInstances, getAnnotationsAndModifiers, getConstructors, getContainedClassifier, getContainedField, getContainedMethod, getDefaultMembers, getFields, getInnerClassifiers, getMembers, getMembersByName, getMethods, getModifiers, getPackage, getQualifiedName, getSuperTypeReferences, getTypeParameters, hasModifier, isHidden, isJavaLangObject, isPrivate, isProtected, isPublic, isStatic, makePrivate, makeProtected, makePublic, removeAllModifiers, removeMethods, removeModifier, setPackage
-
Methods inherited from class org.emftext.language.java.classifiers.impl.ClassifierImpl
addImport, addPackageImport, getName, setName, toString
-
Methods inherited from class org.emftext.language.java.types.impl.TypeImpl
equalsType, isSuperType
-
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, 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, 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.emftext.language.java.modifiers.AnnotableAndModifiable
addModifier, getAnnotationInstances, getAnnotationsAndModifiers, getModifiers, hasModifier, isHidden, isPrivate, isProtected, isPublic, isStatic, makePrivate, makeProtected, makePublic, removeAllModifiers, removeModifier
-
Methods inherited from interface org.emftext.language.java.classifiers.Classifier
addImport, addPackageImport
-
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.emftext.language.java.classifiers.ConcreteClassifier
getAllInnerClassifiers, getAllMembers, getInnerClassifiers, getPackage, getQualifiedName, getSuperTypeReferences, isJavaLangObject, setPackage
-
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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.emftext.language.java.members.MemberContainer
createField, getConstructors, getContainedClassifier, getContainedField, getContainedMethod, getDefaultMembers, getFields, getMembers, getMembersByName, getMethods, removeMethods
-
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.types.Type
equalsType, isSuperType
-
Methods inherited from interface org.emftext.language.java.generics.TypeParametrizable
getTypeParameters
-
-
-
-
Field Detail
-
implements_
protected EList<TypeReference> implements_
The cached value of the 'Implements
' containment reference list.- See Also:
getImplements()
- Generated class or method.
- Ordered collection.
-
extends_
protected TypeReference extends_
The cached value of the 'Extends
' containment reference.- See Also:
getExtends()
- Generated class or method.
- Ordered collection.
-
defaultExtends
protected TypeReference defaultExtends
The cached value of the 'Default Extends
' containment reference.- See Also:
getDefaultExtends()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classConcreteClassifierImpl
- Generated class or method.
-
getImplements
public EList<TypeReference> getImplements()
- Specified by:
getImplements
in interfaceImplementor
- Returns:
- the value of the 'Implements' containment reference list.
- See Also:
ClassifiersPackage.getImplementor_Implements()
- Generated class or method.
-
getExtends
public TypeReference getExtends()
- Specified by:
getExtends
in interfaceClass
- Returns:
- the value of the 'Extends' containment reference.
- See Also:
Class.setExtends(TypeReference)
,ClassifiersPackage.getClass_Extends()
- Generated class or method.
-
basicGetExtends
public TypeReference basicGetExtends()
- Generated class or method.
-
basicSetExtends
public NotificationChain basicSetExtends(TypeReference newExtends, NotificationChain msgs)
- Generated class or method.
-
setExtends
public void setExtends(TypeReference newExtends)
- Specified by:
setExtends
in interfaceClass
- Parameters:
newExtends
- the new value of the 'Extends' containment reference.- See Also:
Class.getExtends()
- Generated class or method.
-
getDefaultExtends
public TypeReference getDefaultExtends()
- Specified by:
getDefaultExtends
in interfaceClass
- Returns:
- the value of the 'Default Extends' containment reference.
- See Also:
Class.setDefaultExtends(TypeReference)
,ClassifiersPackage.getClass_DefaultExtends()
- Generated class or method.
-
basicGetDefaultExtends
public TypeReference basicGetDefaultExtends()
- Generated class or method.
-
basicSetDefaultExtends
public NotificationChain basicSetDefaultExtends(TypeReference newDefaultExtends, NotificationChain msgs)
- Generated class or method.
-
setDefaultExtends
public void setDefaultExtends(TypeReference newDefaultExtends)
- Specified by:
setDefaultExtends
in interfaceClass
- Parameters:
newDefaultExtends
- the new value of the 'Default Extends' containment reference.- See Also:
Class.getDefaultExtends()
- Generated class or method.
-
getAllSuperClassifiers
public EList<ConcreteClassifier> getAllSuperClassifiers()
- Specified by:
getAllSuperClassifiers
in interfaceClass
- Specified by:
getAllSuperClassifiers
in interfaceClassifier
- Overrides:
getAllSuperClassifiers
in classClassifierImpl
- Generated class or method.
-
getSuperClass
public Class getSuperClass()
- Specified by:
getSuperClass
in interfaceClass
- Generated class or method.
-
unWrapPrimitiveType
public PrimitiveType unWrapPrimitiveType()
- Specified by:
unWrapPrimitiveType
in interfaceClass
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classConcreteClassifierImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classConcreteClassifierImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classConcreteClassifierImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classConcreteClassifierImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classConcreteClassifierImpl
- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eBaseStructuralFeatureID
in classConcreteClassifierImpl
- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classConcreteClassifierImpl
- Generated class or method.
-
-