List<PyExpression> (@NotNull PyExpression assignedValue, List<PyExpressionStatement> statements) { final List<PyExpression> values = new ArrayList<>(); ContainerUtil.addAll(values, ((PyListLiteralExpression)assignedValue).getElements()); for (PyExpressionStatement statement : statements) { ContainerUtil.addAll(values, ((PyCallExpression)statement.getExpression()).getArguments()); } return values; }