AsyncLoadUtils.notNull(callback, "callback is null!");
Type type = callback.getClass().getGenericInterfaces()[0];
if (!(type instanceof ParameterizedType)) {
// 用户不指定AsyncLoadCallBack的泛型信息
throw new AsyncLoadException("you should specify AsyncLoadCallBack<R> for R type, ie: AsyncLoadCallBack<OfferModel>");
}
Class returnClass = (Class) getGenericClass((ParameterizedType) type, 0);
AsyncLoadConfig copy = config.cloneConfig();
copy.setDefaultTimeout(timeout);