How to execute a run configuration in code coverage mode without the CoverageExecutor class?

I have developed an IntelliJ Idea plugin which launches run configurations for special integration tests of our product either in normal, debug or code coverage mode. For several years, the following plugin code shown below [1] had been working.

Now I tried to run the code against the latest platform and it does not work anymore, as the CoverageExecutor class used by the RUN_WITH_COVERAGE case is not recognized anymore because the following import fails: import com.intellij.coverage.CoverageExecutor;

So how am I supposed to get the ID of an executor which runs the configuration with code coverage on the current platform?

[1]

Executor executor;
switch (model.getTestRunMode()) {
   case RUN:
      executor = DefaultRunExecutor.getRunExecutorInstance();
      break;
   case DEBUG:
      executor = DefaultDebugExecutor.getDebugExecutorInstance();
      break;
   case RUN_WITH_COVERAGE:
      executor = ExecutorRegistry.getInstance()
         .getExecutorById(CoverageExecutor.EXECUTOR_ID);
      break;
   default:
      throw new IllegalStateException("Unknown run mode encountered.");
}
ExecutionUtil.runConfiguration(launchConfig, Objects.requireNonNull(executor));