package kotlin.reflect.jvm.internal; import com.google.android.gms.measurement.api.AppMeasurementSdk; import com.google.firebase.analytics.FirebaseAnalytics; import com.google.firebase.messaging.Constants; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import kotlin.Lazy; import kotlin.LazyKt; import kotlin.LazyThreadSafetyMode; import kotlin.Metadata; import kotlin.NoWhenBranchMatchedException; import kotlin.collections.ArraysKt___ArraysKt; import kotlin.collections.CollectionsKt__IterablesKt; import kotlin.collections.SetsKt; import kotlin.jvm.JvmClassMappingKt; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.PropertyReference1Impl; import kotlin.jvm.internal.Reflection; import kotlin.jvm.internal.TypeIntrinsics; import kotlin.reflect.KCallable; import kotlin.reflect.KClass; import kotlin.reflect.KFunction; import kotlin.reflect.KProperty; import kotlin.reflect.KType; import kotlin.reflect.KTypeParameter; import kotlin.reflect.KVisibility; import kotlin.reflect.jvm.internal.KClassImpl; import kotlin.reflect.jvm.internal.KDeclarationContainerImpl; import kotlin.reflect.jvm.internal.ReflectProperties; import kotlin.reflect.jvm.internal.impl.builtins.CompanionObjectMapping; import kotlin.reflect.jvm.internal.impl.builtins.CompanionObjectMappingUtilsKt; import kotlin.reflect.jvm.internal.impl.builtins.KotlinBuiltIns; import kotlin.reflect.jvm.internal.impl.descriptors.ClassConstructorDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.ClassKind; import kotlin.reflect.jvm.internal.impl.descriptors.ClassifierDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.ConstructorDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.DescriptorVisibility; import kotlin.reflect.jvm.internal.impl.descriptors.FindClassInModuleKt; import kotlin.reflect.jvm.internal.impl.descriptors.FunctionDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.Modality; import kotlin.reflect.jvm.internal.impl.descriptors.ModuleDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.PropertyDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.SourceElement; import kotlin.reflect.jvm.internal.impl.descriptors.TypeParameterDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.impl.ClassDescriptorImpl; import kotlin.reflect.jvm.internal.impl.descriptors.impl.EmptyPackageFragmentDescriptor; import kotlin.reflect.jvm.internal.impl.descriptors.runtime.components.ReflectKotlinClass; import kotlin.reflect.jvm.internal.impl.descriptors.runtime.components.RuntimeModuleData; import kotlin.reflect.jvm.internal.impl.descriptors.runtime.structure.ReflectClassUtilKt; import kotlin.reflect.jvm.internal.impl.incremental.components.NoLookupLocation; import kotlin.reflect.jvm.internal.impl.load.kotlin.header.KotlinClassHeader; import kotlin.reflect.jvm.internal.impl.metadata.ProtoBuf; import kotlin.reflect.jvm.internal.impl.metadata.deserialization.ProtoBufUtilKt; import kotlin.reflect.jvm.internal.impl.metadata.jvm.JvmProtoBuf; import kotlin.reflect.jvm.internal.impl.name.ClassId; import kotlin.reflect.jvm.internal.impl.name.FqName; import kotlin.reflect.jvm.internal.impl.name.Name; import kotlin.reflect.jvm.internal.impl.protobuf.GeneratedMessageLite; import kotlin.reflect.jvm.internal.impl.resolve.DescriptorUtils; import kotlin.reflect.jvm.internal.impl.resolve.descriptorUtil.DescriptorUtilsKt; import kotlin.reflect.jvm.internal.impl.resolve.scopes.GivenFunctionsMemberScope; import kotlin.reflect.jvm.internal.impl.resolve.scopes.MemberScope; import kotlin.reflect.jvm.internal.impl.resolve.scopes.ResolutionScope; import kotlin.reflect.jvm.internal.impl.serialization.deserialization.descriptors.DeserializedClassDescriptor; import kotlin.reflect.jvm.internal.impl.storage.StorageManager; import kotlin.reflect.jvm.internal.impl.types.KotlinType; import kotlin.reflect.jvm.internal.impl.types.SimpleType; import kotlin.reflect.jvm.internal.impl.utils.CollectionsKt; import kotlin.text.StringsKt__StringsJVMKt; import kotlin.text.StringsKt__StringsKt; import kotlin.text.Typography; @Metadata(d1 = {"\u0000º\u0001\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u001b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u000e\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\b\u0000\u0018\u0000*\b\b\u0000\u0010\u0001*\u00020\u00022\u00020\u00032\b\u0012\u0004\u0012\u0002H\u00010\u00042\u00020\u00052\u00020\u0006:\u0001fB\u0013\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00028\u00000\b¢\u0006\u0002\u0010\tJ\u0018\u0010S\u001a\u00020!2\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010T\u001a\u00020UH\u0002J\u0018\u0010V\u001a\u00020!2\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010T\u001a\u00020UH\u0002J\u0013\u0010W\u001a\u00020%2\b\u0010X\u001a\u0004\u0018\u00010\u0002H\u0096\u0002J\u0016\u0010Y\u001a\b\u0012\u0004\u0012\u00020Z0\u00142\u0006\u0010[\u001a\u00020\\H\u0016J\u0012\u0010]\u001a\u0004\u0018\u00010^2\u0006\u0010_\u001a\u00020`H\u0016J\u0016\u0010a\u001a\b\u0012\u0004\u0012\u00020^0\u00142\u0006\u0010[\u001a\u00020\\H\u0016J\b\u0010b\u001a\u00020`H\u0016J\u0012\u0010c\u001a\u00020%2\b\u0010d\u001a\u0004\u0018\u00010\u0002H\u0016J\b\u0010e\u001a\u00020@H\u0016R\u001a\u0010\n\u001a\b\u0012\u0004\u0012\u00020\f0\u000b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u000f\u001a\u00020\u00108BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0011\u0010\u0012R\u001a\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00150\u00148VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017R \u0010\u0018\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\u00190\u00148VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u001a\u0010\u0017R!\u0010\u001b\u001a\u0012\u0012\u000e\u0012\f0\u001dR\b\u0012\u0004\u0012\u00028\u00000\u00000\u001c¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u001fR\u0014\u0010 \u001a\u00020!8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\"\u0010#R\u0014\u0010$\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b$\u0010&R\u0014\u0010'\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b'\u0010&R\u0014\u0010(\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b(\u0010&R\u0014\u0010)\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b)\u0010&R\u0014\u0010*\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b*\u0010&R\u0014\u0010+\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b+\u0010&R\u0014\u0010,\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b,\u0010&R\u0014\u0010-\u001a\u00020%8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b-\u0010&R\u001a\u0010.\u001a\u00020%8VX\u0096\u0004¢\u0006\f\u0012\u0004\b/\u00100\u001a\u0004\b.\u0010&R\u001a\u0010\u0007\u001a\b\u0012\u0004\u0012\u00028\u00000\bX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b1\u00102R\u0014\u00103\u001a\u0002048@X\u0080\u0004¢\u0006\u0006\u001a\u0004\b5\u00106R\u001e\u00107\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u0003080\u00148VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b9\u0010\u0017R\u001e\u0010:\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00040\u00148VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b;\u0010\u0017R\u0016\u0010<\u001a\u0004\u0018\u00018\u00008VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b=\u0010>R\u0016\u0010?\u001a\u0004\u0018\u00010@8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bA\u0010BR\"\u0010C\u001a\u0010\u0012\f\u0012\n\u0012\u0006\b\u0001\u0012\u00028\u00000\u00040\u000b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bD\u0010\u000eR\u0016\u0010E\u001a\u0004\u0018\u00010@8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bF\u0010BR\u0014\u0010G\u001a\u0002048@X\u0080\u0004¢\u0006\u0006\u001a\u0004\bH\u00106R\u001a\u0010I\u001a\b\u0012\u0004\u0012\u00020J0\u000b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bK\u0010\u000eR\u001a\u0010L\u001a\b\u0012\u0004\u0012\u00020M0\u000b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bN\u0010\u000eR\u0016\u0010O\u001a\u0004\u0018\u00010P8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bQ\u0010R¨\u0006g"}, d2 = {"Lkotlin/reflect/jvm/internal/KClassImpl;", "T", "", "Lkotlin/reflect/jvm/internal/KDeclarationContainerImpl;", "Lkotlin/reflect/KClass;", "Lkotlin/reflect/jvm/internal/KClassifierImpl;", "Lkotlin/reflect/jvm/internal/KTypeParameterOwnerImpl;", "jClass", "Ljava/lang/Class;", "(Ljava/lang/Class;)V", "annotations", "", "", "getAnnotations", "()Ljava/util/List;", "classId", "Lkotlin/reflect/jvm/internal/impl/name/ClassId;", "getClassId", "()Lorg/jetbrains/kotlin/name/ClassId;", "constructorDescriptors", "", "Lkotlin/reflect/jvm/internal/impl/descriptors/ConstructorDescriptor;", "getConstructorDescriptors", "()Ljava/util/Collection;", "constructors", "Lkotlin/reflect/KFunction;", "getConstructors", Constants.ScionAnalytics.MessageType.DATA_MESSAGE, "Lkotlin/Lazy;", "Lkotlin/reflect/jvm/internal/KClassImpl$Data;", "getData", "()Lkotlin/Lazy;", "descriptor", "Lkotlin/reflect/jvm/internal/impl/descriptors/ClassDescriptor;", "getDescriptor", "()Lorg/jetbrains/kotlin/descriptors/ClassDescriptor;", "isAbstract", "", "()Z", "isCompanion", "isData", "isFinal", "isFun", "isInner", "isOpen", "isSealed", "isValue", "isValue$annotations", "()V", "getJClass", "()Ljava/lang/Class;", "memberScope", "Lkotlin/reflect/jvm/internal/impl/resolve/scopes/MemberScope;", "getMemberScope$kotlin_reflection", "()Lorg/jetbrains/kotlin/resolve/scopes/MemberScope;", "members", "Lkotlin/reflect/KCallable;", "getMembers", "nestedClasses", "getNestedClasses", "objectInstance", "getObjectInstance", "()Ljava/lang/Object;", "qualifiedName", "", "getQualifiedName", "()Ljava/lang/String;", "sealedSubclasses", "getSealedSubclasses", "simpleName", "getSimpleName", "staticScope", "getStaticScope$kotlin_reflection", "supertypes", "Lkotlin/reflect/KType;", "getSupertypes", "typeParameters", "Lkotlin/reflect/KTypeParameter;", "getTypeParameters", "visibility", "Lkotlin/reflect/KVisibility;", "getVisibility", "()Lkotlin/reflect/KVisibility;", "createSyntheticClass", "moduleData", "Lkotlin/reflect/jvm/internal/impl/descriptors/runtime/components/RuntimeModuleData;", "createSyntheticClassOrFail", "equals", "other", "getFunctions", "Lkotlin/reflect/jvm/internal/impl/descriptors/FunctionDescriptor;", AppMeasurementSdk.ConditionalUserProperty.NAME, "Lkotlin/reflect/jvm/internal/impl/name/Name;", "getLocalProperty", "Lkotlin/reflect/jvm/internal/impl/descriptors/PropertyDescriptor;", FirebaseAnalytics.Param.INDEX, "", "getProperties", "hashCode", "isInstance", "value", "toString", "Data", "kotlin-reflection"}, k = 1, mv = {1, 9, 0}, xi = 48) /* loaded from: classes3.dex */ public final class KClassImpl extends KDeclarationContainerImpl implements KClass, KClassifierImpl, KTypeParameterOwnerImpl { private final Lazy.Data> data; private final Class jClass; @Metadata(d1 = {"\u0000^\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010 \n\u0002\u0010\u001b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000e\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\b\u0086\u0004\u0018\u00002\u00060\u0001R\u00020\u0002B\u0005¢\u0006\u0002\u0010\u0003J\u0014\u0010N\u001a\u00020<2\n\u0010O\u001a\u0006\u0012\u0002\b\u00030PH\u0002R%\u0010\u0004\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\t\u0010\n\u001a\u0004\b\u0007\u0010\bR%\u0010\u000b\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\r\u0010\n\u001a\u0004\b\f\u0010\bR%\u0010\u000e\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u0010\u0010\n\u001a\u0004\b\u000f\u0010\bR!\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\u00130\u00128FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u0016\u0010\n\u001a\u0004\b\u0014\u0010\u0015R-\u0010\u0017\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00028\u00000\u00180\u00058FX\u0086\u0084\u0002¢\u0006\u0012\n\u0004\b\u001c\u0010\n\u0012\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\bR%\u0010\u001d\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\u001f\u0010\n\u001a\u0004\b\u001e\u0010\bR%\u0010 \u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b\"\u0010\n\u001a\u0004\b!\u0010\bR%\u0010#\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b%\u0010\n\u001a\u0004\b$\u0010\bR\u001b\u0010&\u001a\u00020'8FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b*\u0010\n\u001a\u0004\b(\u0010)R%\u0010+\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b-\u0010\n\u001a\u0004\b,\u0010\bR%\u0010.\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00060\u00058BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b0\u0010\n\u001a\u0004\b/\u0010\bR%\u00101\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u0003020\u00058FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b4\u0010\n\u001a\u0004\b3\u0010\bR#\u00105\u001a\u0004\u0018\u00018\u00008FX\u0086\u0084\u0002¢\u0006\u0012\n\u0004\b9\u0010:\u0012\u0004\b6\u0010\u001a\u001a\u0004\b7\u00108R\u001d\u0010;\u001a\u0004\u0018\u00010<8FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b?\u0010\n\u001a\u0004\b=\u0010>R)\u0010@\u001a\u0010\u0012\f\u0012\n\u0012\u0006\b\u0001\u0012\u00028\u0000020\u00128FX\u0086\u0084\u0002¢\u0006\f\n\u0004\bB\u0010\n\u001a\u0004\bA\u0010\u0015R\u001d\u0010C\u001a\u0004\u0018\u00010<8FX\u0086\u0084\u0002¢\u0006\f\n\u0004\bE\u0010\n\u001a\u0004\bD\u0010>R!\u0010F\u001a\b\u0012\u0004\u0012\u00020G0\u00128FX\u0086\u0084\u0002¢\u0006\f\n\u0004\bI\u0010\n\u001a\u0004\bH\u0010\u0015R!\u0010J\u001a\b\u0012\u0004\u0012\u00020K0\u00128FX\u0086\u0084\u0002¢\u0006\f\n\u0004\bM\u0010\n\u001a\u0004\bL\u0010\u0015¨\u0006Q"}, d2 = {"Lkotlin/reflect/jvm/internal/KClassImpl$Data;", "Lkotlin/reflect/jvm/internal/KDeclarationContainerImpl$Data;", "Lkotlin/reflect/jvm/internal/KDeclarationContainerImpl;", "(Lkotlin/reflect/jvm/internal/KClassImpl;)V", "allMembers", "", "Lkotlin/reflect/jvm/internal/KCallableImpl;", "getAllMembers", "()Ljava/util/Collection;", "allMembers$delegate", "Lkotlin/reflect/jvm/internal/ReflectProperties$LazySoftVal;", "allNonStaticMembers", "getAllNonStaticMembers", "allNonStaticMembers$delegate", "allStaticMembers", "getAllStaticMembers", "allStaticMembers$delegate", "annotations", "", "", "getAnnotations", "()Ljava/util/List;", "annotations$delegate", "constructors", "Lkotlin/reflect/KFunction;", "getConstructors$annotations", "()V", "getConstructors", "constructors$delegate", "declaredMembers", "getDeclaredMembers", "declaredMembers$delegate", "declaredNonStaticMembers", "getDeclaredNonStaticMembers", "declaredNonStaticMembers$delegate", "declaredStaticMembers", "getDeclaredStaticMembers", "declaredStaticMembers$delegate", "descriptor", "Lkotlin/reflect/jvm/internal/impl/descriptors/ClassDescriptor;", "getDescriptor", "()Lorg/jetbrains/kotlin/descriptors/ClassDescriptor;", "descriptor$delegate", "inheritedNonStaticMembers", "getInheritedNonStaticMembers", "inheritedNonStaticMembers$delegate", "inheritedStaticMembers", "getInheritedStaticMembers", "inheritedStaticMembers$delegate", "nestedClasses", "Lkotlin/reflect/KClass;", "getNestedClasses", "nestedClasses$delegate", "objectInstance", "getObjectInstance$annotations", "getObjectInstance", "()Ljava/lang/Object;", "objectInstance$delegate", "Lkotlin/Lazy;", "qualifiedName", "", "getQualifiedName", "()Ljava/lang/String;", "qualifiedName$delegate", "sealedSubclasses", "getSealedSubclasses", "sealedSubclasses$delegate", "simpleName", "getSimpleName", "simpleName$delegate", "supertypes", "Lkotlin/reflect/KType;", "getSupertypes", "supertypes$delegate", "typeParameters", "Lkotlin/reflect/KTypeParameter;", "getTypeParameters", "typeParameters$delegate", "calculateLocalClassName", "jClass", "Ljava/lang/Class;", "kotlin-reflection"}, k = 1, mv = {1, 9, 0}, xi = 48) /* loaded from: classes3.dex */ public final class Data extends KDeclarationContainerImpl.Data { static final /* synthetic */ KProperty[] $$delegatedProperties = {Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "descriptor", "getDescriptor()Lorg/jetbrains/kotlin/descriptors/ClassDescriptor;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "annotations", "getAnnotations()Ljava/util/List;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "simpleName", "getSimpleName()Ljava/lang/String;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "qualifiedName", "getQualifiedName()Ljava/lang/String;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "constructors", "getConstructors()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "nestedClasses", "getNestedClasses()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "typeParameters", "getTypeParameters()Ljava/util/List;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "supertypes", "getSupertypes()Ljava/util/List;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "sealedSubclasses", "getSealedSubclasses()Ljava/util/List;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "declaredNonStaticMembers", "getDeclaredNonStaticMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "declaredStaticMembers", "getDeclaredStaticMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "inheritedNonStaticMembers", "getInheritedNonStaticMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "inheritedStaticMembers", "getInheritedStaticMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "allNonStaticMembers", "getAllNonStaticMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "allStaticMembers", "getAllStaticMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "declaredMembers", "getDeclaredMembers()Ljava/util/Collection;")), Reflection.property1(new PropertyReference1Impl(Reflection.getOrCreateKotlinClass(Data.class), "allMembers", "getAllMembers()Ljava/util/Collection;"))}; /* renamed from: allMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal allMembers; /* renamed from: allNonStaticMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal allNonStaticMembers; /* renamed from: allStaticMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal allStaticMembers; /* renamed from: annotations$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal annotations; /* renamed from: constructors$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal constructors; /* renamed from: declaredMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal declaredMembers; /* renamed from: declaredNonStaticMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal declaredNonStaticMembers; /* renamed from: declaredStaticMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal declaredStaticMembers; /* renamed from: descriptor$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal descriptor; /* renamed from: inheritedNonStaticMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal inheritedNonStaticMembers; /* renamed from: inheritedStaticMembers$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal inheritedStaticMembers; /* renamed from: nestedClasses$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal nestedClasses; /* renamed from: objectInstance$delegate, reason: from kotlin metadata */ private final Lazy objectInstance; /* renamed from: qualifiedName$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal qualifiedName; /* renamed from: sealedSubclasses$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal sealedSubclasses; /* renamed from: simpleName$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal simpleName; /* renamed from: supertypes$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal supertypes; /* renamed from: typeParameters$delegate, reason: from kotlin metadata */ private final ReflectProperties.LazySoftVal typeParameters; public Data() { super(); this.descriptor = ReflectProperties.lazySoft(new Function0() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final ClassDescriptor invoke() { ClassId classId; ClassDescriptor findClassAcrossModuleDependencies; ClassDescriptor createSyntheticClassOrFail; classId = r1.getClassId(); RuntimeModuleData moduleData = ((KClassImpl.Data) r1.getData().getValue()).getModuleData(); ModuleDescriptor module = moduleData.getModule(); if (classId.isLocal() && r1.getJClass().isAnnotationPresent(Metadata.class)) { findClassAcrossModuleDependencies = moduleData.getDeserialization().deserializeClass(classId); } else { findClassAcrossModuleDependencies = FindClassInModuleKt.findClassAcrossModuleDependencies(module, classId); } if (findClassAcrossModuleDependencies != null) { return findClassAcrossModuleDependencies; } createSyntheticClassOrFail = r1.createSyntheticClassOrFail(classId, moduleData); return createSyntheticClassOrFail; } }); this.annotations = ReflectProperties.lazySoft(new Function0>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$annotations$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List invoke() { return UtilKt.computeAnnotations(this.this$0.getDescriptor()); } }); this.simpleName = ReflectProperties.lazySoft(new Function0() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$simpleName$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final String invoke() { ClassId classId; String calculateLocalClassName; if (r1.getJClass().isAnonymousClass()) { return null; } classId = r1.getClassId(); if (classId.isLocal()) { calculateLocalClassName = this.calculateLocalClassName(r1.getJClass()); return calculateLocalClassName; } String asString = classId.getShortClassName().asString(); Intrinsics.checkNotNullExpressionValue(asString, "asString(...)"); return asString; } }); this.qualifiedName = ReflectProperties.lazySoft(new Function0() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$qualifiedName$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final String invoke() { ClassId classId; if (r1.getJClass().isAnonymousClass()) { return null; } classId = r1.getClassId(); if (classId.isLocal()) { return null; } return classId.asSingleFqName().asString(); } }); this.constructors = ReflectProperties.lazySoft(new Function0>>() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$constructors$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { int collectionSizeOrDefault; Collection constructorDescriptors = r1.getConstructorDescriptors(); KClassImpl kClassImpl = r1; collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(constructorDescriptors, 10); ArrayList arrayList = new ArrayList(collectionSizeOrDefault); Iterator it = constructorDescriptors.iterator(); while (it.hasNext()) { arrayList.add(new KFunctionImpl(kClassImpl, (ConstructorDescriptor) it.next())); } return arrayList; } }); this.nestedClasses = ReflectProperties.lazySoft(new Function0>>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$nestedClasses$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { MemberScope unsubstitutedInnerClassesScope = this.this$0.getDescriptor().getUnsubstitutedInnerClassesScope(); Intrinsics.checkNotNullExpressionValue(unsubstitutedInnerClassesScope, "getUnsubstitutedInnerClassesScope(...)"); Collection contributedDescriptors$default = ResolutionScope.DefaultImpls.getContributedDescriptors$default(unsubstitutedInnerClassesScope, null, null, 3, null); ArrayList arrayList = new ArrayList(); for (Object obj : contributedDescriptors$default) { if (!DescriptorUtils.isEnumEntry((DeclarationDescriptor) obj)) { arrayList.add(obj); } } ArrayList arrayList2 = new ArrayList(); for (DeclarationDescriptor declarationDescriptor : arrayList) { ClassDescriptor classDescriptor = declarationDescriptor instanceof ClassDescriptor ? (ClassDescriptor) declarationDescriptor : null; Class javaClass = classDescriptor != null ? UtilKt.toJavaClass(classDescriptor) : null; KClassImpl kClassImpl = javaClass != null ? new KClassImpl(javaClass) : null; if (kClassImpl != null) { arrayList2.add(kClassImpl); } } return arrayList2; } }); this.objectInstance = LazyKt.lazy(LazyThreadSafetyMode.PUBLICATION, (Function0) new Function0(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$objectInstance$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final T invoke() { ClassDescriptor descriptor = this.this$0.getDescriptor(); if (descriptor.getKind() != ClassKind.OBJECT) { return null; } T t2 = (T) ((!descriptor.isCompanionObject() || CompanionObjectMappingUtilsKt.isMappedIntrinsicCompanionObject(CompanionObjectMapping.INSTANCE, descriptor)) ? r2.getJClass().getDeclaredField("INSTANCE") : r2.getJClass().getEnclosingClass().getDeclaredField(descriptor.getName().asString())).get(null); Intrinsics.checkNotNull(t2, "null cannot be cast to non-null type T of kotlin.reflect.jvm.internal.KClassImpl"); return t2; } }); this.typeParameters = ReflectProperties.lazySoft(new Function0>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$typeParameters$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List invoke() { int collectionSizeOrDefault; List declaredTypeParameters = this.this$0.getDescriptor().getDeclaredTypeParameters(); Intrinsics.checkNotNullExpressionValue(declaredTypeParameters, "getDeclaredTypeParameters(...)"); List list = declaredTypeParameters; KTypeParameterOwnerImpl kTypeParameterOwnerImpl = r2; collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(list, 10); ArrayList arrayList = new ArrayList(collectionSizeOrDefault); for (TypeParameterDescriptor typeParameterDescriptor : list) { Intrinsics.checkNotNull(typeParameterDescriptor); arrayList.add(new KTypeParameterImpl(kTypeParameterOwnerImpl, typeParameterDescriptor)); } return arrayList; } }); this.supertypes = ReflectProperties.lazySoft(new Function0>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$supertypes$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List invoke() { Collection mo1395getSupertypes = this.this$0.getDescriptor().getTypeConstructor().mo1395getSupertypes(); Intrinsics.checkNotNullExpressionValue(mo1395getSupertypes, "getSupertypes(...)"); ArrayList arrayList = new ArrayList(mo1395getSupertypes.size()); final KClassImpl.Data data = this.this$0; final KClassImpl kClassImpl = r2; for (final KotlinType kotlinType : mo1395getSupertypes) { Intrinsics.checkNotNull(kotlinType); arrayList.add(new KTypeImpl(kotlinType, new Function0() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$supertypes$2$1$1 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final Type invoke() { int indexOf; ClassifierDescriptor mo1394getDeclarationDescriptor = KotlinType.this.getConstructor().mo1394getDeclarationDescriptor(); if (mo1394getDeclarationDescriptor instanceof ClassDescriptor) { Class javaClass = UtilKt.toJavaClass((ClassDescriptor) mo1394getDeclarationDescriptor); if (javaClass != null) { if (Intrinsics.areEqual(kClassImpl.getJClass().getSuperclass(), javaClass)) { Type genericSuperclass = kClassImpl.getJClass().getGenericSuperclass(); Intrinsics.checkNotNull(genericSuperclass); return genericSuperclass; } Class[] interfaces = kClassImpl.getJClass().getInterfaces(); Intrinsics.checkNotNullExpressionValue(interfaces, "getInterfaces(...)"); indexOf = ArraysKt___ArraysKt.indexOf((Class[]) ((Class[]) interfaces), javaClass); if (indexOf >= 0) { Type type = kClassImpl.getJClass().getGenericInterfaces()[indexOf]; Intrinsics.checkNotNull(type); return type; } throw new KotlinReflectionInternalError("No superclass of " + data + " in Java reflection for " + mo1394getDeclarationDescriptor); } throw new KotlinReflectionInternalError("Unsupported superclass of " + data + ": " + mo1394getDeclarationDescriptor); } throw new KotlinReflectionInternalError("Supertype not a class: " + mo1394getDeclarationDescriptor); } })); } if (!KotlinBuiltIns.isSpecialClassWithNoSupertypes(this.this$0.getDescriptor())) { if (!arrayList.isEmpty()) { Iterator it = arrayList.iterator(); while (it.hasNext()) { ClassKind kind = DescriptorUtils.getClassDescriptorForType(((KTypeImpl) it.next()).getType()).getKind(); Intrinsics.checkNotNullExpressionValue(kind, "getKind(...)"); if (kind != ClassKind.INTERFACE && kind != ClassKind.ANNOTATION_CLASS) { break; } } } SimpleType anyType = DescriptorUtilsKt.getBuiltIns(this.this$0.getDescriptor()).getAnyType(); Intrinsics.checkNotNullExpressionValue(anyType, "getAnyType(...)"); arrayList.add(new KTypeImpl(anyType, new Function0() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$supertypes$2.3 @Override // kotlin.jvm.functions.Function0 public final Type invoke() { return Object.class; } })); } return CollectionsKt.compact(arrayList); } }); this.sealedSubclasses = ReflectProperties.lazySoft(new Function0>>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$sealedSubclasses$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { Collection sealedSubclasses = this.this$0.getDescriptor().getSealedSubclasses(); Intrinsics.checkNotNullExpressionValue(sealedSubclasses, "getSealedSubclasses(...)"); ArrayList arrayList = new ArrayList(); for (ClassDescriptor classDescriptor : sealedSubclasses) { Intrinsics.checkNotNull(classDescriptor, "null cannot be cast to non-null type org.jetbrains.kotlin.descriptors.ClassDescriptor"); Class javaClass = UtilKt.toJavaClass(classDescriptor); KClassImpl kClassImpl = javaClass != null ? new KClassImpl(javaClass) : null; if (kClassImpl != null) { arrayList.add(kClassImpl); } } return arrayList; } }); this.declaredNonStaticMembers = ReflectProperties.lazySoft(new Function0>>() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$declaredNonStaticMembers$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final Collection> invoke() { KClassImpl kClassImpl = r1; return kClassImpl.getMembers(kClassImpl.getMemberScope$kotlin_reflection(), KDeclarationContainerImpl.MemberBelonginess.DECLARED); } }); this.declaredStaticMembers = ReflectProperties.lazySoft(new Function0>>() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$declaredStaticMembers$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final Collection> invoke() { KClassImpl kClassImpl = r1; return kClassImpl.getMembers(kClassImpl.getStaticScope$kotlin_reflection(), KDeclarationContainerImpl.MemberBelonginess.DECLARED); } }); this.inheritedNonStaticMembers = ReflectProperties.lazySoft(new Function0>>() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$inheritedNonStaticMembers$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final Collection> invoke() { KClassImpl kClassImpl = r1; return kClassImpl.getMembers(kClassImpl.getMemberScope$kotlin_reflection(), KDeclarationContainerImpl.MemberBelonginess.INHERITED); } }); this.inheritedStaticMembers = ReflectProperties.lazySoft(new Function0>>() { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$inheritedStaticMembers$2 /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); } @Override // kotlin.jvm.functions.Function0 public final Collection> invoke() { KClassImpl kClassImpl = r1; return kClassImpl.getMembers(kClassImpl.getStaticScope$kotlin_reflection(), KDeclarationContainerImpl.MemberBelonginess.INHERITED); } }); this.allNonStaticMembers = ReflectProperties.lazySoft(new Function0>>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$allNonStaticMembers$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { Collection inheritedNonStaticMembers; Collection> declaredNonStaticMembers = this.this$0.getDeclaredNonStaticMembers(); inheritedNonStaticMembers = this.this$0.getInheritedNonStaticMembers(); return kotlin.collections.CollectionsKt.plus((Collection) declaredNonStaticMembers, (Iterable) inheritedNonStaticMembers); } }); this.allStaticMembers = ReflectProperties.lazySoft(new Function0>>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$allStaticMembers$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { Collection declaredStaticMembers; Collection inheritedStaticMembers; declaredStaticMembers = this.this$0.getDeclaredStaticMembers(); inheritedStaticMembers = this.this$0.getInheritedStaticMembers(); return kotlin.collections.CollectionsKt.plus(declaredStaticMembers, (Iterable) inheritedStaticMembers); } }); this.declaredMembers = ReflectProperties.lazySoft(new Function0>>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$declaredMembers$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { Collection declaredStaticMembers; Collection> declaredNonStaticMembers = this.this$0.getDeclaredNonStaticMembers(); declaredStaticMembers = this.this$0.getDeclaredStaticMembers(); return kotlin.collections.CollectionsKt.plus((Collection) declaredNonStaticMembers, (Iterable) declaredStaticMembers); } }); this.allMembers = ReflectProperties.lazySoft(new Function0>>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$Data$allMembers$2 final /* synthetic */ KClassImpl.Data this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final List> invoke() { return kotlin.collections.CollectionsKt.plus((Collection) this.this$0.getAllNonStaticMembers(), (Iterable) this.this$0.getAllStaticMembers()); } }); } /* JADX INFO: Access modifiers changed from: private */ public final String calculateLocalClassName(Class jClass) { String substringAfter$default; String substringAfter$default2; String substringAfter$default3; String simpleName = jClass.getSimpleName(); Method enclosingMethod = jClass.getEnclosingMethod(); if (enclosingMethod != null) { Intrinsics.checkNotNull(simpleName); substringAfter$default3 = StringsKt__StringsKt.substringAfter$default(simpleName, enclosingMethod.getName() + Typography.dollar, (String) null, 2, (Object) null); return substringAfter$default3; } Constructor enclosingConstructor = jClass.getEnclosingConstructor(); if (enclosingConstructor == null) { Intrinsics.checkNotNull(simpleName); substringAfter$default = StringsKt__StringsKt.substringAfter$default(simpleName, Typography.dollar, (String) null, 2, (Object) null); return substringAfter$default; } Intrinsics.checkNotNull(simpleName); substringAfter$default2 = StringsKt__StringsKt.substringAfter$default(simpleName, enclosingConstructor.getName() + Typography.dollar, (String) null, 2, (Object) null); return substringAfter$default2; } /* JADX INFO: Access modifiers changed from: private */ public final Collection> getDeclaredStaticMembers() { T value = this.declaredStaticMembers.getValue(this, $$delegatedProperties[10]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } /* JADX INFO: Access modifiers changed from: private */ public final Collection> getInheritedNonStaticMembers() { T value = this.inheritedNonStaticMembers.getValue(this, $$delegatedProperties[11]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } /* JADX INFO: Access modifiers changed from: private */ public final Collection> getInheritedStaticMembers() { T value = this.inheritedStaticMembers.getValue(this, $$delegatedProperties[12]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final Collection> getAllMembers() { T value = this.allMembers.getValue(this, $$delegatedProperties[16]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final Collection> getAllNonStaticMembers() { T value = this.allNonStaticMembers.getValue(this, $$delegatedProperties[13]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final Collection> getAllStaticMembers() { T value = this.allStaticMembers.getValue(this, $$delegatedProperties[14]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final List getAnnotations() { T value = this.annotations.getValue(this, $$delegatedProperties[1]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (List) value; } public final Collection> getConstructors() { T value = this.constructors.getValue(this, $$delegatedProperties[4]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final Collection> getDeclaredMembers() { T value = this.declaredMembers.getValue(this, $$delegatedProperties[15]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final Collection> getDeclaredNonStaticMembers() { T value = this.declaredNonStaticMembers.getValue(this, $$delegatedProperties[9]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final ClassDescriptor getDescriptor() { T value = this.descriptor.getValue(this, $$delegatedProperties[0]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (ClassDescriptor) value; } public final Collection> getNestedClasses() { T value = this.nestedClasses.getValue(this, $$delegatedProperties[5]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (Collection) value; } public final T getObjectInstance() { return (T) this.objectInstance.getValue(); } public final String getQualifiedName() { return (String) this.qualifiedName.getValue(this, $$delegatedProperties[3]); } public final List> getSealedSubclasses() { T value = this.sealedSubclasses.getValue(this, $$delegatedProperties[8]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (List) value; } public final String getSimpleName() { return (String) this.simpleName.getValue(this, $$delegatedProperties[2]); } public final List getSupertypes() { T value = this.supertypes.getValue(this, $$delegatedProperties[7]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (List) value; } public final List getTypeParameters() { T value = this.typeParameters.getValue(this, $$delegatedProperties[6]); Intrinsics.checkNotNullExpressionValue(value, "getValue(...)"); return (List) value; } } @Metadata(k = 3, mv = {1, 9, 0}, xi = 48) /* loaded from: classes3.dex */ public /* synthetic */ class WhenMappings { public static final /* synthetic */ int[] $EnumSwitchMapping$0; static { int[] iArr = new int[KotlinClassHeader.Kind.values().length]; try { iArr[KotlinClassHeader.Kind.FILE_FACADE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[KotlinClassHeader.Kind.MULTIFILE_CLASS.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { iArr[KotlinClassHeader.Kind.MULTIFILE_CLASS_PART.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { iArr[KotlinClassHeader.Kind.SYNTHETIC_CLASS.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { iArr[KotlinClassHeader.Kind.UNKNOWN.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { iArr[KotlinClassHeader.Kind.CLASS.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } $EnumSwitchMapping$0 = iArr; } } public KClassImpl(Class jClass) { Intrinsics.checkNotNullParameter(jClass, "jClass"); this.jClass = jClass; this.data = LazyKt.lazy(LazyThreadSafetyMode.PUBLICATION, (Function0) new Function0.Data>(this) { // from class: kotlin.reflect.jvm.internal.KClassImpl$data$1 final /* synthetic */ KClassImpl this$0; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ { super(0); this.this$0 = this; } @Override // kotlin.jvm.functions.Function0 public final KClassImpl.Data invoke() { return new KClassImpl.Data(); } }); } private final ClassDescriptor createSyntheticClass(ClassId classId, RuntimeModuleData moduleData) { ModuleDescriptor module = moduleData.getModule(); FqName packageFqName = classId.getPackageFqName(); Intrinsics.checkNotNullExpressionValue(packageFqName, "getPackageFqName(...)"); final ClassDescriptorImpl classDescriptorImpl = new ClassDescriptorImpl(new EmptyPackageFragmentDescriptor(module, packageFqName), classId.getShortClassName(), Modality.FINAL, ClassKind.CLASS, kotlin.collections.CollectionsKt.listOf(moduleData.getModule().getBuiltIns().getAny().getDefaultType()), SourceElement.NO_SOURCE, false, moduleData.getDeserialization().getStorageManager()); final StorageManager storageManager = moduleData.getDeserialization().getStorageManager(); classDescriptorImpl.initialize(new GivenFunctionsMemberScope(classDescriptorImpl, storageManager) { // from class: kotlin.reflect.jvm.internal.KClassImpl$createSyntheticClass$1$1 @Override // kotlin.reflect.jvm.internal.impl.resolve.scopes.GivenFunctionsMemberScope public List computeDeclaredFunctions() { return kotlin.collections.CollectionsKt.emptyList(); } }, SetsKt.emptySet(), null); return classDescriptorImpl; } /* JADX INFO: Access modifiers changed from: private */ public final ClassDescriptor createSyntheticClassOrFail(ClassId classId, RuntimeModuleData moduleData) { KotlinClassHeader classHeader; if (getJClass().isSynthetic()) { return createSyntheticClass(classId, moduleData); } ReflectKotlinClass create = ReflectKotlinClass.Factory.create(getJClass()); KotlinClassHeader.Kind kind = (create == null || (classHeader = create.getClassHeader()) == null) ? null : classHeader.getKind(); switch (kind == null ? -1 : WhenMappings.$EnumSwitchMapping$0[kind.ordinal()]) { case -1: case 6: throw new KotlinReflectionInternalError("Unresolved class: " + getJClass() + " (kind = " + kind + ')'); case 0: default: throw new NoWhenBranchMatchedException(); case 1: case 2: case 3: case 4: return createSyntheticClass(classId, moduleData); case 5: throw new KotlinReflectionInternalError("Unknown class: " + getJClass() + " (kind = " + kind + ')'); } } /* JADX INFO: Access modifiers changed from: private */ public final ClassId getClassId() { return RuntimeTypeMapper.INSTANCE.mapJvmClassToKotlinClassId(getJClass()); } @Override // kotlin.reflect.KClass public boolean equals(Object other) { return (other instanceof KClassImpl) && Intrinsics.areEqual(JvmClassMappingKt.getJavaObjectType(this), JvmClassMappingKt.getJavaObjectType((KClass) other)); } @Override // kotlin.reflect.KAnnotatedElement public List getAnnotations() { return this.data.getValue().getAnnotations(); } @Override // kotlin.reflect.jvm.internal.KDeclarationContainerImpl public Collection getConstructorDescriptors() { ClassDescriptor descriptor = getDescriptor(); if (descriptor.getKind() == ClassKind.INTERFACE || descriptor.getKind() == ClassKind.OBJECT) { return kotlin.collections.CollectionsKt.emptyList(); } Collection constructors = descriptor.getConstructors(); Intrinsics.checkNotNullExpressionValue(constructors, "getConstructors(...)"); return constructors; } @Override // kotlin.reflect.KClass public Collection> getConstructors() { return this.data.getValue().getConstructors(); } public final Lazy.Data> getData() { return this.data; } @Override // kotlin.reflect.jvm.internal.KDeclarationContainerImpl public Collection getFunctions(Name name) { Intrinsics.checkNotNullParameter(name, "name"); MemberScope memberScope$kotlin_reflection = getMemberScope$kotlin_reflection(); NoLookupLocation noLookupLocation = NoLookupLocation.FROM_REFLECTION; return kotlin.collections.CollectionsKt.plus((Collection) memberScope$kotlin_reflection.getContributedFunctions(name, noLookupLocation), (Iterable) getStaticScope$kotlin_reflection().getContributedFunctions(name, noLookupLocation)); } @Override // kotlin.jvm.internal.ClassBasedDeclarationContainer public Class getJClass() { return this.jClass; } @Override // kotlin.reflect.jvm.internal.KDeclarationContainerImpl public PropertyDescriptor getLocalProperty(int index) { Class declaringClass; if (Intrinsics.areEqual(getJClass().getSimpleName(), "DefaultImpls") && (declaringClass = getJClass().getDeclaringClass()) != null && declaringClass.isInterface()) { KClass kotlinClass = JvmClassMappingKt.getKotlinClass(declaringClass); Intrinsics.checkNotNull(kotlinClass, "null cannot be cast to non-null type kotlin.reflect.jvm.internal.KClassImpl<*>"); return ((KClassImpl) kotlinClass).getLocalProperty(index); } ClassDescriptor descriptor = getDescriptor(); DeserializedClassDescriptor deserializedClassDescriptor = descriptor instanceof DeserializedClassDescriptor ? (DeserializedClassDescriptor) descriptor : null; if (deserializedClassDescriptor != null) { ProtoBuf.Class classProto = deserializedClassDescriptor.getClassProto(); GeneratedMessageLite.GeneratedExtension> classLocalVariable = JvmProtoBuf.classLocalVariable; Intrinsics.checkNotNullExpressionValue(classLocalVariable, "classLocalVariable"); ProtoBuf.Property property = (ProtoBuf.Property) ProtoBufUtilKt.getExtensionOrNull(classProto, classLocalVariable, index); if (property != null) { return (PropertyDescriptor) UtilKt.deserializeToDescriptor(getJClass(), property, deserializedClassDescriptor.getC().getNameResolver(), deserializedClassDescriptor.getC().getTypeTable(), deserializedClassDescriptor.getMetadataVersion(), KClassImpl$getLocalProperty$2$1$1.INSTANCE); } } return null; } public final MemberScope getMemberScope$kotlin_reflection() { return getDescriptor().getDefaultType().getMemberScope(); } @Override // kotlin.reflect.KDeclarationContainer public Collection> getMembers() { return this.data.getValue().getAllMembers(); } @Override // kotlin.reflect.KClass public Collection> getNestedClasses() { return this.data.getValue().getNestedClasses(); } @Override // kotlin.reflect.KClass public T getObjectInstance() { return this.data.getValue().getObjectInstance(); } @Override // kotlin.reflect.jvm.internal.KDeclarationContainerImpl public Collection getProperties(Name name) { Intrinsics.checkNotNullParameter(name, "name"); MemberScope memberScope$kotlin_reflection = getMemberScope$kotlin_reflection(); NoLookupLocation noLookupLocation = NoLookupLocation.FROM_REFLECTION; return kotlin.collections.CollectionsKt.plus((Collection) memberScope$kotlin_reflection.getContributedVariables(name, noLookupLocation), (Iterable) getStaticScope$kotlin_reflection().getContributedVariables(name, noLookupLocation)); } @Override // kotlin.reflect.KClass public String getQualifiedName() { return this.data.getValue().getQualifiedName(); } @Override // kotlin.reflect.KClass public List> getSealedSubclasses() { return this.data.getValue().getSealedSubclasses(); } @Override // kotlin.reflect.KClass public String getSimpleName() { return this.data.getValue().getSimpleName(); } public final MemberScope getStaticScope$kotlin_reflection() { MemberScope staticScope = getDescriptor().getStaticScope(); Intrinsics.checkNotNullExpressionValue(staticScope, "getStaticScope(...)"); return staticScope; } @Override // kotlin.reflect.KClass public List getSupertypes() { return this.data.getValue().getSupertypes(); } @Override // kotlin.reflect.KClass public List getTypeParameters() { return this.data.getValue().getTypeParameters(); } @Override // kotlin.reflect.KClass public KVisibility getVisibility() { DescriptorVisibility visibility = getDescriptor().getVisibility(); Intrinsics.checkNotNullExpressionValue(visibility, "getVisibility(...)"); return UtilKt.toKVisibility(visibility); } @Override // kotlin.reflect.KClass public int hashCode() { return JvmClassMappingKt.getJavaObjectType(this).hashCode(); } @Override // kotlin.reflect.KClass public boolean isAbstract() { return getDescriptor().getModality() == Modality.ABSTRACT; } @Override // kotlin.reflect.KClass public boolean isCompanion() { return getDescriptor().isCompanionObject(); } @Override // kotlin.reflect.KClass public boolean isData() { return getDescriptor().isData(); } @Override // kotlin.reflect.KClass public boolean isFinal() { return getDescriptor().getModality() == Modality.FINAL; } @Override // kotlin.reflect.KClass public boolean isFun() { return getDescriptor().isFun(); } @Override // kotlin.reflect.KClass public boolean isInner() { return getDescriptor().isInner(); } @Override // kotlin.reflect.KClass public boolean isInstance(Object value) { Integer functionClassArity = ReflectClassUtilKt.getFunctionClassArity(getJClass()); if (functionClassArity != null) { return TypeIntrinsics.isFunctionOfArity(value, functionClassArity.intValue()); } Class wrapperByPrimitive = ReflectClassUtilKt.getWrapperByPrimitive(getJClass()); if (wrapperByPrimitive == null) { wrapperByPrimitive = getJClass(); } return wrapperByPrimitive.isInstance(value); } @Override // kotlin.reflect.KClass public boolean isOpen() { return getDescriptor().getModality() == Modality.OPEN; } @Override // kotlin.reflect.KClass public boolean isSealed() { return getDescriptor().getModality() == Modality.SEALED; } @Override // kotlin.reflect.KClass public boolean isValue() { return getDescriptor().isValue(); } public String toString() { String str; String replace$default; StringBuilder sb = new StringBuilder("class "); ClassId classId = getClassId(); FqName packageFqName = classId.getPackageFqName(); Intrinsics.checkNotNullExpressionValue(packageFqName, "getPackageFqName(...)"); if (packageFqName.isRoot()) { str = ""; } else { str = packageFqName.asString() + '.'; } String asString = classId.getRelativeClassName().asString(); Intrinsics.checkNotNullExpressionValue(asString, "asString(...)"); replace$default = StringsKt__StringsJVMKt.replace$default(asString, '.', Typography.dollar, false, 4, (Object) null); sb.append(str + replace$default); return sb.toString(); } @Override // kotlin.reflect.jvm.internal.KClassifierImpl public ClassDescriptor getDescriptor() { return this.data.getValue().getDescriptor(); } }