try {
type = reflectionHelper.getReflectiveClass(junitTestSuite.getName());
} catch (ClassNotFoundException e) {
return null;
}
JExercise jexAnnotation = (JExercise) type.getAnnotation(JExercise.class);
JavaRequirement req = ensureJavaRequirement(packageName, type.getSimpleName(), testedClassName, jexAnnotation.tests(), false);
setAnnotationFeatures(req, jexAnnotation);
for (int i = 0; i < junitTestSuite.testCount(); i++) {
createFromTestClassAnnotations(junitTestSuite.testAt(i), req);
}
return req;