DistributiveExpression (@NotNull PsiParenthesizedExpression parenthesized) { DistributiveExpression expression = EliminateUtils.createExpression(parenthesized, DistributiveExpression::new, OUTER_OPERATORS); if (expression == null) return null; PsiPolyadicExpression polyadicExpression = expression.getExpression(); if (polyadicExpression == null || !JavaTokenType.DIV.equals(polyadicExpression.getOperationTokenType())) return expression; PsiExpression operand = expression.getOperand(); if (polyadicExpression.getTokenBeforeOperand(operand) != null) return null; if (TypeConversionUtil.isIntegralNumberType(polyadicExpression.getType())) return null; return expression; }