else if (fieldClass == char.class)
cachedField = new ObjectCharField(ser);
else if (fieldClass == short.class)
cachedField = new ObjectShortField(ser);
else if (fieldClass == int.class)
cachedField = new ObjectIntField(ser);
else if (fieldClass == long.class)
cachedField = new ObjectLongField(ser);
else if (fieldClass == float.class)
cachedField = new ObjectFloatField(ser);
else if (fieldClass == double.class)