what-the-bank/sources/retrofit2/CallAdapter.java

27 lines
802 B
Java

package retrofit2;
import java.lang.annotation.Annotation;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/* loaded from: classes.dex */
public interface CallAdapter<R, T> {
T adapt(Call<R> call);
Type responseType();
/* loaded from: classes.dex */
public static abstract class Factory {
public abstract CallAdapter<?, ?> get(Type type, Annotation[] annotationArr, Retrofit retrofit);
/* JADX INFO: Access modifiers changed from: protected */
public static Type getParameterUpperBound(int i, ParameterizedType parameterizedType) {
return Utils.getParameterUpperBound(i, parameterizedType);
}
public static Class<?> getRawType(Type type) {
return Utils.getRawType(type);
}
}
}