@Override
      public void visitElement(@NotNull PsiElement element) {
        if (processor.execute(element)) {
          super.visitElement(element);
        }
        else {
          stopWalking();
          result[0] = false;
        }
      }
@Override
      public void visitElement(@NotNull PsiElement element)