2021-08-03 07:33:18 +00:00
|
|
|
package i0;
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
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;
|
2022-03-07 09:34:54 +00:00
|
|
|
/* compiled from: Converter.java */
|
|
|
|
/* loaded from: classes3.dex */
|
2021-11-02 06:38:17 +00:00
|
|
|
public interface h<F, T> {
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2022-03-07 09:34:54 +00:00
|
|
|
/* compiled from: Converter.java */
|
|
|
|
/* loaded from: classes3.dex */
|
2021-11-02 06:38:17 +00:00
|
|
|
public static abstract class a {
|
|
|
|
public static Type getParameterUpperBound(int i, ParameterizedType parameterizedType) {
|
|
|
|
return c0.e(i, parameterizedType);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static Class<?> getRawType(Type type) {
|
|
|
|
return c0.f(type);
|
|
|
|
}
|
|
|
|
|
|
|
|
public h<?, RequestBody> requestBodyConverter(Type type, Annotation[] annotationArr, Annotation[] annotationArr2, y yVar) {
|
|
|
|
return null;
|
|
|
|
}
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
public h<ResponseBody, ?> responseBodyConverter(Type type, Annotation[] annotationArr, y yVar) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public h<?, String> stringConverter(Type type, Annotation[] annotationArr, y yVar) {
|
|
|
|
return null;
|
|
|
|
}
|
2021-10-15 06:18:26 +00:00
|
|
|
}
|
2021-11-02 06:38:17 +00:00
|
|
|
|
|
|
|
T convert(F f) throws IOException;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|