Collection<ClassPathEntry> () { final Collection<ClassPathEntry> entries = new HashSet<>(); final Module[] modules = ModuleManager.getInstance(myProject).getModules(); final CoverageDataManager coverageManager = CoverageDataManager.getInstance(myProject); for (Module module : modules) { final VirtualFile[] roots = JavaCoverageClassesEnumerator.getRoots(coverageManager, module, myCurrentSuite.isTrackTestFolders()); for (VirtualFile root : roots) { entries.add(new ClassPathEntry(root.getPath())); } } return entries; }