org.eclipse.xtext.common.types.impl
Class JvmDeclaredTypeImplCustom

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.JvmAnnotationTargetImpl
                      extended by org.eclipse.xtext.common.types.impl.JvmMemberImpl
                          extended by org.eclipse.xtext.common.types.impl.JvmMemberImplCustom
                              extended by org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImpl
                                  extended by org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImplCustom
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, JvmAnnotationTarget, JvmComponentType, JvmDeclaredType, JvmIdentifiableElement, JvmMember, JvmType
Direct Known Subclasses:
JvmAnnotationTypeImpl, JvmEnumerationTypeImpl, JvmGenericTypeImpl

public abstract class JvmDeclaredTypeImplCustom
extends JvmDeclaredTypeImpl

Author:
Sebastian Zarnekow - Initial contribution and API

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  java.util.Set<JvmFeature> allFeatures
           
protected  java.util.Map<java.lang.String,java.util.Set<JvmFeature>> allFeaturesByName
           
protected  java.util.Set<java.lang.String> removedOverridden
           
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImpl
abstract_, ABSTRACT_EDEFAULT, arrayType, final_, FINAL_EDEFAULT, members, PACKAGE_NAME_EDEFAULT, packageName, static_, STATIC_EDEFAULT, superTypes
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImpl
identifier, IDENTIFIER_EDEFAULT, SIMPLE_NAME_EDEFAULT, simpleName, visibility, VISIBILITY_EDEFAULT
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmAnnotationTargetImpl
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
JvmDeclaredTypeImplCustom()
           
 
Method Summary
protected  java.lang.String computeIdentifier()
           
 java.lang.Iterable<JvmFeature> findAllFeaturesByName(java.lang.String simpleName)
           
 java.lang.Iterable<JvmFeature> getAllFeatures()
           
protected  java.util.Map<java.lang.String,java.util.Set<JvmFeature>> getAllFeaturesMap()
           
 java.lang.Iterable<JvmField> getDeclaredFields()
           
 java.lang.Iterable<JvmOperation> getDeclaredOperations()
           
 java.lang.String getPackageName()
           
 java.lang.String getQualifiedName(char innerClassDelimiter)
           
protected  JvmType getRawType(JvmTypeReference reference)
           
protected  java.util.Map<java.lang.String,java.util.Set<JvmFeature>> internalGetAllFeaturesMap(java.util.Set<JvmDeclaredType> processedSuperTypes)
           
protected  void processMembers(java.util.Map<java.lang.String,java.util.Set<JvmFeature>> result, java.util.Collection<? extends JvmMember> members)
           
protected  void requestNotificationOnChange(java.lang.Runnable listener)
           
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImpl
basicGetArrayType, basicSetArrayType, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getArrayType, getMembers, getSuperTypes, isAbstract, isFinal, isStatic, setAbstract, setArrayType, setFinal, setPackageName, setStatic, toString
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImplCustom
getIdentifier, getQualifiedName, internalSetIdentifier
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImpl
basicGetDeclaringType, basicSetDeclaringType, eBasicRemoveFromContainerFeature, getDeclaringType, getSimpleName, getVisibility, setDeclaringType, setSimpleName, setVisibility
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmAnnotationTargetImpl
getAnnotations
 
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, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, 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.xtext.common.types.JvmMember
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, setDeclaringType, setSimpleName, setVisibility
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

allFeaturesByName

protected java.util.Map<java.lang.String,java.util.Set<JvmFeature>> allFeaturesByName

removedOverridden

protected java.util.Set<java.lang.String> removedOverridden

allFeatures

protected java.util.Set<JvmFeature> allFeatures
Constructor Detail

JvmDeclaredTypeImplCustom

public JvmDeclaredTypeImplCustom()
Method Detail

getPackageName

public java.lang.String getPackageName()
Description copied from class: JvmDeclaredTypeImpl

Specified by:
getPackageName in interface JvmDeclaredType
Overrides:
getPackageName in class JvmDeclaredTypeImpl
Returns:
the value of the 'Package Name' attribute.
See Also:
JvmDeclaredType.setPackageName(String), TypesPackage.getJvmDeclaredType_PackageName()

computeIdentifier

protected java.lang.String computeIdentifier()
Overrides:
computeIdentifier in class JvmMemberImplCustom

getQualifiedName

public java.lang.String getQualifiedName(char innerClassDelimiter)
Description copied from class: JvmMemberImpl

Specified by:
getQualifiedName in interface JvmIdentifiableElement
Overrides:
getQualifiedName in class JvmMemberImplCustom

getDeclaredFields

public java.lang.Iterable<JvmField> getDeclaredFields()
Description copied from class: JvmDeclaredTypeImpl

Specified by:
getDeclaredFields in interface JvmDeclaredType
Overrides:
getDeclaredFields in class JvmDeclaredTypeImpl

getDeclaredOperations

public java.lang.Iterable<JvmOperation> getDeclaredOperations()
Description copied from class: JvmDeclaredTypeImpl

Specified by:
getDeclaredOperations in interface JvmDeclaredType
Overrides:
getDeclaredOperations in class JvmDeclaredTypeImpl

findAllFeaturesByName

public java.lang.Iterable<JvmFeature> findAllFeaturesByName(java.lang.String simpleName)
Description copied from class: JvmDeclaredTypeImpl

Specified by:
findAllFeaturesByName in interface JvmDeclaredType
Overrides:
findAllFeaturesByName in class JvmDeclaredTypeImpl

getAllFeaturesMap

protected java.util.Map<java.lang.String,java.util.Set<JvmFeature>> getAllFeaturesMap()

internalGetAllFeaturesMap

protected java.util.Map<java.lang.String,java.util.Set<JvmFeature>> internalGetAllFeaturesMap(java.util.Set<JvmDeclaredType> processedSuperTypes)

requestNotificationOnChange

protected void requestNotificationOnChange(java.lang.Runnable listener)

processMembers

protected void processMembers(java.util.Map<java.lang.String,java.util.Set<JvmFeature>> result,
                              java.util.Collection<? extends JvmMember> members)

getAllFeatures

public java.lang.Iterable<JvmFeature> getAllFeatures()
Description copied from class: JvmDeclaredTypeImpl

Specified by:
getAllFeatures in interface JvmDeclaredType
Overrides:
getAllFeatures in class JvmDeclaredTypeImpl

getRawType

protected JvmType getRawType(JvmTypeReference reference)