Money Lover v8.14.0.6版本的 MD5 值为:48b9d922212c7ccfd438cdcc183ff396

以下内容为反编译后的 g.java 源代码,内容仅作参考


package cq;

import java.util.Collection;
import java.util.List;

public abstract class g extends m {

    private final bq.i<b> f15476b;

    private final boolean f15477c;

    public final class a implements e1 {

        private final dq.g f15478a;

        private final kn.g f15479b;

        final g f15480c;

        static final class C0254a extends kotlin.jvm.internal.t implements wn.a<List<? extends e0>> {

            final g f15482b;

            C0254a(g gVar) {
                super(0);
                this.f15482b = gVar;
            }

            @Override
            public final List<e0> invoke() {
                return dq.h.b(a.this.f15478a, this.f15482b.g());
            }
        }

        public a(g gVar, dq.g kotlinTypeRefiner) {
            kn.g a10;
            kotlin.jvm.internal.r.h(kotlinTypeRefiner, "kotlinTypeRefiner");
            this.f15480c = gVar;
            this.f15478a = kotlinTypeRefiner;
            a10 = kn.i.a(kn.k.f26292b, new C0254a(gVar));
            this.f15479b = a10;
        }

        private final List<e0> c() {
            return (List) this.f15479b.getValue();
        }

        @Override
        public List<e0> g() {
            return c();
        }

        public boolean equals(Object obj) {
            return this.f15480c.equals(obj);
        }

        @Override
        public List<mo.e1> getParameters() {
            List<mo.e1> parameters = this.f15480c.getParameters();
            kotlin.jvm.internal.r.g(parameters, "this@AbstractTypeConstructor.parameters");
            return parameters;
        }

        public int hashCode() {
            return this.f15480c.hashCode();
        }

        @Override
        public jo.h m() {
            jo.h m10 = this.f15480c.m();
            kotlin.jvm.internal.r.g(m10, "this@AbstractTypeConstructor.builtIns");
            return m10;
        }

        @Override
        public e1 n(dq.g kotlinTypeRefiner) {
            kotlin.jvm.internal.r.h(kotlinTypeRefiner, "kotlinTypeRefiner");
            return this.f15480c.n(kotlinTypeRefiner);
        }

        @Override
        public mo.h v() {
            return this.f15480c.v();
        }

        @Override
        public boolean p() {
            return this.f15480c.p();
        }

        public String toString() {
            return this.f15480c.toString();
        }
    }

    public static final class b {

        private final Collection<e0> f15483a;

        private List<? extends e0> f15484b;

        public b(Collection<? extends e0> allSupertypes) {
            List<? extends e0> e10;
            kotlin.jvm.internal.r.h(allSupertypes, "allSupertypes");
            this.f15483a = allSupertypes;
            e10 = ln.q.e(eq.k.f17080a.l());
            this.f15484b = e10;
        }

        public final Collection<e0> a() {
            return this.f15483a;
        }

        public final List<e0> b() {
            return this.f15484b;
        }

        public final void c(List<? extends e0> list) {
            kotlin.jvm.internal.r.h(list, "<set-?>");
            this.f15484b = list;
        }
    }

    static final class c extends kotlin.jvm.internal.t implements wn.a<b> {
        c() {
            super(0);
        }

        @Override
        public final b invoke() {
            return new b(g.this.h());
        }
    }

    static final class d extends kotlin.jvm.internal.t implements wn.l<Boolean, b> {

        public static final d f15486a = new d();

        d() {
            super(1);
        }

        public final b a(boolean z10) {
            List e10;
            e10 = ln.q.e(eq.k.f17080a.l());
            return new b(e10);
        }

        @Override
        public b invoke(Boolean bool) {
            return a(bool.booleanValue());
        }
    }

    static final class e extends kotlin.jvm.internal.t implements wn.l<b, kn.v> {

        public static final class a extends kotlin.jvm.internal.t implements wn.l<e1, Iterable<? extends e0>> {

            final g f15488a;

            a(g gVar) {
                super(1);
                this.f15488a = gVar;
            }

            @Override
            public final Iterable<e0> invoke(e1 it) {
                kotlin.jvm.internal.r.h(it, "it");
                return this.f15488a.f(it, true);
            }
        }

        public static final class b extends kotlin.jvm.internal.t implements wn.l<e0, kn.v> {

            final g f15489a;

            b(g gVar) {
                super(1);
                this.f15489a = gVar;
            }

            public final void a(e0 it) {
                kotlin.jvm.internal.r.h(it, "it");
                this.f15489a.s(it);
            }

            @Override
            public kn.v invoke(e0 e0Var) {
                a(e0Var);
                return kn.v.f26314a;
            }
        }

        public static final class c extends kotlin.jvm.internal.t implements wn.l<e1, Iterable<? extends e0>> {

            final g f15490a;

            c(g gVar) {
                super(1);
                this.f15490a = gVar;
            }

            @Override
            public final Iterable<e0> invoke(e1 it) {
                kotlin.jvm.internal.r.h(it, "it");
                return this.f15490a.f(it, false);
            }
        }

        public static final class d extends kotlin.jvm.internal.t implements wn.l<e0, kn.v> {

            final g f15491a;

            d(g gVar) {
                super(1);
                this.f15491a = gVar;
            }

            public final void a(e0 it) {
                kotlin.jvm.internal.r.h(it, "it");
                this.f15491a.t(it);
            }

            @Override
            public kn.v invoke(e0 e0Var) {
                a(e0Var);
                return kn.v.f26314a;
            }
        }

        e() {
            super(1);
        }

        public final void a(b supertypes) {
            kotlin.jvm.internal.r.h(supertypes, "supertypes");
            Collection<e0> a10 = g.this.l().a(g.this, supertypes.a(), new c(g.this), new d(g.this));
            List<e0> list = null;
            if (a10.isEmpty()) {
                e0 i10 = g.this.i();
                if (i10 != null) {
                    a10 = ln.q.e(i10);
                } else {
                    a10 = null;
                }
                if (a10 == null) {
                    a10 = ln.r.j();
                }
            }
            if (g.this.k()) {
                mo.c1 l10 = g.this.l();
                g gVar = g.this;
                l10.a(gVar, a10, new a(gVar), new b(g.this));
            }
            g gVar2 = g.this;
            if (a10 instanceof List) {
                list = (List) a10;
            }
            if (list == null) {
                list = ln.z.S0(a10);
            }
            supertypes.c(gVar2.r(list));
        }

        @Override
        public kn.v invoke(b bVar) {
            a(bVar);
            return kn.v.f26314a;
        }
    }

    public g(bq.n storageManager) {
        kotlin.jvm.internal.r.h(storageManager, "storageManager");
        this.f15476b = storageManager.c(new c(), d.f15486a, new e());
    }

    public final Collection<e0> f(e1 e1Var, boolean z10) {
        g gVar;
        List z02;
        if (e1Var instanceof g) {
            gVar = (g) e1Var;
        } else {
            gVar = null;
        }
        if (gVar == null || z02 == null) {
            Collection<e0> supertypes = e1Var.g();
            kotlin.jvm.internal.r.g(supertypes, "supertypes");
            return supertypes;
        }
        return z02;
    }

    protected abstract Collection<e0> h();

    protected e0 i() {
        return null;
    }

    protected Collection<e0> j(boolean z10) {
        List j10;
        j10 = ln.r.j();
        return j10;
    }

    protected boolean k() {
        return this.f15477c;
    }

    protected abstract mo.c1 l();

    @Override
    public e1 n(dq.g kotlinTypeRefiner) {
        kotlin.jvm.internal.r.h(kotlinTypeRefiner, "kotlinTypeRefiner");
        return new a(this, kotlinTypeRefiner);
    }

    @Override
    public List<e0> g() {
        return this.f15476b.invoke().b();
    }

    protected List<e0> r(List<e0> supertypes) {
        kotlin.jvm.internal.r.h(supertypes, "supertypes");
        return supertypes;
    }

    protected void s(e0 type) {
        kotlin.jvm.internal.r.h(type, "type");
    }

    protected void t(e0 type) {
        kotlin.jvm.internal.r.h(type, "type");
    }
}