void (@NotNull PsiReferenceExpression reference) { if (EquivalenceChecker.getCanonicalPsiEquivalence().expressionsAreEquivalent(lhs, reference)) { stopWalking(); registerError(referenceNameElement); return; } super.visitReferenceExpression(reference); }