CoverageSuitesBundle (@Nullable CoverageDataManager dataManager, @NotNull Project project) { if (dataManager == null) { return null; } for (CoverageSuitesBundle bundle : dataManager.activeSuites()) { final CoverageAnnotator coverageAnnotator = bundle.getAnnotator(project); if (coverageAnnotator instanceof JavaCoverageAnnotator) { return bundle; } } return null; }