package N2;

import e4.AbstractC0566j;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/* JADX INFO: loaded from: classes.dex */
public final class c {

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

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

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

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

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

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

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

    public c(String str, Set set, Set set2, int i, int i5, f fVar, Set set3) {
        this.f2189a = str;
        this.f2190b = Collections.unmodifiableSet(set);
        this.f2191c = Collections.unmodifiableSet(set2);
        this.f2192d = i;
        this.f2193e = i5;
        this.f2194f = fVar;
        this.f2195g = Collections.unmodifiableSet(set3);
    }

    public static b a(s sVar) {
        return new b(sVar, new s[0]);
    }

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

    public static c c(Object obj, Class cls, Class... clsArr) {
        HashSet hashSet = new HashSet();
        HashSet hashSet2 = new HashSet();
        HashSet hashSet3 = new HashSet();
        hashSet.add(s.a(cls));
        for (Class cls2 : clsArr) {
            AbstractC0566j.f("Null interface", cls2);
            hashSet.add(s.a(cls2));
        }
        return new c(null, new HashSet(hashSet), new HashSet(hashSet2), 0, 0, new a(0, obj), hashSet3);
    }

    public final String toString() {
        return "Component<" + Arrays.toString(this.f2190b.toArray()) + ">{" + this.f2192d + ", type=" + this.f2193e + ", deps=" + Arrays.toString(this.f2191c.toArray()) + "}";
    }
}
