@Beta public interface AnnotationTarget extends NamedElement
| Modifier and Type | Method and Description |
|---|---|
AnnotationReference |
findAnnotation(Type annotationType) |
java.lang.Iterable<? extends AnnotationReference> |
getAnnotations() |
getCompilationUnit, getSimpleNamejava.lang.Iterable<? extends AnnotationReference> getAnnotations()
AnnotationReference findAnnotation(Type annotationType)
annotationType - null
if this element is not annotated with the given annotation type