Class FieldImpl
-
- All Implemented Interfaces:
Notifier,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject,Commentable,NamedElement,TypeArgumentable,Initializable,Field,Member,AnnotableAndModifiable,ReferenceableElement,TypedElement,Variable
public class FieldImpl extends MemberImpl implements Field
An implementation of the model object 'Field'.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<AdditionalField>additionalFieldsThe cached value of the 'Additional Fields' containment reference list.protected EList<AnnotationInstanceOrModifier>annotationsAndModifiersThe cached value of the 'Annotations And Modifiers' containment reference list.protected ExpressioninitialValueThe cached value of the 'Initial Value' containment reference.protected EList<TypeArgument>typeArgumentsThe cached value of the 'Type Arguments' containment reference list.protected TypeReferencetypeReferenceThe cached value of the 'Type Reference' containment reference.-
Fields inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
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 protectedFieldImpl()
-
Method Summary
-
Methods inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
getName, setName, toString
-
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.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
-
-
-
-
Field Detail
-
initialValue
protected Expression initialValue
The cached value of the 'Initial Value' containment reference.- See Also:
getInitialValue()- Generated class or method.
- Ordered collection.
-
typeReference
protected TypeReference typeReference
The cached value of the 'Type Reference' containment reference.- See Also:
getTypeReference()- Generated class or method.
- Ordered collection.
-
typeArguments
protected EList<TypeArgument> typeArguments
The cached value of the 'Type Arguments' containment reference list.- See Also:
getTypeArguments()- 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.
-
additionalFields
protected EList<AdditionalField> additionalFields
The cached value of the 'Additional Fields' containment reference list.- See Also:
getAdditionalFields()- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClassin classMemberImpl- Generated class or method.
-
getInitialValue
public Expression getInitialValue()
- Specified by:
getInitialValuein interfaceInitializable- Returns:
- the value of the 'Initial Value' containment reference.
- See Also:
Initializable.setInitialValue(Expression),InstantiationsPackage.getInitializable_InitialValue()- Generated class or method.
-
basicGetInitialValue
public Expression basicGetInitialValue()
- Generated class or method.
-
basicSetInitialValue
public NotificationChain basicSetInitialValue(Expression newInitialValue, NotificationChain msgs)
- Generated class or method.
-
setInitialValue
public void setInitialValue(Expression newInitialValue)
- Specified by:
setInitialValuein interfaceInitializable- Parameters:
newInitialValue- the new value of the 'Initial Value' containment reference.- See Also:
Initializable.getInitialValue()- Generated class or method.
-
getTypeReference
public TypeReference getTypeReference()
- Specified by:
getTypeReferencein interfaceTypedElement- Returns:
- the value of the 'Type Reference' containment reference.
- See Also:
TypedElement.setTypeReference(TypeReference),TypesPackage.getTypedElement_TypeReference()- Generated class or method.
-
basicGetTypeReference
public TypeReference basicGetTypeReference()
- Generated class or method.
-
basicSetTypeReference
public NotificationChain basicSetTypeReference(TypeReference newTypeReference, NotificationChain msgs)
- Generated class or method.
-
setTypeReference
public void setTypeReference(TypeReference newTypeReference)
- Specified by:
setTypeReferencein interfaceTypedElement- Parameters:
newTypeReference- the new value of the 'Type Reference' containment reference.- See Also:
TypedElement.getTypeReference()- Generated class or method.
-
getTypeArguments
public EList<TypeArgument> getTypeArguments()
- Specified by:
getTypeArgumentsin interfaceTypeArgumentable- Returns:
- the value of the 'Type Arguments' containment reference list.
- See Also:
GenericsPackage.getTypeArgumentable_TypeArguments()- Generated class or method.
-
getAnnotationsAndModifiers
public EList<AnnotationInstanceOrModifier> getAnnotationsAndModifiers()
- Specified by:
getAnnotationsAndModifiersin interfaceAnnotableAndModifiable- Returns:
- the value of the 'Annotations And Modifiers' containment reference list.
- See Also:
ModifiersPackage.getAnnotableAndModifiable_AnnotationsAndModifiers()- Generated class or method.
-
getAdditionalFields
public EList<AdditionalField> getAdditionalFields()
- Specified by:
getAdditionalFieldsin interfaceField- Returns:
- the value of the 'Additional Fields' containment reference list.
- See Also:
MembersPackage.getField_AdditionalFields()- Generated class or method.
-
isHidden
public boolean isHidden(Commentable context)
- Specified by:
isHiddenin interfaceAnnotableAndModifiable- Generated class or method.
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceAnnotableAndModifiable- Generated class or method.
-
removeModifier
public void removeModifier(Class<?> modifierType)
- Specified by:
removeModifierin interfaceAnnotableAndModifiable- Generated class or method.
-
makePublic
public void makePublic()
- Specified by:
makePublicin interfaceAnnotableAndModifiable- Generated class or method.
-
makePrivate
public void makePrivate()
- Specified by:
makePrivatein interfaceAnnotableAndModifiable- Generated class or method.
-
makeProtected
public void makeProtected()
- Specified by:
makeProtectedin interfaceAnnotableAndModifiable- Generated class or method.
-
getModifiers
public EList<Modifier> getModifiers()
- Specified by:
getModifiersin interfaceAnnotableAndModifiable- Generated class or method.
-
removeAllModifiers
public void removeAllModifiers()
- Specified by:
removeAllModifiersin interfaceAnnotableAndModifiable- Generated class or method.
-
hasModifier
public boolean hasModifier(Class<?> type)
- Specified by:
hasModifierin interfaceAnnotableAndModifiable- Generated class or method.
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceAnnotableAndModifiable- Generated class or method.
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceAnnotableAndModifiable- Generated class or method.
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceAnnotableAndModifiable- Generated class or method.
-
addModifier
public void addModifier(Modifier newModifier)
- Specified by:
addModifierin interfaceAnnotableAndModifiable- Generated class or method.
-
getAnnotationInstances
public EList<AnnotationInstance> getAnnotationInstances()
- Specified by:
getAnnotationInstancesin interfaceAnnotableAndModifiable- Generated class or method.
-
createMethodCallStatement
public Statement createMethodCallStatement(String methodName, EList<Expression> arguments)
- Specified by:
createMethodCallStatementin interfaceVariable- Generated class or method.
-
createMethodCall
public Expression createMethodCall(String methodName, EList<Expression> arguments)
- Specified by:
createMethodCallin interfaceVariable- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classCommentableImpl- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classNamedElementImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classNamedElementImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classNamedElementImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classNamedElementImpl- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)- Specified by:
eBaseStructuralFeatureIDin interfaceInternalEObject- Overrides:
eBaseStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)- Specified by:
eDerivedStructuralFeatureIDin interfaceInternalEObject- Overrides:
eDerivedStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
-