Add missing Javadoc for BeanOverrideHandler constructor

This commit is contained in:
Sam Brannen
2025-04-06 18:09:13 +02:00
parent 2ca9f6f064
commit 470bf3b0bb

View File

@@ -90,6 +90,15 @@ public abstract class BeanOverrideHandler {
private final BeanOverrideStrategy strategy;
/**
* Construct a new {@code BeanOverrideHandler} from the supplied values.
* @param field the {@link Field} annotated with {@link BeanOverride @BeanOverride},
* or {@code null} if {@code @BeanOverride} was declared at the type level
* @param beanType the {@linkplain ResolvableType type} of bean to override
* @param beanName the name of the bean to override, or {@code null} to look
* for a single matching bean by type
* @param strategy the {@link BeanOverrideStrategy} to use
*/
protected BeanOverrideHandler(@Nullable Field field, ResolvableType beanType, @Nullable String beanName,
BeanOverrideStrategy strategy) {
@@ -215,7 +224,7 @@ public abstract class BeanOverrideHandler {
/**
* Get the annotated {@link Field}.
* Get the {@link Field} annotated with {@link BeanOverride @BeanOverride}.
*/
@Nullable
public final Field getField() {