void (@NotNull GrIfStatement statement) { super.visitIfStatement(statement); final GrExpression condition = statement.getCondition(); if (condition == null) { return; } final GrStatement thenBranch = statement.getThenBranch(); if (thenBranch == null) { return; } if (isTrue(condition) || isFalse(condition)) { registerStatementError(statement); } }