@Override
      public void visitElement(@NotNull PsiElement element) {
        if (elementsToIgnore.contains(element)) return; // ignore sub-elements too
        visitor.visit(element);
        //System.out.println("element = " + element+"; holder: "+holder.hasErrorResults());
        if (holder.hasErrorResults()) {
          stopWalking();
        }
        super.visitElement(element);
      }
@Override
      public void visitElement(@NotNull PsiElement element)