Oliver Drotbohm opened SPR-11032 and commented
In scenarios where you'd like to manually lookup bean definitions by classpath scanning, consider the annotations found on the component type found and forward it to a different bean definition (i.e. using ClassPathBeanDefinitionParser is not an option) it would be helpful to be able to use AnnotationConfigUtils.processCommonDefinitionAnnotations(…) to not have to re-implement the annotation lookup and value parsing.
Referenced from: commits 93405fb, 8bd4804