boolean (PsiExpression[] expressions) { PsiExpression previousExpression = null; for (int i = 0; i < expressions.length; i++) { final PsiExpression expression = expressions[i]; if (previousExpression != null && (isOne(expression) || i == 1 && areExpressionsIdenticalWithoutSideEffects(previousExpression, expression) && !isZero(expression))) { return true; } previousExpression = expression; } return false; }