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

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
                                      extended by org.eclipse.xtext.common.types.impl.JvmGenericTypeImpl
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, JvmGenericType, JvmIdentifiableElement, JvmMember, JvmType, JvmTypeParameterDeclarator
Direct Known Subclasses:
JvmGenericTypeImplCustom

public class JvmGenericTypeImpl
extends JvmDeclaredTypeImplCustom
implements JvmGenericType

An implementation of the model object 'Jvm Generic Type'.

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  boolean interface_
          The cached value of the 'Interface' attribute.
protected static boolean INTERFACE_EDEFAULT
          The default value of the 'Interface' attribute.
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.xtext.common.types.impl.JvmDeclaredTypeImplCustom
allFeatures, allFeaturesByName, 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
protected JvmGenericTypeImpl()
           
 
Method Summary
 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)
           
 java.lang.Iterable<JvmConstructor> getDeclaredConstructors()
           
 JvmTypeReference getExtendedClass()
           
 java.lang.Iterable<JvmTypeReference> getExtendedInterfaces()
           
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
           
 boolean isInstantiateable()
           
 boolean isInterface()
           
 void setInterface(boolean newInterface)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImplCustom
computeIdentifier, findAllFeaturesByName, getAllFeatures, getAllFeaturesMap, getDeclaredFields, getDeclaredOperations, getPackageName, getQualifiedName, getRawType, internalGetAllFeaturesMap, processMembers, requestNotificationOnChange
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImpl
basicGetArrayType, basicSetArrayType, getArrayType, getMembers, getSuperTypes, isAbstract, isFinal, isStatic, setAbstract, setArrayType, setFinal, setPackageName, setStatic
 
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.JvmDeclaredType
findAllFeaturesByName, getAllFeatures, getDeclaredFields, getDeclaredOperations, getMembers, getPackageName, getSuperTypes, isAbstract, isFinal, isStatic, setAbstract, setFinal, setPackageName, setStatic
 
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.xtext.common.types.JvmComponentType
getArrayType, setArrayType
 
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

INTERFACE_EDEFAULT

protected static final boolean INTERFACE_EDEFAULT
The default value of the 'Interface' attribute.

See Also:
isInterface(), Constant Field Values
EMF generated code
EMF ordered

interface_

protected boolean interface_
The cached value of the 'Interface' attribute.

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

JvmGenericTypeImpl

protected JvmGenericTypeImpl()

EMF generated code
Method Detail

eStaticClass

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

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

isInterface

public boolean isInterface()

Specified by:
isInterface in interface JvmGenericType
Returns:
the value of the 'Interface' attribute.
See Also:
JvmGenericType.setInterface(boolean), TypesPackage.getJvmGenericType_Interface()
EMF generated code

setInterface

public void setInterface(boolean newInterface)

Specified by:
setInterface in interface JvmGenericType
Parameters:
newInterface - the new value of the 'Interface' attribute.
See Also:
JvmGenericType.isInterface()
EMF generated code

getExtendedInterfaces

public java.lang.Iterable<JvmTypeReference> getExtendedInterfaces()

Specified by:
getExtendedInterfaces in interface JvmGenericType
EMF generated code

getExtendedClass

public JvmTypeReference getExtendedClass()

Specified by:
getExtendedClass in interface JvmGenericType
EMF generated code

isInstantiateable

public boolean isInstantiateable()

Specified by:
isInstantiateable in interface JvmGenericType
EMF generated code

getDeclaredConstructors

public java.lang.Iterable<JvmConstructor> getDeclaredConstructors()

Specified by:
getDeclaredConstructors in interface JvmGenericType
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 JvmDeclaredTypeImpl
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 JvmDeclaredTypeImpl
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 JvmDeclaredTypeImpl
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 JvmDeclaredTypeImpl
EMF generated code

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class JvmDeclaredTypeImpl
EMF generated code