PyElement[] (PyCallExpression node) { PyExpression argument = node.getArguments()[0]; if (argument instanceof PyStringLiteralExpression) { return PyElement.EMPTY_ARRAY; } if ((argument instanceof PySequenceExpression || (argument instanceof PyParenthesizedExpression && ((PyParenthesizedExpression)argument).getContainedExpression() instanceof PyTupleExpression))) { if (argument instanceof PySequenceExpression) return ((PySequenceExpression)argument).getElements(); PyExpression tuple = ((PyParenthesizedExpression)argument).getContainedExpression(); if (tuple instanceof PyTupleExpression) return ((PyTupleExpression)(tuple)).getElements(); } return PyElement.EMPTY_ARRAY; }