code: public void setBeanNameGenerator(BeanNameGenerator beanNameGenerator) {
  		this.reader.setBeanNameGenerator(beanNameGenerator);
  		this.scanner.setBeanNameGenerator(beanNameGenerator);
  		this.getBeanFactory().registerSingleton(
  				AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR,
  				beanNameGenerator);
  	}
docs: Provide a custom {@link BeanNameGenerator} for use with
  {@link AnnotatedBeanDefinitionReader} and/or
  {@link ClassPathBeanDefinitionScanner}, if any.
  <p>
  Default is
  {@link org.springframework.context.annotation.AnnotationBeanNameGenerator}.
  <p>
  Any call to this method must occur prior to calls to {@link #register(Class...)}
  and/or {@link #scan(String...)}.
  @param beanNameGenerator the bean name generator
  @see AnnotatedBeanDefinitionReader#setBeanNameGenerator
  @see ClassPathBeanDefinitionScanner#setBeanNameGenerator