void (Module module, String packageVMName) { Map<VirtualFile, PackageAnnotator.PackageCoverageInfo> flattenDirectories = new HashMap<>(); for (var entry : myFlattenDirectories.entrySet()) { flattenDirectories.put(entry.getKey(), entry.getValue().toPackageCoverageInfo()); } myFlattenDirectories.clear(); annotateDirectories(flattenDirectories, myAnnotator, getPackageRoots(module, packageVMName)); }