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

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
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:
JvmDeclaredTypeImplCustom

public abstract class JvmDeclaredTypeImpl
extends JvmMemberImplCustom
implements JvmDeclaredType

An implementation of the model object 'Jvm Declared 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 abstract_
          The cached value of the 'Abstract' attribute.
protected static boolean ABSTRACT_EDEFAULT
          The default value of the 'Abstract' attribute.
protected  JvmArrayType arrayType
          The cached value of the 'Array Type' containment reference.
protected  boolean final_
          The cached value of the 'Final' attribute.
protected static boolean FINAL_EDEFAULT
          The default value of the 'Final' attribute.
protected  org.eclipse.emf.common.util.EList<JvmMember> members
          The cached value of the 'Members' containment reference list.
protected static java.lang.String PACKAGE_NAME_EDEFAULT
          The default value of the 'Package Name' attribute.
protected  java.lang.String packageName
          The cached value of the 'Package Name' attribute.
protected  boolean static_
          The cached value of the 'Static' attribute.
protected static boolean STATIC_EDEFAULT
          The default value of the 'Static' attribute.
protected  org.eclipse.emf.common.util.EList<JvmTypeReference> superTypes
          The cached value of the 'Super Types' containment reference list.
 
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 JvmDeclaredTypeImpl()
           
 
Method Summary
 JvmArrayType basicGetArrayType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetArrayType(JvmArrayType newArrayType, 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)
           
 java.lang.Iterable<JvmFeature> findAllFeaturesByName(java.lang.String simpleName)
           
 java.lang.Iterable<JvmFeature> getAllFeatures()
           
 JvmArrayType getArrayType()
           
 java.lang.Iterable<JvmField> getDeclaredFields()
           
 java.lang.Iterable<JvmOperation> getDeclaredOperations()
           
 org.eclipse.emf.common.util.EList<JvmMember> getMembers()
           
 java.lang.String getPackageName()
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isStatic()
           
 void setAbstract(boolean newAbstract)
           
 void setArrayType(JvmArrayType newArrayType)
           
 void setFinal(boolean newFinal)
           
 void setPackageName(java.lang.String newPackageName)
           
 void setStatic(boolean newStatic)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImplCustom
computeIdentifier, getIdentifier, getQualifiedName, 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

arrayType

protected JvmArrayType arrayType
The cached value of the 'Array Type' containment reference.

See Also:
getArrayType()
EMF generated code
EMF ordered

superTypes

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

See Also:
getSuperTypes()
EMF generated code
EMF ordered

members

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

See Also:
getMembers()
EMF generated code
EMF ordered

ABSTRACT_EDEFAULT

protected static final boolean ABSTRACT_EDEFAULT
The default value of the 'Abstract' attribute.

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

abstract_

protected boolean abstract_
The cached value of the 'Abstract' attribute.

See Also:
isAbstract()
EMF generated code
EMF ordered

STATIC_EDEFAULT

protected static final boolean STATIC_EDEFAULT
The default value of the 'Static' attribute.

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

static_

protected boolean static_
The cached value of the 'Static' attribute.

See Also:
isStatic()
EMF generated code
EMF ordered

FINAL_EDEFAULT

protected static final boolean FINAL_EDEFAULT
The default value of the 'Final' attribute.

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

final_

protected boolean final_
The cached value of the 'Final' attribute.

See Also:
isFinal()
EMF generated code
EMF ordered

PACKAGE_NAME_EDEFAULT

protected static final java.lang.String PACKAGE_NAME_EDEFAULT
The default value of the 'Package Name' attribute.

See Also:
getPackageName()
EMF generated code
EMF ordered

packageName

protected java.lang.String packageName
The cached value of the 'Package Name' attribute.

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

JvmDeclaredTypeImpl

protected JvmDeclaredTypeImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class JvmMemberImpl
EMF generated code

getArrayType

public JvmArrayType getArrayType()

Specified by:
getArrayType in interface JvmComponentType
Returns:
the value of the 'Array Type' containment reference.
See Also:
JvmComponentType.setArrayType(JvmArrayType), TypesPackage.getJvmComponentType_ArrayType(), JvmArrayType.getComponentType()
EMF generated code

basicGetArrayType

public JvmArrayType basicGetArrayType()

EMF generated code

basicSetArrayType

public org.eclipse.emf.common.notify.NotificationChain basicSetArrayType(JvmArrayType newArrayType,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setArrayType

public void setArrayType(JvmArrayType newArrayType)

Specified by:
setArrayType in interface JvmComponentType
Parameters:
newArrayType - the new value of the 'Array Type' containment reference.
See Also:
JvmComponentType.getArrayType()
EMF generated code

getSuperTypes

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

Specified by:
getSuperTypes in interface JvmDeclaredType
Returns:
the value of the 'Super Types' containment reference list.
See Also:
TypesPackage.getJvmDeclaredType_SuperTypes()
EMF generated code

getMembers

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

Specified by:
getMembers in interface JvmDeclaredType
Returns:
the value of the 'Members' containment reference list.
See Also:
TypesPackage.getJvmDeclaredType_Members(), JvmMember.getDeclaringType()
EMF generated code

isAbstract

public boolean isAbstract()

Specified by:
isAbstract in interface JvmDeclaredType
Returns:
the value of the 'Abstract' attribute.
See Also:
JvmDeclaredType.setAbstract(boolean), TypesPackage.getJvmDeclaredType_Abstract()
EMF generated code

setAbstract

public void setAbstract(boolean newAbstract)

Specified by:
setAbstract in interface JvmDeclaredType
Parameters:
newAbstract - the new value of the 'Abstract' attribute.
See Also:
JvmDeclaredType.isAbstract()
EMF generated code

isStatic

public boolean isStatic()

Specified by:
isStatic in interface JvmDeclaredType
Returns:
the value of the 'Static' attribute.
See Also:
JvmDeclaredType.setStatic(boolean), TypesPackage.getJvmDeclaredType_Static()
EMF generated code

setStatic

public void setStatic(boolean newStatic)

Specified by:
setStatic in interface JvmDeclaredType
Parameters:
newStatic - the new value of the 'Static' attribute.
See Also:
JvmDeclaredType.isStatic()
EMF generated code

isFinal

public boolean isFinal()

Specified by:
isFinal in interface JvmDeclaredType
Returns:
the value of the 'Final' attribute.
See Also:
JvmDeclaredType.setFinal(boolean), TypesPackage.getJvmDeclaredType_Final()
EMF generated code

setFinal

public void setFinal(boolean newFinal)

Specified by:
setFinal in interface JvmDeclaredType
Parameters:
newFinal - the new value of the 'Final' attribute.
See Also:
JvmDeclaredType.isFinal()
EMF generated code

getPackageName

public java.lang.String getPackageName()

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

setPackageName

public void setPackageName(java.lang.String newPackageName)

Specified by:
setPackageName in interface JvmDeclaredType
Parameters:
newPackageName - the new value of the 'Package Name' attribute.
See Also:
JvmDeclaredType.getPackageName()
EMF generated code

getDeclaredOperations

public java.lang.Iterable<JvmOperation> getDeclaredOperations()

Specified by:
getDeclaredOperations in interface JvmDeclaredType
EMF generated code

getDeclaredFields

public java.lang.Iterable<JvmField> getDeclaredFields()

Specified by:
getDeclaredFields in interface JvmDeclaredType
EMF generated code

findAllFeaturesByName

public java.lang.Iterable<JvmFeature> findAllFeaturesByName(java.lang.String simpleName)

Specified by:
findAllFeaturesByName in interface JvmDeclaredType
EMF generated code

getAllFeatures

public java.lang.Iterable<JvmFeature> getAllFeatures()

Specified by:
getAllFeatures in interface JvmDeclaredType
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 JvmMemberImpl
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 JvmMemberImpl
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 JvmMemberImpl
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 JvmMemberImpl
EMF generated code

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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