@Override
      public boolean processInReadAction(CandidateFileInfo candidateFileInfo) {
        PsiElement scopeElement = candidateFileInfo.file();
        if (scopeElement instanceof PsiCompiledElement) {
          // can't scan text of the element
          return true;
        }

        return scopeElement.isValid() &&
               processor.execute(scopeElement, LowLevelSearchUtil.getTextOccurrencesInScope(scopeElement, searcher), searcher);
      }
@Override
      public boolean processInReadAction(CandidateFileInfo candidateFileInfo)