Comparison (@NotNull PsiExpression lOperand, @NotNull PsiExpression rOperand, @NotNull PsiVariable loopVariable, boolean isGreater) { if (ExpressionUtils.isZero(lOperand)) { return extractComparatorLikeComparison(rOperand, loopVariable, isGreater); } else if (ExpressionUtils.isZero(rOperand)) { return extractComparatorLikeComparison(lOperand, loopVariable, !isGreater); } return null; }