void (@NotNull GrConditionalExpression expression) { super.visitConditionalExpression(expression); final GrExpression thenBranch = expression.getThenBranch(); final GrExpression elseBranch = expression.getElseBranch(); if (thenBranch == null || elseBranch == null) { return; } if (EquivalenceChecker.expressionsAreEquivalent(thenBranch, elseBranch)) { registerStatementError(expression); } }