@Override
  public @NotNull BaseAnalysisActionDialog getAnalysisDialog(Project project,
                                                             String title,
                                                             String scopeTitle,
                                                             boolean rememberScope,
                                                             AnalysisUIOptions uiOptions,
                                                             List<? extends ModelScopeItem> items) {
    return new BaseAnalysisActionDialog(title, scopeTitle, project, items, uiOptions, rememberScope) {
      @Override
      protected JComponent getAdditionalActionSettings(@NotNull Project project) {
        return GenerateJavadocAction.this.getAdditionalActionSettings(project, this);
      }

      @Override
      protected void doOKAction() {
        ComponentValidator.getInstance(myConfigurable.getOutputDirField())
          .ifPresentOrElse(v -> {
                             v.revalidate();
                             if (v.getValidationInfo() == null) super.doOKAction();
                           },
                           () -> { super.doOKAction(); });
      }

      @Override
      protected String getHelpId() {
        return getHelpTopic();
      }

      @Override
      public @Nls @NotNull String getOKButtonText() {
        return JavaBundle.message("javadoc.generate.ok");
      }
    };
  }
@Override
  public @NotNull BaseAnalysisActionDialog getAnalysisDialog(Project project,
                                                             String title,
                                                             String scopeTitle,
                                                             boolean rememberScope,
                                                             AnalysisUIOptions uiOptions,
                                                             List<? extends ModelScopeItem> items)