public void appendCoverageArgument(@NotNull CoverageSuite suite, final SimpleJavaParameters javaParameters) {
    final CoverageRunner runner = suite.getRunner();
    if (runner instanceof JavaCoverageRunner javaCoverageRunner) {
      final String path = suite.getCoverageDataFileName();
      assert path != null; // cannot be null here if runner != null

      String sourceMapPath = null;
      if (JavaCoverageEngine.isSourceMapNeeded(getConfiguration())) {
        sourceMapPath = getSourceMapPath(path);
      }

      final String[] patterns = getPatterns();
      final String[] excludePatterns = getExcludePatterns();
      final Project project = getConfiguration().getProject();
      CoverageLogger.logStarted(runner, suite.isBranchCoverage(), suite.isCoverageByTestEnabled(),
                                patterns == null ? 0 : patterns.length,
                                excludePatterns == null ? 0 : excludePatterns.length);
      javaCoverageRunner.appendCoverageArgument(new File(path).getAbsolutePath(),
                                                patterns,
                                                excludePatterns,
                                                javaParameters,
                                                suite.isCoverageByTestEnabled(),
                                                suite.isBranchCoverage(),
                                                sourceMapPath,
                                                project);
    }
  }
public void appendCoverageArgument(@NotNull CoverageSuite suite, final SimpleJavaParameters javaParameters)