@@ -323,7 +323,8 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
323
323
* (at class, interface or factory method level of the specified bean)
324
324
* @return the names of all matching beans
325
325
* @since 4.0
326
- * @see #findAnnotationOnBean
326
+ * @see #getBeansWithAnnotation(Class)
327
+ * @see #findAnnotationOnBean(String, Class)
327
328
*/
328
329
String [] getBeanNamesForAnnotation (Class <? extends Annotation > annotationType );
329
330
@@ -338,8 +339,8 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
338
339
* keys and the corresponding bean instances as values
339
340
* @throws BeansException if a bean could not be created
340
341
* @since 3.0
341
- * @see #findAnnotationOnBean
342
- * @see #findAllAnnotationsOnBean (String, Class, boolean)
342
+ * @see #findAnnotationOnBean(String, Class)
343
+ * @see #findAnnotationOnBean (String, Class, boolean)
343
344
* @see #findAllAnnotationsOnBean(String, Class, boolean)
344
345
*/
345
346
Map <String , Object > getBeansWithAnnotation (Class <? extends Annotation > annotationType ) throws BeansException ;
@@ -354,8 +355,10 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
354
355
* @return the annotation of the given type if found, or {@code null} otherwise
355
356
* @throws NoSuchBeanDefinitionException if there is no bean with the given name
356
357
* @since 3.0
357
- * @see #getBeanNamesForAnnotation
358
- * @see #getBeansWithAnnotation
358
+ * @see #findAnnotationOnBean(String, Class, boolean)
359
+ * @see #findAllAnnotationsOnBean(String, Class, boolean)
360
+ * @see #getBeanNamesForAnnotation(Class)
361
+ * @see #getBeansWithAnnotation(Class)
359
362
* @see #getType(String)
360
363
*/
361
364
@ Nullable
@@ -374,8 +377,10 @@ <A extends Annotation> A findAnnotationOnBean(String beanName, Class<A> annotati
374
377
* @return the annotation of the given type if found, or {@code null} otherwise
375
378
* @throws NoSuchBeanDefinitionException if there is no bean with the given name
376
379
* @since 5.3.14
377
- * @see #getBeanNamesForAnnotation
378
- * @see #getBeansWithAnnotation
380
+ * @see #findAnnotationOnBean(String, Class)
381
+ * @see #findAllAnnotationsOnBean(String, Class, boolean)
382
+ * @see #getBeanNamesForAnnotation(Class)
383
+ * @see #getBeansWithAnnotation(Class)
379
384
* @see #getType(String, boolean)
380
385
*/
381
386
@ Nullable
@@ -395,7 +400,7 @@ <A extends Annotation> A findAnnotationOnBean(
395
400
* @return the set of annotations of the given type found (potentially empty)
396
401
* @throws NoSuchBeanDefinitionException if there is no bean with the given name
397
402
* @since 6.0
398
- * @see #getBeanNamesForAnnotation
403
+ * @see #getBeanNamesForAnnotation(Class)
399
404
* @see #findAnnotationOnBean(String, Class, boolean)
400
405
* @see #getType(String, boolean)
401
406
*/
0 commit comments