discord-jadx/app/src/main/java/i0/y.java
2021-07-13 22:23:20 +02:00

29 lines
940 B
Java

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