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,TypedElementExtension,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:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Annotation' reference.Returns the value of the 'Parameter' containment reference.voidsetAnnotation(Classifier value) Sets the value of the 'Annotation' reference.voidsetParameter(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, getStringClassMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getTypeMethods inherited from interface org.emftext.language.java.commons.NamespaceAwareElement
getClassifierAtNamespaces, getNamespaces, getNamespacesAsStringMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.emftext.language.java.references.Reference
getArraySelectors, getNext, getPrevious, getReferencedType, getReferencedTypeReference, setNextMethods inherited from interface org.emftext.language.java.generics.TypeArgumentable
getTypeArgumentsMethods inherited from interface org.emftext.language.java.types.TypedElementExtension
getActualTargets
-
Method Details
-
getAnnotation
Classifier getAnnotation()Returns the value of the 'Annotation' reference.- Returns:
- the value of the 'Annotation' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setAnnotation
Sets the value of the 'Annotation' reference.- Parameters:
value- the new value of the 'Annotation' reference.- See Also:
- 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:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setParameter
Sets the value of the 'Parameter' containment reference.- Parameters:
value- the new value of the 'Parameter' containment reference.- See Also:
- Generated class or method.
-