argsAsString = (argsAsString == null) ? "" : argsAsString;
String[] argsExpressions = StringUtils.commaDelimitedListToStringArray(argsAsString);
if (argsExpressions.length == 0) {
return null;
}
return new FunctionErrorArgumentsResolver(argsExpressions, functionExpressionParser);
} catch (Exception e) {
throw new IllegalArgumentException("Expecting attribute '" + ARGS_ATTR + "' in annotation '" +
annotation.getClass().getName());
}
}