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;
|
|
|
|
/* compiled from: Retrofit */
|
|
|
|
public class x implements InvocationHandler {
|
|
|
|
public final u a = u.a;
|
|
|
|
public final Object[] b = new Object[0];
|
2021-06-27 20:44:35 +00:00
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-12-17 22:03:14 +00:00
|
|
|
public final /* synthetic */ Class f3004c;
|
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-17 22:03:14 +00:00
|
|
|
this.f3004c = 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) {
|
|
|
|
objArr = this.b;
|
|
|
|
}
|
2021-12-17 22:03:14 +00:00
|
|
|
return this.a.b && method.isDefault() ? this.a.b(method, this.f3004c, obj, objArr) : this.d.b(method).a(objArr);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|