Sorry, I don't quite understand the change here. I need the method

```
 public Map<Class<? extends Annotation>, List<FrameworkMethod>> getAnnotationToMethods()
```

To return a map, as I use the keyset in the ParentRunner. What's the alternative to getting a set of annotations that may contain the ValidateWith Annotation?

```
        Map<Class<? extends Annotation>, List<FrameworkMethod>> annotationMap = getTestClass().getAnnotationToMethods();
        for (Class<? extends Annotation> annotationType : annotationMap.keySet()) {
            ValidateWith validateWithAnnotation = annotationType.getAnnotation(ValidateWith.class);
...
```

There already is a method defined that has the same signature as what you've suggested

```
public List<FrameworkMethod> getAnnotatedMethods(Class<? extends Annotation> annotation) 
```