diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/InjectionMetadata.java b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/InjectionMetadata.java index 219891e545..0cd614f36c 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/InjectionMetadata.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/InjectionMetadata.java @@ -243,6 +243,12 @@ public class InjectionMetadata { } } + /** + * Whether the property values should be injected. + * @param pvs property values to check + * @return whether the property values should be injected + * @since 6.0.10 + */ protected boolean shouldInject(@Nullable PropertyValues pvs) { if (this.isField) { return true;