openJexFile(name);
} else {
setReflectionClassLoader(requirementChecker.getReflectionHelper());
Test suite = requirementChecker.createTest(name, null);
if (suite instanceof TestSuite) {
ReflectiveTestAnnotationsToModelConverter converter = new ReflectiveTestAnnotationsToModelConverter(JexFactory.eINSTANCE.createExercise(), (TestSuite) suite);
setReflectionClassLoader(converter.getReflectionHelper());
Exercise ex = converter.convert();
openExercise(ex);
} else {
throw new IllegalArgumentException("Couldn't find class " + name + ", are you sure the classpath is correctly set?");
}
}