package defpackage;

import java.lang.reflect.Type;
import java.lang.reflect.WildcardType;

/* JADX INFO: renamed from: ᵞᵴˊ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3038 implements WildcardType {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final Type f11661;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final Type f11662;

    public C3038(Type[] typeArr, Type[] typeArr2) {
        if (typeArr2.length > 1) {
            ᵷᵝˎ.ᵷᵺʾᵖ();
            throw null;
        }
        if (typeArr.length != 1) {
            ᵷᵝˎ.ᵷᵺʾᵖ();
            throw null;
        }
        if (typeArr2.length != 1) {
            typeArr[0].getClass();
            AbstractC3481.m7953(typeArr[0]);
            this.f11662 = null;
            this.f11661 = typeArr[0];
            return;
        }
        typeArr2[0].getClass();
        AbstractC3481.m7953(typeArr2[0]);
        if (typeArr[0] != Object.class) {
            ᵷᵝˎ.ᵷᵺʾᵖ();
            throw null;
        }
        this.f11662 = typeArr2[0];
        this.f11661 = Object.class;
    }

    public final boolean equals(Object obj) {
        return (obj instanceof WildcardType) && AbstractC3481.m7948(this, (WildcardType) obj);
    }

    @Override // java.lang.reflect.WildcardType
    public final Type[] getLowerBounds() {
        Type type = this.f11662;
        return type != null ? new Type[]{type} : AbstractC3481.f13405;
    }

    @Override // java.lang.reflect.WildcardType
    public final Type[] getUpperBounds() {
        return new Type[]{this.f11661};
    }

    public final int hashCode() {
        Type type = this.f11662;
        return (this.f11661.hashCode() + 31) ^ (type != null ? type.hashCode() + 31 : 1);
    }

    public final String toString() {
        Type type = this.f11662;
        if (type != null) {
            return "? super " + AbstractC3481.m7926(type);
        }
        Type type2 = this.f11661;
        if (type2 == Object.class) {
            return "?";
        }
        return "? extends " + AbstractC3481.m7926(type2);
    }
}
