what-the-bank/sources/o/gbA.java

60 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.lang.reflect.Method;
/* loaded from: classes.dex */
public class gbA {
/* loaded from: classes.dex */
static final class Sts {
public static final Method b;
private Sts() {
}
static {
Method method;
new Sts();
Method[] methods = Throwable.class.getMethods();
C14957gcv.c(methods, "");
int length = methods.length;
int i = 0;
while (true) {
method = null;
if (i >= length) {
break;
}
Method method2 = methods[i];
if (C14957gcv.b((Object) method2.getName(), (Object) "addSuppressed")) {
Class<?>[] parameterTypes = method2.getParameterTypes();
C14957gcv.c(parameterTypes, "");
Class<?>[] clsArr = parameterTypes;
C14957gcv.e(clsArr, "");
if (C14957gcv.b(clsArr.length == 1 ? clsArr[0] : null, Throwable.class)) {
method = method2;
break;
}
}
i++;
}
b = method;
int length2 = methods.length;
for (int i2 = 0; i2 < length2 && !C14957gcv.b((Object) methods[i2].getName(), (Object) "getSuppressed"); i2++) {
}
}
}
public void d(Throwable th, Throwable th2) {
C14957gcv.e(th, "");
C14957gcv.e(th2, "");
Method method = Sts.b;
if (method != null) {
method.invoke(th, th2);
}
}
public AbstractC14971gdc a() {
return new gcY();
}
}