diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java b/spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java index 9eeb5403b5..edb0381dbd 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java @@ -323,7 +323,8 @@ public interface ListableBeanFactory extends BeanFactory { * (at class, interface or factory method level of the specified bean) * @return the names of all matching beans * @since 4.0 - * @see #findAnnotationOnBean + * @see #getBeansWithAnnotation(Class) + * @see #findAnnotationOnBean(String, Class) */ String[] getBeanNamesForAnnotation(Class annotationType); @@ -338,8 +339,8 @@ public interface ListableBeanFactory extends BeanFactory { * keys and the corresponding bean instances as values * @throws BeansException if a bean could not be created * @since 3.0 - * @see #findAnnotationOnBean - * @see #findAllAnnotationsOnBean(String, Class, boolean) + * @see #findAnnotationOnBean(String, Class) + * @see #findAnnotationOnBean(String, Class, boolean) * @see #findAllAnnotationsOnBean(String, Class, boolean) */ Map getBeansWithAnnotation(Class annotationType) throws BeansException; @@ -354,8 +355,10 @@ public interface ListableBeanFactory extends BeanFactory { * @return the annotation of the given type if found, or {@code null} otherwise * @throws NoSuchBeanDefinitionException if there is no bean with the given name * @since 3.0 - * @see #getBeanNamesForAnnotation - * @see #getBeansWithAnnotation + * @see #findAnnotationOnBean(String, Class, boolean) + * @see #findAllAnnotationsOnBean(String, Class, boolean) + * @see #getBeanNamesForAnnotation(Class) + * @see #getBeansWithAnnotation(Class) * @see #getType(String) */ @Nullable @@ -374,8 +377,10 @@ public interface ListableBeanFactory extends BeanFactory { * @return the annotation of the given type if found, or {@code null} otherwise * @throws NoSuchBeanDefinitionException if there is no bean with the given name * @since 5.3.14 - * @see #getBeanNamesForAnnotation - * @see #getBeansWithAnnotation + * @see #findAnnotationOnBean(String, Class) + * @see #findAllAnnotationsOnBean(String, Class, boolean) + * @see #getBeanNamesForAnnotation(Class) + * @see #getBeansWithAnnotation(Class) * @see #getType(String, boolean) */ @Nullable @@ -395,7 +400,7 @@ public interface ListableBeanFactory extends BeanFactory { * @return the set of annotations of the given type found (potentially empty) * @throws NoSuchBeanDefinitionException if there is no bean with the given name * @since 6.0 - * @see #getBeanNamesForAnnotation + * @see #getBeanNamesForAnnotation(Class) * @see #findAnnotationOnBean(String, Class, boolean) * @see #getType(String, boolean) */ diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java index 91b6a9fb56..d2479ef328 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java @@ -38,7 +38,7 @@ public interface BodyExtractor { /** * Extract from the given input message. - * @param inputMessage the request to extract from + * @param inputMessage the message to extract from * @param context the configuration to use * @return the extracted data */ @@ -52,7 +52,7 @@ public interface BodyExtractor { /** * Return the {@link HttpMessageReader HttpMessageReaders} to be used for body extraction. - * @return the stream of message readers + * @return the list of message readers */ List> messageReaders();