BeanOverrideBeanFactoryPostProcessor
currently replaces existing bean definitions with "pseudo" bean definitions; however, that is unnecessary.
An existing BeanDefinition
is suitable as-is and does not need to be replaced with a pseudo/fake definition.
The only time we need to register a new BeanDefinition
is when we create a BeanDefinition
for a nonexistent bean.