AnnotatedConstructor<T> soleCreatedTypeConstructor = getSoleAcceptableConstructorOfCreatedType();
boolean constructorInjection = isConstructorInjection(soleCreatedTypeConstructor);
MethodParameterIndexer methodParameterIndexer = new MethodParameterIndexer(soleFactoryMethod);
ConstructorToParameterValuesConverter converter = getConverter(soleCreatedTypeConstructor,
methodParameterIndexer, constructorInjection);
ParameterValue[] createdTypeConstructorParameterValues = converter.convert();
// We cannot use BeanManager.createInjectionTarget as this adds the injection target to validation
InjectionTarget<T> injectionTarget = createInjectionTargetWithoutValidation();
return new AutoFactoryBean<T>(beanManager, factoryClass,