typeInfo = info;
}
Object[] array = new Object[result.size()];
if (typeInfo != null)
array = typeInfo.newArrayInstance(result.size());
return result.toArray(array);
}
protected Collection<Object> getCollectionInstance(TypeInfo info, ClassLoader cl, Class expected) throws Throwable