29 lines
940 B
Java
29 lines
940 B
Java
package i0;
|
|
|
|
import java.lang.reflect.InvocationHandler;
|
|
import java.lang.reflect.Method;
|
|
/* compiled from: Retrofit */
|
|
public class x implements InvocationHandler {
|
|
public final u a = u.a;
|
|
|
|
/* renamed from: b reason: collision with root package name */
|
|
public final Object[] f3740b = new Object[0];
|
|
public final /* synthetic */ Class c;
|
|
public final /* synthetic */ y d;
|
|
|
|
public x(y yVar, Class cls) {
|
|
this.d = yVar;
|
|
this.c = cls;
|
|
}
|
|
|
|
@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) {
|
|
objArr = this.f3740b;
|
|
}
|
|
return this.a.f3732b && method.isDefault() ? this.a.b(method, this.c, obj, objArr) : this.d.b(method).a(objArr);
|
|
}
|
|
}
|