void (@NotNull GrVariable variable) { super.visitVariable(variable); if (!(variable instanceof PsiField) && variable.hasModifierProperty(PsiModifier.FINAL)) { final PsiElement varScope = findScope(variable); if (varScope != null) { scopes.putValue(varScope, variable); } } }