package E4;

import java.lang.reflect.Method;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
public abstract class a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final Method f1177a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final Method f1178b;

    static {
        Method method;
        Method method2;
        Method[] methods = Throwable.class.getMethods();
        o.e(methods);
        int length = methods.length;
        int i6 = 0;
        int i7 = 0;
        while (true) {
            method = null;
            if (i7 >= length) {
                method2 = null;
                break;
            }
            method2 = methods[i7];
            if (o.c(method2.getName(), "addSuppressed")) {
                Class<?>[] parameterTypes = method2.getParameterTypes();
                o.g(parameterTypes, "getParameterTypes(...)");
                if (o.c(parameterTypes.length == 1 ? parameterTypes[0] : null, Throwable.class)) {
                    break;
                }
            }
            i7++;
        }
        f1177a = method2;
        int length2 = methods.length;
        while (true) {
            if (i6 >= length2) {
                break;
            }
            Method method3 = methods[i6];
            if (o.c(method3.getName(), "getSuppressed")) {
                method = method3;
                break;
            }
            i6++;
        }
        f1178b = method;
    }
}
