void (@NotNull PsiVariable variable) { String name = variable.getName(); if (name != null && myVariable != variable && myIdentifier.textMatches(name) && (!myCheckRedeclared || HighlightUtil.checkVariableAlreadyDefined(variable) != null)) { hasConflict = true; stopWalking(); } super.visitVariable(variable); }