package k3;

import io.sentry.C0732k1;
import java.lang.reflect.Method;

/* JADX INFO: loaded from: classes.dex */
public final class q extends u {

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Object f8662c;

    public q(Method method, Object obj) {
        this.f8661b = method;
        this.f8662c = obj;
    }

    @Override // k3.u
    public final Object a(Class cls) {
        String strI = C0732k1.I(cls);
        if (strI != null) {
            throw new AssertionError("UnsafeAllocator is used for non-instantiable type: ".concat(strI));
        }
        return this.f8661b.invoke(this.f8662c, cls);
    }
}
