else if (fieldClass == float.class)
cachedField = new ObjectFloatField(this);
else if (fieldClass == double.class)
cachedField = new ObjectDoubleField(this);
else {
cachedField = new ObjectField(this);
}
} else
cachedField = new ObjectField(this);
if (fieldGenerics != null)
((ObjectField)cachedField).generics = fieldGenerics;
else {
Class[] cachedFieldGenerics = FieldSerializerGenericsUtil.getGenerics(fieldGenericType, kryo);
((ObjectField)cachedField).generics = cachedFieldGenerics;