void (@NotNull PsiReferenceExpression referenceExpression) { if (usedInInnerClass) { return; } super.visitReferenceExpression(referenceExpression); if (inInnerClassCount > 0) { final PsiElement target = referenceExpression.resolve(); if (variable.equals(target)) { usedInInnerClass = true; } } }