@Override
      public void visitElement(@NotNull PsiElement element) {
        if (element instanceof PsiReference) { // reference was deleted/appeared, has to rehighlight all
          result[0] = true;
          stopWalking();
        }
        if (element instanceof PsiNameIdentifierOwner) {  // PsiMember, e.g. PsiClass or PsiMethod, was modified - no need to drill into because we have to rehighlight all anyway
          result[0] = true;
          stopWalking();
        }
        if (element instanceof LazyParseableElement || element.getNode() instanceof LazyParseableElement) {
          // do not expand chameleons unnecessarily
          return;
        }
        super.visitElement(element);
      }
@Override
      public void visitElement(@NotNull PsiElement element)