void (HashMap<CoverageRunner, Map<String, List<CoverageSuite>>> grouped, CoverageSuite[] suites) { for (CoverageSuite suite : suites) { CoverageFileProvider provider = suite.getCoverageDataFileProvider(); if (provider instanceof DefaultCoverageFileProvider defaultProvider && isLocalProvider(defaultProvider.getSourceProvider()) && !provider.ensureFileExists()) { continue; } Map<String, List<CoverageSuite>> byProviders = grouped.computeIfAbsent(suite.getRunner(), (unused) -> new HashMap<>()); String sourceProvider = provider instanceof DefaultCoverageFileProvider defaultProvider ? defaultProvider.getSourceProvider() : provider.getClass().getName(); List<CoverageSuite> list = byProviders.computeIfAbsent(sourceProvider, (unused) -> new ArrayList<>()); list.add(suite); } }