Package org.eclipse.gmt.modisco.java
Interface Annotation
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
AnnotationImpl
public interface Annotation extends Expression
A representation of the model object 'Annotation'.
The following features are supported:
- See Also:
JavaPackage.getAnnotation()
-
Method Summary
Modifier and Type Method Description TypeAccessgetType()Returns the value of the 'Type' containment reference.org.eclipse.emf.common.util.EList<AnnotationMemberValuePair>getValues()Returns the value of the 'Values' containment reference list.voidsetType(TypeAccess value)Sets the value of the 'Type' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods 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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getType
TypeAccess getType()Returns the value of the 'Type' containment reference.- Returns:
- the value of the 'Type' containment reference.
- See Also:
setType(TypeAccess),JavaPackage.getAnnotation_Type()
-
setType
Sets the value of the 'Type' containment reference.- Parameters:
value- the new value of the 'Type' containment reference.- See Also:
getType()
-
getValues
org.eclipse.emf.common.util.EList<AnnotationMemberValuePair> getValues()Returns the value of the 'Values' containment reference list. The list contents are of typeAnnotationMemberValuePair.- Returns:
- the value of the 'Values' containment reference list.
- See Also:
JavaPackage.getAnnotation_Values()
-