diff --git a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java index 17022d7055..b840edfb45 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java @@ -138,8 +138,9 @@ public interface MergedAnnotations extends Iterable boolean isPresent(Class annotationType); /** - * Determine if the specified annotation is directly present. - *

Equivalent to calling {@code get(annotationType).isDirectlyPresent()}. + * Determine if the specified annotation is either directly present or + * meta-present. + *

Equivalent to calling {@code get(annotationType).isPresent()}. * @param annotationType the fully qualified class name of the annotation type * to check * @return {@code true} if the annotation is present @@ -155,9 +156,8 @@ public interface MergedAnnotations extends Iterable boolean isDirectlyPresent(Class annotationType); /** - * Determine if the specified annotation is either directly present or - * meta-present. - *

Equivalent to calling {@code get(annotationType).isPresent()}. + * Determine if the specified annotation is directly present. + *

Equivalent to calling {@code get(annotationType).isDirectlyPresent()}. * @param annotationType the fully qualified class name of the annotation type * to check * @return {@code true} if the annotation is present