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