if (factoryClass != null) {
if (factoryMethod == null)
throw new IllegalArgumentException("Null factory method!");
BeanInfo beanInfo = getTempBeanInfo(visitor, factoryClass);
Method m = beanInfo.findMethod(factoryMethod, Configurator.getTypes(parameters));
return m.getParameterTypes()[vc.getIndex()];
} else {
BeanInfo beanInfo = visitor.getBeanInfo();
if (beanInfo == null)
throw new IllegalArgumentException("No bean info!");