Object retval = recursionStops.get(list);
if(retval != null) {
return retval;
}
} else {
recursionStops = new IdentityHashMap();
}
Class componentType = arrayClass.getComponentType();
Object array = Array.newInstance(componentType, list.size());
recursionStops.put(list, array);
try {