@Override
  public void patch(@NotNull JavaParameters javaParameters,
                    @Nullable RunnerSettings settings,
                    @NotNull RunProfile runProfile,
                    boolean beforeExecution) throws ExecutionException {
    doPatch(javaParameters, Objects.requireNonNull(settings), beforeExecution,
            runProfile instanceof RunConfiguration ? ((RunConfiguration)runProfile).getProject() : null);
    JavaProgramPatcher
      .runCustomPatchers(javaParameters, Executor.EXECUTOR_EXTENSION_NAME.findExtensionOrFail(DefaultDebugExecutor.class), runProfile);
  }
@Override
  public void patch(@NotNull JavaParameters javaParameters,
                    @Nullable RunnerSettings settings,
                    @NotNull RunProfile runProfile,
                    boolean beforeExecution)