if (additionalObjectIds.isEmpty()) {
arguments = null;
} else {
arguments = new ArrayList<CallArgumentParam>(additionalObjectIds.size());
for (String objectId : additionalObjectIds) {
arguments.add(new CallArgumentParam(null, objectId));
}
}
return new CallFunctionOnParams(thisObjectIdFinal, functionText, arguments, null, true);
}