trace("kryo", "Determined concrete class of parametrized '" + field.getName() + "' to be " + fieldGenericType + " where type parameters are " + Arrays.toString(fieldGenerics));
}
}
} else if (fieldGenericType instanceof GenericArrayType) {
// TODO: store generics for arrays as well?
GenericArrayType arrayType = (GenericArrayType)fieldGenericType;
Type genericComponentType = arrayType.getGenericComponentType();
Class[] tmpFieldClass = new Class[] {fieldClass[0]};
fieldGenerics = computeFieldGenerics(genericComponentType, field, tmpFieldClass);
// Kryo.getGenerics(fieldGenericType);
if (TRACE && fieldGenerics != null) {
trace("kryo", "Determined concrete class of a generic array '" + field.getName() + "' to be " + fieldGenericType + " where type parameters are " + Arrays.toString(fieldGenerics));