IAnnotationFinder finder) {
DataProviderHolder result = null;
String dataProviderName = null;
Class dataProviderClass = null;
ITestAnnotation annotation = AnnotationHelper.findTest(finder, m);
if (annotation == null) {
annotation = AnnotationHelper.findTest(finder, clazz);
}
if (annotation != null) {
dataProviderName = annotation.getDataProvider();
dataProviderClass = annotation.getDataProviderClass();
}
if (dataProviderName == null) {
IFactoryAnnotation factory = AnnotationHelper.findFactory(finder, m);
if (factory != null) {