class ObjectCachedFieldFactory implements CachedFieldFactory {
public CachedField createCachedField (Class fieldClass, Field field, FieldSerializer ser) {
CachedField cachedField;
if (fieldClass.isPrimitive()) {
if (fieldClass == boolean.class)
cachedField = new ObjectBooleanField(ser);
else if (fieldClass == byte.class)
cachedField = new ObjectByteField(ser);
else if (fieldClass == char.class)
cachedField = new ObjectCharField(ser);
else if (fieldClass == short.class)