This PR adds Javadoc for RegisteredBean.resolveAutowiredArgument()

See gh-30401
Closes gh-30609
This commit is contained in:
Johnny Lim 2023-06-07 21:21:05 +09:00 committed by Sam Brannen
parent 7c817dd34b
commit a726b5109a
1 changed files with 9 additions and 0 deletions

View File

@ -212,6 +212,15 @@ public final class RegisteredBean {
.resolveConstructorOrFactoryMethod(getBeanName(), getMergedBeanDefinition());
}
/**
* Resolve an autowired argument.
* @param descriptor the descriptor for the dependency (field/method/constructor)
* @param typeConverter the TypeConverter to use for populating arrays and collections
* @param autowiredBeans a Set that all names of autowired beans (used for
* resolving the given dependency) are supposed to be added to
* @return the resolved object, or {@code null} if none found
* @since 6.0.9
*/
@Nullable
public Object resolveAutowiredArgument(DependencyDescriptor descriptor, TypeConverter typeConverter,
Set<String> autowiredBeans) {