package xn;

import com.fasterxml.jackson.core.JsonPointer;
import ko.t;
import kotlin.text.y;

/* loaded from: classes3.dex */
public final class f implements t {

    /* renamed from: c, reason: collision with root package name */
    public static final a f50933c = new a(null);

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

    /* renamed from: b, reason: collision with root package name */
    private final lo.a f50935b;

    /* loaded from: classes3.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        public final f a(Class klass) {
            kotlin.jvm.internal.t.g(klass, "klass");
            lo.b bVar = new lo.b();
            c.f50931a.b(klass, bVar);
            lo.a n10 = bVar.n();
            kotlin.jvm.internal.k kVar = null;
            if (n10 == null) {
                return null;
            }
            return new f(klass, n10, kVar);
        }
    }

    public /* synthetic */ f(Class cls, lo.a aVar, kotlin.jvm.internal.k kVar) {
        this(cls, aVar);
    }

    @Override // ko.t
    public lo.a a() {
        return this.f50935b;
    }

    @Override // ko.t
    public void b(t.d visitor, byte[] bArr) {
        kotlin.jvm.internal.t.g(visitor, "visitor");
        c.f50931a.i(this.f50934a, visitor);
    }

    @Override // ko.t
    public void c(t.c visitor, byte[] bArr) {
        kotlin.jvm.internal.t.g(visitor, "visitor");
        c.f50931a.b(this.f50934a, visitor);
    }

    public final Class d() {
        return this.f50934a;
    }

    @Override // ko.t
    public ro.b e() {
        return yn.d.a(this.f50934a);
    }

    public boolean equals(Object obj) {
        return (obj instanceof f) && kotlin.jvm.internal.t.b(this.f50934a, ((f) obj).f50934a);
    }

    @Override // ko.t
    public String getLocation() {
        String I;
        StringBuilder sb2 = new StringBuilder();
        String name = this.f50934a.getName();
        kotlin.jvm.internal.t.f(name, "getName(...)");
        I = y.I(name, '.', JsonPointer.SEPARATOR, false, 4, null);
        sb2.append(I);
        sb2.append(".class");
        return sb2.toString();
    }

    public int hashCode() {
        return this.f50934a.hashCode();
    }

    public String toString() {
        return f.class.getName() + ": " + this.f50934a;
    }

    private f(Class cls, lo.a aVar) {
        this.f50934a = cls;
        this.f50935b = aVar;
    }
}
