void (@NotNull GrWhileStatement statement) { super.visitWhileStatement(statement); final GrStatement body = statement.getBody(); if (ignoreNonEmtpyLoops && !statementIsEmpty(body)) { return; } final GrExpression condition = statement.getCondition(); if (condition == null || !isSimpleFieldComparison(condition)) { return; } registerStatementError(statement); }