package kotlin.reflect.jvm.internal.impl.types.error;

import hp.d1;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import kotlin.jvm.internal.t;
import sm.u;

/* loaded from: classes3.dex */
public final class i implements d1 {

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

    /* renamed from: b, reason: collision with root package name */
    private final String[] f26473b;

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

    public i(j kind, String... formatParams) {
        t.g(kind, "kind");
        t.g(formatParams, "formatParams");
        this.f26472a = kind;
        this.f26473b = formatParams;
        String debugText = b.ERROR_TYPE.getDebugText();
        String debugMessage = kind.getDebugMessage();
        Object[] copyOf = Arrays.copyOf(formatParams, formatParams.length);
        String format = String.format(debugMessage, Arrays.copyOf(copyOf, copyOf.length));
        t.f(format, "format(...)");
        String format2 = String.format(debugText, Arrays.copyOf(new Object[]{format}, 1));
        t.f(format2, "format(...)");
        this.f26474c = format2;
    }

    public final j a() {
        return this.f26472a;
    }

    public final String b(int i10) {
        return this.f26473b[i10];
    }

    @Override // hp.d1
    public List getParameters() {
        List k10;
        k10 = u.k();
        return k10;
    }

    @Override // hp.d1
    public qn.g m() {
        return qn.e.f33926h.a();
    }

    @Override // hp.d1
    public Collection n() {
        List k10;
        k10 = u.k();
        return k10;
    }

    @Override // hp.d1
    public d1 o(kotlin.reflect.jvm.internal.impl.types.checker.g kotlinTypeRefiner) {
        t.g(kotlinTypeRefiner, "kotlinTypeRefiner");
        return this;
    }

    @Override // hp.d1
    public tn.h p() {
        return k.f26475a.h();
    }

    @Override // hp.d1
    public boolean q() {
        return false;
    }

    public String toString() {
        return this.f26474c;
    }
}
