public boolean processUsagesInText(final @NotNull PsiElement element,
                                     @NotNull Processor<? super UsageInfo> processor,
                                     @NotNull GlobalSearchScope searchScope) {
    Collection<String> stringToSearch = ReadAction.compute(() -> getStringsToSearch(element));
    if (stringToSearch == null) return true;
    return FindUsagesHelper.processUsagesInText(element, stringToSearch, false, searchScope, processor);
  }
public boolean processUsagesInText(final @NotNull PsiElement element,
                                     @NotNull Processor<? super UsageInfo> processor,
                                     @NotNull GlobalSearchScope searchScope)