package b4; /* loaded from: classes2.dex */ public final class r { /* renamed from: a, reason: collision with root package name */ private final e0 f3134a; /* renamed from: b, reason: collision with root package name */ private final int f3135b; /* renamed from: c, reason: collision with root package name */ private final int f3136c; private r(Class cls, int i10, int i11) { this(e0.b(cls), i10, i11); } private static String a(int i10) { if (i10 == 0) { return "direct"; } if (i10 == 1) { return "provider"; } if (i10 == 2) { return "deferred"; } throw new AssertionError("Unsupported injection: " + i10); } public static r g(Class cls) { return new r(cls, 0, 0); } public static r h(Class cls) { return new r(cls, 0, 1); } public static r i(e0 e0Var) { return new r(e0Var, 1, 0); } public static r j(Class cls) { return new r(cls, 1, 0); } public static r k(Class cls) { return new r(cls, 1, 1); } public static r l(Class cls) { return new r(cls, 2, 0); } public e0 b() { return this.f3134a; } public boolean c() { return this.f3136c == 2; } public boolean d() { return this.f3136c == 0; } public boolean e() { return this.f3135b == 1; } public boolean equals(Object obj) { if (!(obj instanceof r)) { return false; } r rVar = (r) obj; return this.f3134a.equals(rVar.f3134a) && this.f3135b == rVar.f3135b && this.f3136c == rVar.f3136c; } public boolean f() { return this.f3135b == 2; } public int hashCode() { return ((((this.f3134a.hashCode() ^ 1000003) * 1000003) ^ this.f3135b) * 1000003) ^ this.f3136c; } public String toString() { StringBuilder sb = new StringBuilder("Dependency{anInterface="); sb.append(this.f3134a); sb.append(", type="); int i10 = this.f3135b; sb.append(i10 == 1 ? "required" : i10 == 0 ? "optional" : "set"); sb.append(", injection="); sb.append(a(this.f3136c)); sb.append("}"); return sb.toString(); } private r(e0 e0Var, int i10, int i11) { this.f3134a = (e0) d0.c(e0Var, "Null dependency anInterface."); this.f3135b = i10; this.f3136c = i11; } }