PsiExpression (@NotNull PsiBinaryExpression binOp) { PsiExpression rOperand = binOp.getROperand(); if (rOperand == null) return null; PsiExpression lOperand = binOp.getLOperand(); if (ExpressionUtils.isZero(lOperand)) return rOperand; if (ExpressionUtils.isZero(rOperand)) return lOperand; return null; }