Interface AnnotationInstance
-
- All Superinterfaces:
AdditiveExpressionChild
,AndExpressionChild
,AnnotationInstanceOrModifier
,AnnotationValue
,ArrayInitializationValue
,AssignmentExpressionChild
,Commentable
,ConditionalAndExpressionChild
,ConditionalExpressionChild
,ConditionalOrExpressionChild
,EObject
,EqualityExpressionChild
,ExclusiveOrExpressionChild
,Expression
,InclusiveOrExpressionChild
,InstanceOfExpressionChild
,LambdaBody
,MethodReferenceExpressionChild
,MultiplicativeExpressionChild
,NamespaceAwareElement
,Notifier
,PrimaryExpression
,Reference
,RelationExpressionChild
,ShiftExpressionChild
,TypeArgumentable
,UnaryExpressionChild
,UnaryModificationExpressionChild
- All Known Implementing Classes:
AnnotationInstanceImpl
public interface AnnotationInstance extends AnnotationInstanceOrModifier, NamespaceAwareElement, Reference, AnnotationValue, ArrayInitializationValue
A representation of the model object 'Annotation Instance'.The following features are supported:
- See Also:
AnnotationsPackage.getAnnotationInstance()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Classifier
getAnnotation()
Returns the value of the 'Annotation' reference.AnnotationParameter
getParameter()
Returns the value of the 'Parameter' containment reference.void
setAnnotation(Classifier value)
Sets the value of the 'Annotation
' reference.void
setParameter(AnnotationParameter value)
Sets the value of the 'Parameter
' containment reference.-
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.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getType
-
Methods inherited from interface org.emftext.language.java.commons.NamespaceAwareElement
getClassifierAtNamespaces, getNamespaces, getNamespacesAsString
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.references.Reference
getArraySelectors, getNext, getPrevious, getReferencedType, setNext
-
Methods inherited from interface org.emftext.language.java.generics.TypeArgumentable
getTypeArguments
-
-
-
-
Method Detail
-
getAnnotation
Classifier getAnnotation()
Returns the value of the 'Annotation' reference.- Returns:
- the value of the 'Annotation' reference.
- See Also:
setAnnotation(Classifier)
,AnnotationsPackage.getAnnotationInstance_Annotation()
- Generated class or method.
- EMF model class or method.
- required="true"
-
setAnnotation
void setAnnotation(Classifier value)
Sets the value of the 'Annotation
' reference.- Parameters:
value
- the new value of the 'Annotation' reference.- See Also:
getAnnotation()
- Generated class or method.
-
getParameter
AnnotationParameter getParameter()
Returns the value of the 'Parameter' containment reference.- Returns:
- the value of the 'Parameter' containment reference.
- See Also:
setParameter(AnnotationParameter)
,AnnotationsPackage.getAnnotationInstance_Parameter()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setParameter
void setParameter(AnnotationParameter value)
Sets the value of the 'Parameter
' containment reference.- Parameters:
value
- the new value of the 'Parameter' containment reference.- See Also:
getParameter()
- Generated class or method.
-
-