final InvokeCustomFieldSerializerCommand toReturn = new InvokeCustomFieldSerializerCommand(
instanceClass, customSerializer, manuallySerializedType);
identityMap.put(instance, toReturn);
CommandServerSerializationStreamWriter subWriter = new CommandServerSerializationStreamWriter(
clientOracle, new HasValuesCommandSink(toReturn));
method.invoke(null, subWriter, instance);
return toReturn;
}
}