public <T extends Collection> T createListProxy(final T listToProxy,
final Class referenceObjClass, final boolean ignoreMissing,
final DatastoreProvider p) {
Class<? extends Collection> targetClass = listToProxy.getClass();
SerializableCollectionObjectReference objectReference = new SerializableCollectionObjectReference(
listToProxy, referenceObjClass, ignoreMissing, p);
T backend = (T) new NonFinalizingHotSwappingInvoker(new Class[]{targetClass, Serializable.class}, factory,
objectReference, DelegationMode.SIGNATURE).proxy();
T proxy = (T) Dispatching.proxy(targetClass,