public static void searchOptimized(@NotNull PsiMethod method,
                                     @NotNull SearchScope scope,
                                     boolean strictSignatureSearch,
                                     @NotNull SearchRequestCollector collector,
                                     @NotNull Processor<? super PsiReference> processor) {
    searchOptimized(method, scope, strictSignatureSearch, collector, false, (psiReference, collector1) -> processor.process(psiReference));
  }
public static void searchOptimized(@NotNull PsiMethod method,
                                     @NotNull SearchScope scope,
                                     boolean strictSignatureSearch,
                                     @NotNull SearchRequestCollector collector,
                                     @NotNull Processor<? super PsiReference> processor)