package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ur, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2660ur {
    public final JZ a;
    public final int b;
    public final int c;

    public C2660ur(int i, int i2, Class cls) {
        this(JZ.a(cls), i, i2);
    }

    public static C2660ur a(Class cls) {
        return new C2660ur(1, 0, cls);
    }

    public static C2660ur b(JZ jz) {
        return new C2660ur(jz, 1, 0);
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof C2660ur)) {
            return false;
        }
        C2660ur c2660ur = (C2660ur) obj;
        return this.a.equals(c2660ur.a) && this.b == c2660ur.b && this.c == c2660ur.c;
    }

    public final int hashCode() {
        return ((((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b) * 1000003) ^ this.c;
    }

    public final String toString() {
        String str;
        StringBuilder sb = new StringBuilder("Dependency{anInterface=");
        sb.append(this.a);
        sb.append(", type=");
        int i = this.b;
        sb.append(i == 1 ? "required" : i == 0 ? "optional" : "set");
        sb.append(", injection=");
        int i2 = this.c;
        if (i2 == 0) {
            str = "direct";
        } else if (i2 == 1) {
            str = "provider";
        } else {
            if (i2 != 2) {
                throw new AssertionError(AbstractC0126Ew.j(i2, "Unsupported injection: "));
            }
            str = "deferred";
        }
        return AbstractC2462sn.n(sb, str, "}");
    }

    public C2660ur(JZ jz, int i, int i2) {
        AbstractC0752ap.v(jz, "Null dependency anInterface.");
        this.a = jz;
        this.b = i;
        this.c = i2;
    }
}
