@NotNull
  public static ProgressIndicator startProcessUsages(@NotNull FindUsagesHandlerBase handler,
                                                     PsiElement @NotNull [] primaryElements,
                                                     PsiElement @NotNull [] secondaryElements,
                                                     @NotNull Processor<? super Usage> processor,
                                                     @NotNull FindUsagesOptions findUsagesOptions,
                                                     @NotNull Runnable onComplete) {
    ProgressIndicator indicator = new ProgressIndicatorBase();
    startProcessUsages(indicator, handler, primaryElements, secondaryElements, processor, findUsagesOptions, onComplete);
    return indicator;
  }
@NotNull
  public static ProgressIndicator startProcessUsages(@NotNull FindUsagesHandlerBase handler,
                                                     PsiElement @NotNull [] primaryElements,
                                                     PsiElement @NotNull [] secondaryElements,
                                                     @NotNull Processor<? super Usage> processor,
                                                     @NotNull FindUsagesOptions findUsagesOptions,
                                                     @NotNull Runnable onComplete)