@Beta public interface AnnotationTarget extends NamedElement
| Modifier and Type | Method and Description |
|---|---|
AnnotationReference |
findAnnotation(Type annotationType) |
Iterable<? extends AnnotationReference> |
getAnnotations() |
getCompilationUnit, getSimpleNameIterable<? extends AnnotationReference> getAnnotations()
AnnotationReference findAnnotation(Type annotationType)
annotationType - null
if this element is not annotated with the given annotation typeCopyright © 2015. All Rights Reserved.