2021-11-08 18:25:28 +00:00
|
|
|
package i0;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2021-08-04 22:02:59 +00:00
|
|
|
import java.lang.reflect.InvocationHandler;
|
|
|
|
import java.lang.reflect.Method;
|
2022-03-02 20:59:20 +00:00
|
|
|
/* compiled from: Retrofit.java */
|
|
|
|
/* loaded from: classes3.dex */
|
2021-08-04 22:02:59 +00:00
|
|
|
public class x implements InvocationHandler {
|
|
|
|
public final u a = u.a;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2021-12-21 23:37:30 +00:00
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-03-30 16:43:10 +00:00
|
|
|
public final Object[] f3748b = new Object[0];
|
2021-12-21 23:37:30 +00:00
|
|
|
public final /* synthetic */ Class c;
|
2021-08-04 22:02:59 +00:00
|
|
|
public final /* synthetic */ y d;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2021-08-04 22:02:59 +00:00
|
|
|
public x(y yVar, Class cls) {
|
|
|
|
this.d = yVar;
|
2021-12-21 23:37:30 +00:00
|
|
|
this.c = cls;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
2021-08-04 22:02:59 +00:00
|
|
|
@Override // java.lang.reflect.InvocationHandler
|
|
|
|
public Object invoke(Object obj, Method method, Object[] objArr) throws Throwable {
|
|
|
|
if (method.getDeclaringClass() == Object.class) {
|
|
|
|
return method.invoke(this, objArr);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
2021-08-04 22:02:59 +00:00
|
|
|
if (objArr == null) {
|
2022-03-30 16:43:10 +00:00
|
|
|
objArr = this.f3748b;
|
2021-08-04 22:02:59 +00:00
|
|
|
}
|
2022-03-30 16:43:10 +00:00
|
|
|
return this.a.f3740b && method.isDefault() ? this.a.b(method, this.c, obj, objArr) : this.d.b(method).a(objArr);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|