TupleExpression te = (TupleExpression) arguments;
Map<String, String> namedArguments = Maps.newHashMap();
List<String> unnamedArguments = Lists.newArrayList();
for (Expression subExpr : te.getExpressions()) {
if (subExpr instanceof NamedArgumentListExpression) {
NamedArgumentListExpression nale = (NamedArgumentListExpression) subExpr;
for (MapEntryExpression mae : nale.getMapEntryExpressions()) {
namedArguments.put(mae.getKeyExpression().getText(),
mae.getValueExpression().getText());
}
}
}