package nn;

import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.Comparator;
import java.util.List;
import qo.d;

/* loaded from: classes3.dex */
public abstract class l {

    /* loaded from: classes3.dex */
    public static final class a extends l {

        /* renamed from: a, reason: collision with root package name */
        private final Class f30192a;

        /* renamed from: b, reason: collision with root package name */
        private final List f30193b;

        /* renamed from: nn.l$a$a, reason: collision with other inner class name */
        /* loaded from: classes3.dex */
        static final class C0693a extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            public static final C0693a f30194p = new C0693a();

            C0693a() {
                super(1);
            }

            @Override // dn.l
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final CharSequence invoke(Method method) {
                Class<?> returnType = method.getReturnType();
                kotlin.jvm.internal.t.f(returnType, "getReturnType(...)");
                return yn.d.b(returnType);
            }
        }

        /* loaded from: classes3.dex */
        public static final class b implements Comparator {
            @Override // java.util.Comparator
            public final int compare(Object obj, Object obj2) {
                int d10;
                d10 = um.c.d(((Method) obj).getName(), ((Method) obj2).getName());
                return d10;
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public a(Class jClass) {
            super(null);
            List A0;
            kotlin.jvm.internal.t.g(jClass, "jClass");
            this.f30192a = jClass;
            Method[] declaredMethods = jClass.getDeclaredMethods();
            kotlin.jvm.internal.t.f(declaredMethods, "getDeclaredMethods(...)");
            A0 = sm.p.A0(declaredMethods, new b());
            this.f30193b = A0;
        }

        @Override // nn.l
        public String a() {
            String m02;
            m02 = sm.c0.m0(this.f30193b, "", "<init>(", ")V", 0, null, C0693a.f30194p, 24, null);
            return m02;
        }

        public final List b() {
            return this.f30193b;
        }
    }

    /* loaded from: classes3.dex */
    public static final class b extends l {

        /* renamed from: a, reason: collision with root package name */
        private final Constructor f30195a;

        /* loaded from: classes3.dex */
        static final class a extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            public static final a f30196p = new a();

            a() {
                super(1);
            }

            @Override // dn.l
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final CharSequence invoke(Class cls) {
                kotlin.jvm.internal.t.d(cls);
                return yn.d.b(cls);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public b(Constructor constructor) {
            super(null);
            kotlin.jvm.internal.t.g(constructor, "constructor");
            this.f30195a = constructor;
        }

        @Override // nn.l
        public String a() {
            String p02;
            Class<?>[] parameterTypes = this.f30195a.getParameterTypes();
            kotlin.jvm.internal.t.f(parameterTypes, "getParameterTypes(...)");
            p02 = sm.p.p0(parameterTypes, "", "<init>(", ")V", 0, null, a.f30196p, 24, null);
            return p02;
        }

        public final Constructor b() {
            return this.f30195a;
        }
    }

    /* loaded from: classes3.dex */
    public static final class c extends l {

        /* renamed from: a, reason: collision with root package name */
        private final Method f30197a;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public c(Method method) {
            super(null);
            kotlin.jvm.internal.t.g(method, "method");
            this.f30197a = method;
        }

        @Override // nn.l
        public String a() {
            return n0.a(this.f30197a);
        }

        public final Method b() {
            return this.f30197a;
        }
    }

    /* loaded from: classes3.dex */
    public static final class d extends l {

        /* renamed from: a, reason: collision with root package name */
        private final d.b f30198a;

        /* renamed from: b, reason: collision with root package name */
        private final String f30199b;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public d(d.b signature) {
            super(null);
            kotlin.jvm.internal.t.g(signature, "signature");
            this.f30198a = signature;
            this.f30199b = signature.a();
        }

        @Override // nn.l
        public String a() {
            return this.f30199b;
        }

        public final String b() {
            return this.f30198a.b();
        }
    }

    /* loaded from: classes3.dex */
    public static final class e extends l {

        /* renamed from: a, reason: collision with root package name */
        private final d.b f30200a;

        /* renamed from: b, reason: collision with root package name */
        private final String f30201b;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public e(d.b signature) {
            super(null);
            kotlin.jvm.internal.t.g(signature, "signature");
            this.f30200a = signature;
            this.f30201b = signature.a();
        }

        @Override // nn.l
        public String a() {
            return this.f30201b;
        }

        public final String b() {
            return this.f30200a.b();
        }

        public final String c() {
            return this.f30200a.c();
        }
    }

    private l() {
    }

    public /* synthetic */ l(kotlin.jvm.internal.k kVar) {
        this();
    }

    public abstract String a();
}
