Browse Source

Fix MergedAnnotations javadoc

pull/22870/head
Phillip Webb 6 years ago
parent
commit
87dba5a4df
  1. 10
      spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java

10
spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java

@ -138,8 +138,9 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation> @@ -138,8 +138,9 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation>
<A extends Annotation> boolean isPresent(Class<A> annotationType);
/**
* Determine if the specified annotation is directly present.
* <p>Equivalent to calling {@code get(annotationType).isDirectlyPresent()}.
* Determine if the specified annotation is either directly present or
* meta-present.
* <p>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<MergedAnnotation<Annotation> @@ -155,9 +156,8 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation>
<A extends Annotation> boolean isDirectlyPresent(Class<A> annotationType);
/**
* Determine if the specified annotation is either directly present or
* meta-present.
* <p>Equivalent to calling {@code get(annotationType).isPresent()}.
* Determine if the specified annotation is directly present.
* <p>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

Loading…
Cancel
Save