This commit handles a BeanDefinition that configures the FactoryBean as the "beanClass", while exposing the actual type in "resolvedType". While unusual, this is required in certain cases when the factory bean exposes generic information itself. Previously, the hints for properties injection were applied on the user type. Closes gh-28913