private void addMethodLevelIssuesTo(List<String> issues) {
   Optional<String> issue =
       TestAnnotations.forClass(testOutcome.getTestCase())
           .getAnnotatedIssueForMethod(testOutcome.getName());
   if (issue.isPresent()) {
     issues.add(issue.get());
   }
   String[] multipleIssues =
       TestAnnotations.forClass(testOutcome.getTestCase())
           .getAnnotatedIssuesForMethod(testOutcome.getName());
   issues.addAll(Arrays.asList(multipleIssues));
 }
 private void addMethodLevelVersionsTo(List<String> versions) {
   Optional<String> version =
       TestAnnotations.forClass(testOutcome.getTestCase())
           .getAnnotatedVersionForMethod(testOutcome.getName());
   if (version.isPresent()) {
     versions.add(version.get());
   }
 }
 private String normalizeMethodName(TestOutcome testOutcome) {
   return testOutcome.getName().replaceAll("\\[\\d+\\]", "");
 }