throw new ConversionException(
"Unable to determine componentType of "+targetType);
}
// create array
Object ret = Array.newInstance(componentType.asClass(), source.size());
// iterate and convert
for (int i=0; i<source.size(); i++) {
Object value = source.get(i);
if (value!=null) {