package d4;

import com.google.android.gms.internal.measurement.C1;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/* JADX INFO: renamed from: d4.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0843b {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f12246a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Set f12247b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Set f12248c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f12249d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f12250e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final d f12251f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final Set f12252g;

    public C0843b(String str, Set set, Set set2, int i, int i5, d dVar, Set set3) {
        this.f12246a = str;
        this.f12247b = Collections.unmodifiableSet(set);
        this.f12248c = Collections.unmodifiableSet(set2);
        this.f12249d = i;
        this.f12250e = i5;
        this.f12251f = dVar;
        this.f12252g = Collections.unmodifiableSet(set3);
    }

    public static C0842a a(p pVar) {
        return new C0842a(pVar, new p[0]);
    }

    public static C0842a b(Class cls) {
        return new C0842a(cls, new Class[0]);
    }

    public static C0843b c(Object obj, Class cls, Class... clsArr) {
        HashSet hashSet = new HashSet();
        HashSet hashSet2 = new HashSet();
        HashSet hashSet3 = new HashSet();
        hashSet.add(p.a(cls));
        for (Class cls2 : clsArr) {
            C1.e(cls2, "Null interface");
            hashSet.add(p.a(cls2));
        }
        return new C0843b(null, new HashSet(hashSet), new HashSet(hashSet2), 0, 0, new C0.d(obj), hashSet3);
    }

    public final String toString() {
        return "Component<" + Arrays.toString(this.f12247b.toArray()) + ">{" + this.f12249d + ", type=" + this.f12250e + ", deps=" + Arrays.toString(this.f12248c.toArray()) + "}";
    }
}
