void (@NotNull CoverageSuite suite) { fireCoverageGathered(suite); CoverageSuitesBundle bundle = myActiveBundles.get(suite.getCoverageEngine()); if (bundle == null) { chooseSuitesBundle(new CoverageSuitesBundle(suite)); } else { int replaceOption = CoverageOptionsProvider.getInstance(myProject).getOptionToReplace(); boolean shouldAsk = replaceOption == CoverageOptionsProvider.ASK_ON_NEW_SUITE; if (shouldAsk) { ApplicationManager.getApplication().invokeLater(() -> openSuite(bundle, suite, askMergeOption(suite))); } else { openSuite(bundle, suite, replaceOption); } } }