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;
|
|
|
|
/* compiled from: Retrofit */
|
|
|
|
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-02-01 08:01:17 +00:00
|
|
|
public final Object[] f3739b = 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-02-01 08:01:17 +00:00
|
|
|
objArr = this.f3739b;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
2022-02-01 08:01:17 +00:00
|
|
|
return this.a.f3731b && method.isDefault() ? this.a.b(method, this.c, obj, objArr) : this.d.b(method).a(objArr);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|