static Type genericFieldType(O o, S field) { Field f = getField(o, field); ret f == null ? null : f.getGenericType(); }