package a.i.b.a.c.d.a.c.a;

import a.a.aj;
import a.a.j;
import a.a.v;
import a.aa;
import a.f.a.a;
import a.f.b.k;
import a.i.b.a.c.b.am;
import a.i.b.a.c.b.ar;
import a.i.b.a.c.b.ay;
import a.i.b.a.c.b.az;
import a.i.b.a.c.b.c.g;
import a.i.b.a.c.b.e;
import a.i.b.a.c.b.l;
import a.i.b.a.c.b.w;
import a.i.b.a.c.d.a.b.d;
import a.i.b.a.c.d.a.c.h;
import a.i.b.a.c.d.a.e.x;
import a.i.b.a.c.d.a.n;
import a.i.b.a.c.l.an;
import com.tencent.matrix.trace.core.AppMethodBeat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;

public final class f extends g implements d {
    private static final Set<String> Bob = aj.setOf(new String[]{"equals", "hashCode", "getClass", "wait", "notify", "notifyAll", "toString"});
    public static final a Boc = new a((byte) 0);
    private final boolean BeM;
    private final a.i.b.a.c.b.a.g Bfn;
    private final az BhQ;
    private final w Bhv;
    private final a.i.b.a.c.b.f Bhw;
    public final a.i.b.a.c.d.a.e.g BnJ;
    final b BnV;
    public final g BnW;
    private final a.i.b.a.c.i.e.f BnX;
    private final l BnY;
    private final a.i.b.a.c.k.f<List<ar>> BnZ;
    public final h Bnn;
    private final e Boa;

    static final class c extends k implements a<List<? extends ar>> {
        final /* synthetic */ f Boe;

        c(f fVar) {
            this.Boe = fVar;
            super(0);
        }

        public final /* synthetic */ Object invoke() {
            AppMethodBeat.i(119894);
            Iterable<a.i.b.a.c.d.a.e.w> dYS = this.Boe.BnJ.dYS();
            Collection arrayList = new ArrayList(j.d(dYS));
            for (a.i.b.a.c.d.a.e.w wVar : dYS) {
                ar a = this.Boe.Bnn.Bnw.a(wVar);
                if (a == null) {
                    Throwable assertionError = new AssertionError("Parameter " + wVar + " surely belongs to class " + this.Boe.BnJ + ", so it must be resolved");
                    AppMethodBeat.o(119894);
                    throw assertionError;
                }
                arrayList.add(a);
            }
            List list = (List) arrayList;
            AppMethodBeat.o(119894);
            return list;
        }
    }

    public final /* synthetic */ Collection dYb() {
        AppMethodBeat.i(119897);
        Collection ebr = ebr();
        AppMethodBeat.o(119897);
        return ebr;
    }

    public /* synthetic */ f(h hVar, l lVar, a.i.b.a.c.d.a.e.g gVar) {
        this(hVar, lVar, gVar, null);
    }

    static {
        AppMethodBeat.i(119901);
        AppMethodBeat.o(119901);
    }

    public final a.i.b.a.c.b.f dYc() {
        return this.Bhw;
    }

    public final w dYd() {
        return this.Bhv;
    }

    public final az dYf() {
        AppMethodBeat.i(119895);
        Object obj = (a.f.b.j.j(this.BhQ, ay.BeW) && this.BnJ.ebG() == null) ? n.Blg : this.BhQ;
        a.f.b.j.o(obj, "if (visibility == Visibi…ISIBILITY else visibility");
        AppMethodBeat.o(119895);
        return obj;
    }

    public final boolean dYh() {
        return this.BeM;
    }

    public final boolean dYi() {
        return false;
    }

    public final boolean dYj() {
        return false;
    }

    public final boolean dYg() {
        return false;
    }

    public final boolean dYk() {
        return false;
    }

    public final boolean dYl() {
        return false;
    }

    public final an dXY() {
        return (an) this.BnV;
    }

    public final a.i.b.a.c.i.e.h dZk() {
        return (a.i.b.a.c.i.e.h) this.BnX;
    }

    public final a.i.b.a.c.i.e.h dXX() {
        return (a.i.b.a.c.i.e.h) this.BnY;
    }

    public final a.i.b.a.c.b.d dYe() {
        return null;
    }

    public final e dYa() {
        return null;
    }

    public final List<a.i.b.a.c.b.d> ebr() {
        AppMethodBeat.i(119896);
        List list = (List) this.BnW.Bog.invoke();
        AppMethodBeat.o(119896);
        return list;
    }

    public final a.i.b.a.c.b.a.g dYn() {
        return this.Bfn;
    }

    public final List<ar> dYq() {
        AppMethodBeat.i(119898);
        List list = (List) this.BnZ.invoke();
        AppMethodBeat.o(119898);
        return list;
    }

    public final String toString() {
        AppMethodBeat.i(119899);
        String str = "Lazy Java class " + a.i.b.a.c.i.c.a.q((l) this);
        AppMethodBeat.o(119899);
        return str;
    }

    public final /* bridge */ /* synthetic */ a.i.b.a.c.i.e.h dXZ() {
        return (a.i.b.a.c.i.e.h) this.BnW;
    }

    public final Collection<e> dYp() {
        return (List) v.AUP;
    }

    public f(h hVar, l lVar, a.i.b.a.c.d.a.e.g gVar, e eVar) {
        a.i.b.a.c.b.f fVar;
        w wVar;
        boolean z = true;
        a.f.b.j.p(hVar, "outerContext");
        a.f.b.j.p(lVar, "containingDeclaration");
        a.f.b.j.p(gVar, "jClass");
        super(hVar.Bnv.Baf, lVar, gVar.dZg(), (am) hVar.Bnv.BmZ.a((a.i.b.a.c.d.a.e.l) gVar));
        AppMethodBeat.i(119900);
        this.BnJ = gVar;
        this.Boa = eVar;
        this.Bnn = a.i.b.a.c.d.a.c.a.a(hVar, (a.i.b.a.c.b.g) this, (x) this.BnJ, 4);
        boolean z2 = aa.AUz;
        if (this.BnJ.ebH()) {
            fVar = a.i.b.a.c.b.f.Bev;
        } else if (this.BnJ.isInterface()) {
            fVar = a.i.b.a.c.b.f.Bes;
        } else if (this.BnJ.isEnum()) {
            fVar = a.i.b.a.c.b.f.Bet;
        } else {
            fVar = a.i.b.a.c.b.f.Ber;
        }
        this.Bhw = fVar;
        if (this.BnJ.ebH()) {
            wVar = w.BeB;
        } else {
            w.a aVar = w.BeG;
            z2 = this.BnJ.ebX() || this.BnJ.isInterface();
            wVar = w.a.an(z2, !this.BnJ.ebY());
        }
        this.Bhv = wVar;
        this.BhQ = this.BnJ.dYf();
        if (this.BnJ.ebG() == null || this.BnJ.isStatic()) {
            z = false;
        }
        this.BeM = z;
        this.BnV = new b(this);
        this.BnW = new g(this.Bnn, (e) this, this.BnJ);
        this.BnX = new a.i.b.a.c.i.e.f((a.i.b.a.c.i.e.h) this.BnW);
        this.BnY = new l(this.Bnn, this.BnJ, this);
        this.Bfn = a.i.b.a.c.d.a.c.f.a(this.Bnn, (a.i.b.a.c.d.a.e.d) this.BnJ);
        this.BnZ = this.Bnn.Bnv.Baf.i((a) new c(this));
        AppMethodBeat.o(119900);
    }
}
