discord-jadx/app/src/main/java/i0/x.java

30 lines
940 B
Java
Raw Normal View History

2021-08-03 07:33:18 +00:00
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;
public final Object[] b = new Object[0];
/* renamed from: c reason: collision with root package name */
2021-10-08 22:11:56 +00:00
public final /* synthetic */ Class f2923c;
2021-08-03 07:33:18 +00:00
public final /* synthetic */ y d;
public x(y yVar, Class cls) {
this.d = yVar;
2021-10-08 22:11:56 +00:00
this.f2923c = 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) {
objArr = this.b;
}
2021-10-08 22:11:56 +00:00
return this.a.b && method.isDefault() ? this.a.b(method, this.f2923c, obj, objArr) : this.d.b(method).a(objArr);
2021-08-03 07:33:18 +00:00
}
}