void (@NotNull PsiForeachStatement statement) { super.visitForeachStatement(statement); final PsiStatement body = statement.getBody(); if (isApplicable(body)) { registerLoopStatementErrors(statement, body, PsiKeyword.FOR); } }