package a.i.b.a.c.l;

import a.f.b.j;
import a.i.b.a.c.b.ar;
import a.i.b.a.c.b.h;
import a.v;
import com.tencent.matrix.trace.core.AppMethodBeat;
import java.util.List;

public final class ai$a extends ao {
    final /* synthetic */ List BJN;

    ai$a(List list) {
        this.BJN = list;
    }

    public final ap c(an anVar) {
        AppMethodBeat.i(122635);
        j.p(anVar, "key");
        if (this.BJN.contains(anVar)) {
            h dYs = anVar.dYs();
            if (dYs == null) {
                v vVar = new v("null cannot be cast to non-null type org.jetbrains.kotlin.descriptors.TypeParameterDescriptor");
                AppMethodBeat.o(122635);
                throw vVar;
            }
            ap e = av.e((ar) dYs);
            AppMethodBeat.o(122635);
            return e;
        }
        AppMethodBeat.o(122635);
        return null;
    }
}
