Class ConcreteClassifierImpl
- 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
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Classifier
,ConcreteClassifier
,Commentable
,NamedElement
,TypeParametrizable
,Member
,MemberContainer
,AnnotableAndModifiable
,ReferenceableElement
,Statement
,Type
- Direct Known Subclasses:
AnnotationImpl
,ClassImpl
,EnumerationImpl
,InterfaceImpl
public abstract class ConcreteClassifierImpl extends ClassifierImpl implements ConcreteClassifier
An implementation of the model object 'Concrete Classifier'.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 EList<AnnotationInstanceOrModifier>
annotationsAndModifiers
The cached value of the 'Annotations And Modifiers
' containment reference list.protected EList<Member>
defaultMembers
The cached value of the 'Default Members
' containment reference list.protected EList<Member>
members
The cached value of the 'Members
' containment reference list.protected Package
package_
The cached value of the 'Package
' reference.protected EList<TypeParameter>
typeParameters
The cached value of the 'Type Parameters
' containment reference list.-
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
ConcreteClassifierImpl()
-
Method Summary
-
Methods inherited from class org.emftext.language.java.classifiers.impl.ClassifierImpl
addImport, addPackageImport, getAllSuperClassifiers, 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.classifiers.Classifier
addImport, addPackageImport, getAllSuperClassifiers
-
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.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.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
-
-
-
-
Field Detail
-
typeParameters
protected EList<TypeParameter> typeParameters
The cached value of the 'Type Parameters
' containment reference list.- See Also:
getTypeParameters()
- Generated class or method.
- Ordered collection.
-
members
protected EList<Member> members
The cached value of the 'Members
' containment reference list.- See Also:
getMembers()
- Generated class or method.
- Ordered collection.
-
defaultMembers
protected EList<Member> defaultMembers
The cached value of the 'Default Members
' containment reference list.- See Also:
getDefaultMembers()
- Generated class or method.
- Ordered collection.
-
annotationsAndModifiers
protected EList<AnnotationInstanceOrModifier> annotationsAndModifiers
The cached value of the 'Annotations And Modifiers
' containment reference list.- See Also:
getAnnotationsAndModifiers()
- Generated class or method.
- Ordered collection.
-
package_
protected Package package_
The cached value of the 'Package
' reference.- See Also:
getPackage()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classClassifierImpl
- Generated class or method.
-
getTypeParameters
public EList<TypeParameter> getTypeParameters()
- Specified by:
getTypeParameters
in interfaceTypeParametrizable
- Returns:
- the value of the 'Type Parameters' containment reference list.
- See Also:
GenericsPackage.getTypeParametrizable_TypeParameters()
- Generated class or method.
-
getMembers
public EList<Member> getMembers()
- Specified by:
getMembers
in interfaceMemberContainer
- Returns:
- the value of the 'Members' containment reference list.
- See Also:
MembersPackage.getMemberContainer_Members()
- Generated class or method.
-
getDefaultMembers
public EList<Member> getDefaultMembers()
- Specified by:
getDefaultMembers
in interfaceMemberContainer
- Returns:
- the value of the 'Default Members' containment reference list.
- See Also:
MembersPackage.getMemberContainer_DefaultMembers()
- Generated class or method.
-
getAnnotationsAndModifiers
public EList<AnnotationInstanceOrModifier> getAnnotationsAndModifiers()
- Specified by:
getAnnotationsAndModifiers
in interfaceAnnotableAndModifiable
- Returns:
- the value of the 'Annotations And Modifiers' containment reference list.
- See Also:
ModifiersPackage.getAnnotableAndModifiable_AnnotationsAndModifiers()
- Generated class or method.
-
getPackage
public Package getPackage()
- Specified by:
getPackage
in interfaceConcreteClassifier
- Returns:
- the value of the 'Package' reference.
- See Also:
ConcreteClassifier.setPackage(org.emftext.language.java.containers.Package)
,ClassifiersPackage.getConcreteClassifier_Package()
- Generated class or method.
-
basicGetPackage
public Package basicGetPackage()
- Generated class or method.
-
setPackage
public void setPackage(Package newPackage)
- Specified by:
setPackage
in interfaceConcreteClassifier
- Parameters:
newPackage
- the new value of the 'Package' reference.- See Also:
ConcreteClassifier.getPackage()
- Generated class or method.
-
getInnerClassifiers
public EList<ConcreteClassifier> getInnerClassifiers()
- Specified by:
getInnerClassifiers
in interfaceConcreteClassifier
- Generated class or method.
-
getAllInnerClassifiers
public EList<ConcreteClassifier> getAllInnerClassifiers()
- Specified by:
getAllInnerClassifiers
in interfaceConcreteClassifier
- Generated class or method.
-
getSuperTypeReferences
public EList<ClassifierReference> getSuperTypeReferences()
- Specified by:
getSuperTypeReferences
in interfaceConcreteClassifier
- Generated class or method.
-
getAllMembers
public EList<Member> getAllMembers(Commentable context)
- Specified by:
getAllMembers
in interfaceConcreteClassifier
- Specified by:
getAllMembers
in interfaceType
- Overrides:
getAllMembers
in classTypeImpl
- Generated class or method.
-
getQualifiedName
public String getQualifiedName()
- Specified by:
getQualifiedName
in interfaceConcreteClassifier
- Generated class or method.
-
isJavaLangObject
public boolean isJavaLangObject(ConcreteClassifier clazz)
- Specified by:
isJavaLangObject
in interfaceConcreteClassifier
- Generated class or method.
-
isHidden
public boolean isHidden(Commentable context)
- Specified by:
isHidden
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceAnnotableAndModifiable
- Generated class or method.
-
removeModifier
public void removeModifier(Class<?> modifierType)
- Specified by:
removeModifier
in interfaceAnnotableAndModifiable
- Generated class or method.
-
makePublic
public void makePublic()
- Specified by:
makePublic
in interfaceAnnotableAndModifiable
- Generated class or method.
-
makePrivate
public void makePrivate()
- Specified by:
makePrivate
in interfaceAnnotableAndModifiable
- Generated class or method.
-
makeProtected
public void makeProtected()
- Specified by:
makeProtected
in interfaceAnnotableAndModifiable
- Generated class or method.
-
getModifiers
public EList<Modifier> getModifiers()
- Specified by:
getModifiers
in interfaceAnnotableAndModifiable
- Generated class or method.
-
removeAllModifiers
public void removeAllModifiers()
- Specified by:
removeAllModifiers
in interfaceAnnotableAndModifiable
- Generated class or method.
-
hasModifier
public boolean hasModifier(Class<?> type)
- Specified by:
hasModifier
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceAnnotableAndModifiable
- Generated class or method.
-
addModifier
public void addModifier(Modifier newModifier)
- Specified by:
addModifier
in interfaceAnnotableAndModifiable
- Generated class or method.
-
getAnnotationInstances
public EList<AnnotationInstance> getAnnotationInstances()
- Specified by:
getAnnotationInstances
in interfaceAnnotableAndModifiable
- Generated class or method.
-
getContainedClassifier
public ConcreteClassifier getContainedClassifier(String name)
- Specified by:
getContainedClassifier
in interfaceMemberContainer
- Generated class or method.
-
getContainedField
public Field getContainedField(String name)
- Specified by:
getContainedField
in interfaceMemberContainer
- Generated class or method.
-
getContainedMethod
public Method getContainedMethod(String name)
- Specified by:
getContainedMethod
in interfaceMemberContainer
- Generated class or method.
-
getMethods
public EList<Method> getMethods()
- Specified by:
getMethods
in interfaceMemberContainer
- Generated class or method.
-
removeMethods
public void removeMethods(String name)
- Specified by:
removeMethods
in interfaceMemberContainer
- Generated class or method.
-
getMembersByName
public EList<Member> getMembersByName(String name)
- Specified by:
getMembersByName
in interfaceMemberContainer
- Generated class or method.
-
createField
public Field createField(String name, String qualifiedTypeName)
- Specified by:
createField
in interfaceMemberContainer
- Generated class or method.
-
getFields
public EList<Field> getFields()
- Specified by:
getFields
in interfaceMemberContainer
- Generated class or method.
-
getConstructors
public EList<Constructor> getConstructors()
- Specified by:
getConstructors
in interfaceMemberContainer
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classCommentableImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classClassifierImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classClassifierImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classClassifierImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classClassifierImpl
- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eBaseStructuralFeatureID
in classClassifierImpl
- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classClassifierImpl
- Generated class or method.
-
-