public static boolean processElementsContainingWordInElement(final @NotNull TextOccurenceProcessor processor,
                                                               final @NotNull PsiElement scope,
                                                               final @NotNull StringSearcher searcher,
                                                               boolean processInjectedPsi,
                                                               @NotNull ProgressIndicator progress) {
    int[] occurrences = getTextOccurrencesInScope(scope, searcher);
    return processElementsAtOffsets(scope, searcher, processInjectedPsi, progress, occurrences, processor);
  }
public static boolean processElementsContainingWordInElement(final @NotNull TextOccurenceProcessor processor,
                                                               final @NotNull PsiElement scope,
                                                               final @NotNull StringSearcher searcher,
                                                               boolean processInjectedPsi,
                                                               @NotNull ProgressIndicator progress)