@Override
        public void visitElement(@NotNull PsiElement element) {
          if (ref.get() == null) {
            super.visitElement(element);
          }
        }
@Override
        public void visitElement(@NotNull PsiElement element)