void (@NotNull GrParameter grParameter) { super.visitParameter(grParameter); final String name = grParameter.getName(); final PsiElement scope = grParameter.getDeclarationScope(); if (scope instanceof GrCatchClause || scope instanceof GrForStatement) { return; } if (isValid(name)) { return; } registerVariableError(grParameter, name); }