void (@NotNull PsiLoopStatement statement) { final PsiStatement body = statement.getBody(); if (body == null) { return; } if (ControlFlowUtils.statementMayCompleteNormally(body)) { return; } if (ControlFlowUtils.statementIsContinueTarget(statement)) { return; } registerStatementError(statement); }