Bean bean = AnnotationUtils.findAnnotation(m, Bean.class);
// TODO need to consider autowiring enabled at factory level - reuse
// the
// detection from ConfigurationProcessor
return !m.getReturnType().isInterface() || bean.autowire().isAutowire();
}
}
}