void (PsiConditionalLoopStatement statement, boolean doWhile) { final PsiExpression condition = statement.getCondition(); if (!BoolUtils.isTrue(condition)) { return; } if (isLoopWithImplicitTerminationCondition(statement, !doWhile)) { return; } registerStatementError(statement, doWhile); }