package defpackage;

import j$.util.Objects;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;

/* renamed from: ᵳᵪ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4594 implements ParameterizedType {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final Type f17045;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final Type f17046;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final Type[] f17047;

    public C4594(Type type, Type type2, Type... typeArr) {
        if (type2 instanceof Class) {
            if ((type == null) != (((Class) type2).getEnclosingClass() == null)) {
                ᵨᴵᵺ.ᵻᵢﹳᵰ();
                throw null;
            }
        }
        for (Type type3 : typeArr) {
            Objects.requireNonNull(type3, "typeArgument == null");
            ᵯᵽᵦ.ˏᵙ(type3);
        }
        this.f17046 = type;
        this.f17045 = type2;
        this.f17047 = (Type[]) typeArr.clone();
    }

    public final boolean equals(Object obj) {
        return (obj instanceof ParameterizedType) && ᵯᵽᵦ.ᵸˑ(this, (ParameterizedType) obj);
    }

    @Override // java.lang.reflect.ParameterizedType
    public final Type[] getActualTypeArguments() {
        return (Type[]) this.f17047.clone();
    }

    @Override // java.lang.reflect.ParameterizedType
    public final Type getOwnerType() {
        return this.f17046;
    }

    @Override // java.lang.reflect.ParameterizedType
    public final Type getRawType() {
        return this.f17045;
    }

    public final int hashCode() {
        int iHashCode = Arrays.hashCode(this.f17047) ^ this.f17045.hashCode();
        Type type = this.f17046;
        return (type != null ? type.hashCode() : 0) ^ iHashCode;
    }

    public final String toString() {
        Type[] typeArr = this.f17047;
        int length = typeArr.length;
        Type type = this.f17045;
        if (length == 0) {
            return ᵯᵽᵦ.ˌᵪ(type);
        }
        StringBuilder sb = new StringBuilder((typeArr.length + 1) * 30);
        sb.append(ᵯᵽᵦ.ˌᵪ(type));
        sb.append("<");
        sb.append(ᵯᵽᵦ.ˌᵪ(typeArr[0]));
        for (int i = 1; i < typeArr.length; i++) {
            sb.append(", ");
            sb.append(ᵯᵽᵦ.ˌᵪ(typeArr[i]));
        }
        sb.append(">");
        return sb.toString();
    }
}
