public static void progress(@NotNull @ProgressText String text,
                              @Nullable @ProgressDetails String text2) throws ProcessCanceledException {
    final ProgressIndicator pi = getInstance().getProgressIndicator();
    if (pi != null) {
      pi.checkCanceled();
      pi.setText(text);
      pi.setText2(text2 == null ? "" : text2);
    }
  }
public static void progress(@NotNull @ProgressText String text,
                              @Nullable @ProgressDetails String text2)