class DataProviderResolverContext {

    public static List<Class<?>> generateLocations(Class<?> testClass, Class<?>... explicitLocations) {
        checkNotNull(testClass, "'testClass' must not be null");
        if (explicitLocations == null || explicitLocations.length == 0) {
            @SuppressWarnings({ "rawtypes", "unchecked" })
            List<Class<?>> result = (List) Collections.singletonList(testClass);
            return result;
        }
        return Arrays.asList(explicitLocations);
    }

    public  DataProviderResolverContext(Method testMethod,
            List<Class<? extends DataProviderMethodResolver>> resolverClasses, ResolveStrategy resolveStrategy,
            List<Class<?>> locations, Class<? extends Annotation> dataProviderAnnotationClass,
            String dataProviderName);

}