File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
spring-core/src/main/java/org/springframework/core/annotation Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,9 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation>
138
138
<A extends Annotation > boolean isPresent (Class <A > annotationType );
139
139
140
140
/**
141
- * Determine if the specified annotation is directly present.
142
- * <p>Equivalent to calling {@code get(annotationType).isDirectlyPresent()}.
141
+ * Determine if the specified annotation is either directly present or
142
+ * meta-present.
143
+ * <p>Equivalent to calling {@code get(annotationType).isPresent()}.
143
144
* @param annotationType the fully qualified class name of the annotation type
144
145
* to check
145
146
* @return {@code true} if the annotation is present
@@ -155,9 +156,8 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation>
155
156
<A extends Annotation > boolean isDirectlyPresent (Class <A > annotationType );
156
157
157
158
/**
158
- * Determine if the specified annotation is either directly present or
159
- * meta-present.
160
- * <p>Equivalent to calling {@code get(annotationType).isPresent()}.
159
+ * Determine if the specified annotation is directly present.
160
+ * <p>Equivalent to calling {@code get(annotationType).isDirectlyPresent()}.
161
161
* @param annotationType the fully qualified class name of the annotation type
162
162
* to check
163
163
* @return {@code true} if the annotation is present
You can’t perform that action at this time.
0 commit comments