@ Override public void visitBeanDefinitionConstructor ( AnnotationMetadata annotationMetadata , boolean requiresReflection ) { if ( constructorVisitor == null ) { // first build the constructor visitBeanDefinitionConstructorInternal ( annotationMetadata , requiresReflection , Collections . emptyMap ( ) , null , null ) ; // now prepare the implementation of the build method. See BeanFactory interface visitBuildMethodDefinition ( annotationMetadata , Collections . emptyMap ( ) , Collections . emptyMap ( ) ) ; // now override the injectBean method visitInjectMethodDefinition ( ) ; } }
Visits a no - args constructor used to create the bean definition .