List<Pattern> (CoverageSuitesBundle currentSuiteBundle) { final List<Pattern> includePatterns = new ArrayList<>(); for (CoverageSuite currentSuite : currentSuiteBundle.getSuites()) { for (String pattern : ((JavaCoverageSuite)currentSuite).getFilteredPackageNames()) { includePatterns.add(Pattern.compile(pattern + ".*")); } for (String pattern : ((JavaCoverageSuite)currentSuite).getFilteredClassNames()) { includePatterns.add(Pattern.compile(pattern)); } } return includePatterns; }