public void doInstallPlugins(boolean showDialog, @Nullable ModalityState modalityState) {
    if (showDialog) {
      showAndGet();
    }
    else {
      doInstallPlugins(__ -> true, modalityState != null ? modalityState : ModalityState.nonModal());
    }
  }
public void doInstallPlugins(boolean showDialog, @Nullable ModalityState modalityState)