package bo;

import java.util.List;
import java.util.Map;
import sm.q0;

/* loaded from: classes3.dex */
public final class z {

    /* renamed from: a, reason: collision with root package name */
    private final g0 f7184a;

    /* renamed from: b, reason: collision with root package name */
    private final g0 f7185b;

    /* renamed from: c, reason: collision with root package name */
    private final Map f7186c;

    /* renamed from: d, reason: collision with root package name */
    private final rm.o f7187d;

    /* renamed from: e, reason: collision with root package name */
    private final boolean f7188e;

    /* loaded from: classes3.dex */
    static final class a extends kotlin.jvm.internal.v implements dn.a {
        a() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final String[] invoke() {
            List c10;
            List a10;
            z zVar = z.this;
            c10 = sm.t.c();
            c10.add(zVar.a().getDescription());
            g0 b10 = zVar.b();
            if (b10 != null) {
                c10.add("under-migration:" + b10.getDescription());
            }
            for (Map.Entry entry : zVar.c().entrySet()) {
                c10.add('@' + entry.getKey() + ':' + ((g0) entry.getValue()).getDescription());
            }
            a10 = sm.t.a(c10);
            return (String[]) a10.toArray(new String[0]);
        }
    }

    public z(g0 globalLevel, g0 g0Var, Map userDefinedLevelForSpecificAnnotation) {
        rm.o a10;
        kotlin.jvm.internal.t.g(globalLevel, "globalLevel");
        kotlin.jvm.internal.t.g(userDefinedLevelForSpecificAnnotation, "userDefinedLevelForSpecificAnnotation");
        this.f7184a = globalLevel;
        this.f7185b = g0Var;
        this.f7186c = userDefinedLevelForSpecificAnnotation;
        a10 = rm.q.a(new a());
        this.f7187d = a10;
        g0 g0Var2 = g0.IGNORE;
        this.f7188e = globalLevel == g0Var2 && g0Var == g0Var2 && userDefinedLevelForSpecificAnnotation.isEmpty();
    }

    public final g0 a() {
        return this.f7184a;
    }

    public final g0 b() {
        return this.f7185b;
    }

    public final Map c() {
        return this.f7186c;
    }

    public final boolean d() {
        return this.f7188e;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof z)) {
            return false;
        }
        z zVar = (z) obj;
        return this.f7184a == zVar.f7184a && this.f7185b == zVar.f7185b && kotlin.jvm.internal.t.b(this.f7186c, zVar.f7186c);
    }

    public int hashCode() {
        int hashCode = this.f7184a.hashCode() * 31;
        g0 g0Var = this.f7185b;
        return ((hashCode + (g0Var == null ? 0 : g0Var.hashCode())) * 31) + this.f7186c.hashCode();
    }

    public String toString() {
        return "Jsr305Settings(globalLevel=" + this.f7184a + ", migrationLevel=" + this.f7185b + ", userDefinedLevelForSpecificAnnotation=" + this.f7186c + ')';
    }

    public /* synthetic */ z(g0 g0Var, g0 g0Var2, Map map, int i10, kotlin.jvm.internal.k kVar) {
        this(g0Var, (i10 & 2) != 0 ? null : g0Var2, (i10 & 4) != 0 ? q0.i() : map);
    }
}
