package retrofit2; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import okhttp3.RequestBody; import okhttp3.ResponseBody; /* loaded from: classes2.dex */ public interface Converter { public static abstract class Factory { protected static Type getParameterUpperBound(int i, ParameterizedType parameterizedType) { return Utils.getParameterUpperBound(i, parameterizedType); } protected static Class getRawType(Type type) { return Utils.getRawType(type); } public Converter requestBodyConverter(Type type, Annotation[] annotationArr, Annotation[] annotationArr2, Retrofit retrofit) { return null; } public Converter responseBodyConverter(Type type, Annotation[] annotationArr, Retrofit retrofit) { return null; } public Converter stringConverter(Type type, Annotation[] annotationArr, Retrofit retrofit) { return null; } } T convert(F f) throws IOException; }