Add getWrappedType and update getGenericType to match Field#getGenericType definition