package defpackage;

import java.lang.annotation.Annotation;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.concurrent.CompletableFuture;

/* renamed from: ʽᵞ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0143 extends AbstractC4827 {
    @Override // defpackage.AbstractC4827
    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final InterfaceC5119 mo1289(Type type, Annotation[] annotationArr) {
        if (ᵯᵽᵦ.ᵨᵳʝ(type) != CompletableFuture.class) {
            return null;
        }
        if (!(type instanceof ParameterizedType)) {
            ᵹˉᵞ.ᵳٴᵶ("CompletableFuture return type must be parameterized as CompletableFuture<Foo> or CompletableFuture<? extends Foo>");
            return null;
        }
        Type type2 = ᵯᵽᵦ.ᵞʡ(0, (ParameterizedType) type);
        if (ᵯᵽᵦ.ᵨᵳʝ(type2) != C2074.class) {
            return new ˊᵘʛ(14, type2);
        }
        if (type2 instanceof ParameterizedType) {
            return new C2931(ᵯᵽᵦ.ᵞʡ(0, (ParameterizedType) type2));
        }
        ᵹˉᵞ.ᵳٴᵶ("Response must be parameterized as Response<Foo> or Response<? extends Foo>");
        return null;
    }
}
