Class AnnotationInstanceImpl
- 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.modifiers.impl.AnnotationInstanceOrModifierImpl
-
- org.emftext.language.java.annotations.impl.AnnotationInstanceImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,AnnotationInstance
,AnnotationValue
,ArrayInitializationValue
,Commentable
,NamespaceAwareElement
,AdditiveExpressionChild
,AndExpressionChild
,AssignmentExpressionChild
,ConditionalAndExpressionChild
,ConditionalExpressionChild
,ConditionalOrExpressionChild
,EqualityExpressionChild
,ExclusiveOrExpressionChild
,Expression
,InclusiveOrExpressionChild
,InstanceOfExpressionChild
,LambdaBody
,MethodReferenceExpressionChild
,MultiplicativeExpressionChild
,PrimaryExpression
,RelationExpressionChild
,ShiftExpressionChild
,UnaryExpressionChild
,UnaryModificationExpressionChild
,TypeArgumentable
,AnnotationInstanceOrModifier
,Reference
,TypedElementExtension
public class AnnotationInstanceImpl extends AnnotationInstanceOrModifierImpl implements AnnotationInstance
An implementation of the model object 'Annotation Instance'.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<TypeReference>
actualTargets
The cached value of the 'Actual Targets
' containment reference list.protected Classifier
annotation
The cached value of the 'Annotation
' reference.protected EList<ArraySelector>
arraySelectors
The cached value of the 'Array Selectors
' containment reference list.protected EList<String>
namespaces
The cached value of the 'Namespaces
' attribute list.protected Reference
next
The cached value of the 'Next
' containment reference.protected AnnotationParameter
parameter
The cached value of the 'Parameter
' containment reference.protected EList<TypeArgument>
typeArguments
The cached value of the 'Type Arguments
' containment reference list.-
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
AnnotationInstanceImpl()
-
Method Summary
-
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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
namespaces
protected EList<String> namespaces
The cached value of the 'Namespaces
' attribute list.- See Also:
getNamespaces()
- 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.
-
actualTargets
protected EList<TypeReference> actualTargets
The cached value of the 'Actual Targets
' containment reference list.- See Also:
getActualTargets()
- Generated class or method.
- Ordered collection.
-
next
protected Reference next
The cached value of the 'Next
' containment reference.- See Also:
getNext()
- Generated class or method.
- Ordered collection.
-
arraySelectors
protected EList<ArraySelector> arraySelectors
The cached value of the 'Array Selectors
' containment reference list.- See Also:
getArraySelectors()
- Generated class or method.
- Ordered collection.
-
annotation
protected Classifier annotation
The cached value of the 'Annotation
' reference.- See Also:
getAnnotation()
- Generated class or method.
- Ordered collection.
-
parameter
protected AnnotationParameter parameter
The cached value of the 'Parameter
' containment reference.- See Also:
getParameter()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classAnnotationInstanceOrModifierImpl
- Generated class or method.
-
getNamespaces
public EList<String> getNamespaces()
- Specified by:
getNamespaces
in interfaceNamespaceAwareElement
- Returns:
- the value of the 'Namespaces' attribute list.
- See Also:
CommonsPackage.getNamespaceAwareElement_Namespaces()
- Generated class or method.
-
getTypeArguments
public EList<TypeArgument> getTypeArguments()
- Specified by:
getTypeArguments
in interfaceTypeArgumentable
- Returns:
- the value of the 'Type Arguments' containment reference list.
- See Also:
GenericsPackage.getTypeArgumentable_TypeArguments()
- Generated class or method.
-
getActualTargets
public EList<TypeReference> getActualTargets()
- Specified by:
getActualTargets
in interfaceTypedElementExtension
- Returns:
- the value of the 'Actual Targets' containment reference list.
- See Also:
TypesPackage.getTypedElementExtension_ActualTargets()
- Generated class or method.
-
getNext
public Reference getNext()
- Specified by:
getNext
in interfaceReference
- Returns:
- the value of the 'Next' containment reference.
- See Also:
Reference.setNext(Reference)
,ReferencesPackage.getReference_Next()
- Generated class or method.
-
basicGetNext
public Reference basicGetNext()
- Generated class or method.
-
basicSetNext
public NotificationChain basicSetNext(Reference newNext, NotificationChain msgs)
- Generated class or method.
-
setNext
public void setNext(Reference newNext)
- Specified by:
setNext
in interfaceReference
- Parameters:
newNext
- the new value of the 'Next' containment reference.- See Also:
Reference.getNext()
- Generated class or method.
-
getArraySelectors
public EList<ArraySelector> getArraySelectors()
- Specified by:
getArraySelectors
in interfaceReference
- Returns:
- the value of the 'Array Selectors' containment reference list.
- See Also:
ReferencesPackage.getReference_ArraySelectors()
- Generated class or method.
-
getAnnotation
public Classifier getAnnotation()
- Specified by:
getAnnotation
in interfaceAnnotationInstance
- Returns:
- the value of the 'Annotation' reference.
- See Also:
AnnotationInstance.setAnnotation(Classifier)
,AnnotationsPackage.getAnnotationInstance_Annotation()
- Generated class or method.
-
basicGetAnnotation
public Classifier basicGetAnnotation()
- Generated class or method.
-
setAnnotation
public void setAnnotation(Classifier newAnnotation)
- Specified by:
setAnnotation
in interfaceAnnotationInstance
- Parameters:
newAnnotation
- the new value of the 'Annotation' reference.- See Also:
AnnotationInstance.getAnnotation()
- Generated class or method.
-
getParameter
public AnnotationParameter getParameter()
- Specified by:
getParameter
in interfaceAnnotationInstance
- Returns:
- the value of the 'Parameter' containment reference.
- See Also:
AnnotationInstance.setParameter(AnnotationParameter)
,AnnotationsPackage.getAnnotationInstance_Parameter()
- Generated class or method.
-
basicGetParameter
public AnnotationParameter basicGetParameter()
- Generated class or method.
-
basicSetParameter
public NotificationChain basicSetParameter(AnnotationParameter newParameter, NotificationChain msgs)
- Generated class or method.
-
setParameter
public void setParameter(AnnotationParameter newParameter)
- Specified by:
setParameter
in interfaceAnnotationInstance
- Parameters:
newParameter
- the new value of the 'Parameter' containment reference.- See Also:
AnnotationInstance.getParameter()
- Generated class or method.
-
getReferencedType
public Type getReferencedType()
- Specified by:
getReferencedType
in interfaceReference
- Generated class or method.
-
getPrevious
public Reference getPrevious()
- Specified by:
getPrevious
in interfaceReference
- Generated class or method.
-
getReferencedTypeReference
public TypeReference getReferencedTypeReference()
- Specified by:
getReferencedTypeReference
in interfaceReference
- Generated class or method.
-
getType
public Type getType()
- Specified by:
getType
in interfaceExpression
- Generated class or method.
-
getAlternativeType
public Type getAlternativeType()
- Specified by:
getAlternativeType
in interfaceExpression
- Generated class or method.
-
getOneType
public Type getOneType(boolean alternative)
- Specified by:
getOneType
in interfaceExpression
- Generated class or method.
-
getArrayDimension
public long getArrayDimension()
- Specified by:
getArrayDimension
in interfaceExpression
- Generated class or method.
-
getOneTypeReference
public TypeReference getOneTypeReference(boolean alternative)
- Specified by:
getOneTypeReference
in interfaceExpression
- Generated class or method.
-
getNamespacesAsString
public String getNamespacesAsString()
- Specified by:
getNamespacesAsString
in interfaceNamespaceAwareElement
- Generated class or method.
-
getClassifierAtNamespaces
public ConcreteClassifier getClassifierAtNamespaces()
- Specified by:
getClassifierAtNamespaces
in interfaceNamespaceAwareElement
- 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 classCommentableImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classCommentableImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classCommentableImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classCommentableImpl
- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eBaseStructuralFeatureID
in classBasicEObjectImpl
- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classBasicEObjectImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-
-