void (@NotNull PsiBinaryExpression expression) { super.visitBinaryExpression(expression); if (!ComparisonUtils.isComparison(expression)) { return; } final PsiExpression lhs = expression.getLOperand(); final PsiExpression rhs = expression.getROperand(); if (rhs == null) { return; } if (!isConstantExpression(myConstantShouldGoLeft ? lhs : rhs) && isConstantExpression(myConstantShouldGoLeft ? rhs : lhs) && !ErrorUtil.containsDeepError(expression)) { registerError(myConstantShouldGoLeft ? rhs : lhs); } }