diff --git a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java index 3acb3de2d2..19ca446dfd 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java @@ -215,6 +215,7 @@ public abstract class AnnotationUtils { * resolvable (e.g. because nested Class values in annotation attributes * failed to resolve at runtime) * @since 4.0.8 + * @see AnnotatedElement#getAnnotations() */ public static Annotation[] getAnnotations(AnnotatedElement annotatedElement) { try { @@ -227,7 +228,7 @@ public abstract class AnnotationUtils { } /** - * Get all {@link Annotation Annotations} that are presentpresent on the * supplied {@link Method}. *
Correctly handles bridge {@link Method Methods} generated by the compiler. *
Meta-annotations will not be searched.