void (@NotNull GrConditionalExpression expression) { super.visitConditionalExpression(expression); final GrExpression condition = expression.getCondition(); final GrExpression thenExpression = expression.getThenBranch(); if (thenExpression == null) { return; } final GrExpression elseExpression = expression.getElseBranch(); if (elseExpression == null) { return; } if (isFalse(condition) || isTrue(condition)) { registerError(expression, expression); } }