2021-11-02 06:38:17 +00:00
|
|
|
package i0;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
import java.lang.reflect.InvocationHandler;
|
|
|
|
import java.lang.reflect.Method;
|
2022-03-07 09:34:54 +00:00
|
|
|
/* compiled from: Retrofit.java */
|
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public class x implements InvocationHandler {
|
|
|
|
public final u a = u.a;
|
|
|
|
|
2021-12-17 21:59:34 +00:00
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-03-28 08:10:50 +00:00
|
|
|
public final Object[] f3759b = new Object[0];
|
2021-12-17 21:59:34 +00:00
|
|
|
public final /* synthetic */ Class c;
|
2021-08-03 07:33:18 +00:00
|
|
|
public final /* synthetic */ y d;
|
|
|
|
|
|
|
|
public x(y yVar, Class cls) {
|
|
|
|
this.d = yVar;
|
2021-12-17 21:59:34 +00:00
|
|
|
this.c = cls;
|
2021-08-03 07:33:18 +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);
|
|
|
|
}
|
|
|
|
if (objArr == null) {
|
2022-03-28 08:10:50 +00:00
|
|
|
objArr = this.f3759b;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
2022-03-28 08:10:50 +00:00
|
|
|
return this.a.f3751b && method.isDefault() ? this.a.b(method, this.c, obj, objArr) : this.d.b(method).a(objArr);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|