.class public final Landroidx/lifecycle/Lifecycling; .super Ljava/lang/Object; .source "Lifecycling.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000D\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u00c7\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J \u0010\r\u001a\u00020\u000c2\u000e\u0010\u000e\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u000c0\u000b2\u0006\u0010\u000f\u001a\u00020\u0001H\u0002J\u001e\u0010\u0010\u001a\u000c\u0012\u0006\u0008\u0001\u0012\u00020\u000c\u0018\u00010\u000b2\n\u0010\u0011\u001a\u0006\u0012\u0002\u0008\u00030\u0008H\u0002J\u0010\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u0013H\u0007J\u0014\u0010\u0015\u001a\u00020\u00042\n\u0010\u0011\u001a\u0006\u0012\u0002\u0008\u00030\u0008H\u0002J\u0016\u0010\u0016\u001a\u00020\u00172\u000c\u0010\u0011\u001a\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u0008H\u0002J\u0010\u0010\u0018\u001a\u00020\u00192\u0006\u0010\u000f\u001a\u00020\u0001H\u0007J\u0014\u0010\u001a\u001a\u00020\u00042\n\u0010\u0011\u001a\u0006\u0012\u0002\u0008\u00030\u0008H\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u001e\u0010\u0006\u001a\u0012\u0012\u0008\u0012\u0006\u0012\u0002\u0008\u00030\u0008\u0012\u0004\u0012\u00020\u00040\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R,\u0010\t\u001a \u0012\u0008\u0012\u0006\u0012\u0002\u0008\u00030\u0008\u0012\u0012\u0012\u0010\u0012\u000c\u0012\n\u0012\u0006\u0008\u0001\u0012\u00020\u000c0\u000b0\n0\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001b" } d2 = { "Landroidx/lifecycle/Lifecycling;", "", "()V", "GENERATED_CALLBACK", "", "REFLECTIVE_CALLBACK", "callbackCache", "", "Ljava/lang/Class;", "classToAdapters", "", "Ljava/lang/reflect/Constructor;", "Landroidx/lifecycle/GeneratedAdapter;", "createGeneratedAdapter", "constructor", "object", "generatedConstructor", "klass", "getAdapterName", "", "className", "getObserverConstructorType", "isLifecycleParent", "", "lifecycleEventObserver", "Landroidx/lifecycle/LifecycleEventObserver;", "resolveObserverCallbackType", "lifecycle-common" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # static fields .field private static final GENERATED_CALLBACK:I = 0x2 .field public static final INSTANCE:Landroidx/lifecycle/Lifecycling; .field private static final REFLECTIVE_CALLBACK:I = 0x1 .field private static final callbackCache:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/Class<", "*>;", "Ljava/lang/Integer;", ">;" } .end annotation .end field .field private static final classToAdapters:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/Class<", "*>;", "Ljava/util/List<", "Ljava/lang/reflect/Constructor<", "+", "Landroidx/lifecycle/GeneratedAdapter;", ">;>;>;" } .end annotation .end field # direct methods .method static constructor ()V .locals 1 new-instance v0, Landroidx/lifecycle/Lifecycling; invoke-direct {v0}, Landroidx/lifecycle/Lifecycling;->()V sput-object v0, Landroidx/lifecycle/Lifecycling;->INSTANCE:Landroidx/lifecycle/Lifecycling; .line 31 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V check-cast v0, Ljava/util/Map; sput-object v0, Landroidx/lifecycle/Lifecycling;->callbackCache:Ljava/util/Map; .line 33 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V check-cast v0, Ljava/util/Map; sput-object v0, Landroidx/lifecycle/Lifecycling;->classToAdapters:Ljava/util/Map; return-void .end method .method private constructor ()V .locals 0 .line 27 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method private final createGeneratedAdapter(Ljava/lang/reflect/Constructor;Ljava/lang/Object;)Landroidx/lifecycle/GeneratedAdapter; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Constructor<", "+", "Landroidx/lifecycle/GeneratedAdapter;", ">;", "Ljava/lang/Object;", ")", "Landroidx/lifecycle/GeneratedAdapter;" } .end annotation .line 75 :try_start_0 filled-new-array {p2}, [Ljava/lang/Object; move-result-object p0 invoke-virtual {p1, p0}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 const-string p1, "{\n constructo\u2026tance(`object`)\n }" .line 74 invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V check-cast p0, Landroidx/lifecycle/GeneratedAdapter; :try_end_0 .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0 return-object p0 :catch_0 move-exception p0 .line 81 new-instance p1, Ljava/lang/RuntimeException; check-cast p0, Ljava/lang/Throwable; invoke-direct {p1, p0}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V throw p1 :catch_1 move-exception p0 .line 79 new-instance p1, Ljava/lang/RuntimeException; check-cast p0, Ljava/lang/Throwable; invoke-direct {p1, p0}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V throw p1 :catch_2 move-exception p0 .line 77 new-instance p1, Ljava/lang/RuntimeException; check-cast p0, Ljava/lang/Throwable; invoke-direct {p1, p0}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V throw p1 .end method .method private final generatedConstructor(Ljava/lang/Class;)Ljava/lang/reflect/Constructor; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;)", "Ljava/lang/reflect/Constructor<", "+", "Landroidx/lifecycle/GeneratedAdapter;", ">;" } .end annotation .line 88 :try_start_0 invoke-virtual {p1}, Ljava/lang/Class;->getPackage()Ljava/lang/Package; move-result-object p0 .line 89 invoke-virtual {p1}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String; move-result-object v0 if-eqz p0, :cond_0 .line 90 invoke-virtual {p0}, Ljava/lang/Package;->getName()Ljava/lang/String; move-result-object p0 goto :goto_0 :cond_0 const-string p0, "" :goto_0 const-string v1, "fullPackage" .line 93 invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V move-object v1, p0 check-cast v1, Ljava/lang/CharSequence; invoke-interface {v1}, Ljava/lang/CharSequence;->length()I move-result v1 const/4 v2, 0x1 if-nez v1, :cond_1 goto :goto_1 :cond_1 const-string v1, "name" .line 94 invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p0}, Ljava/lang/String;->length()I move-result v1 add-int/2addr v1, v2 invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String; move-result-object v0 const-string v1, "this as java.lang.String).substring(startIndex)" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V :goto_1 const-string v1, "if (fullPackage.isEmpty(\u2026g(fullPackage.length + 1)" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 92 invoke-static {v0}, Landroidx/lifecycle/Lifecycling;->getAdapterName(Ljava/lang/String;)Ljava/lang/String; move-result-object v0 .line 98 move-object v1, p0 check-cast v1, Ljava/lang/CharSequence; invoke-interface {v1}, Ljava/lang/CharSequence;->length()I move-result v1 if-nez v1, :cond_2 goto :goto_2 :cond_2 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const/16 v1, 0x2e invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 .line 97 :goto_2 invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class; move-result-object p0 const-string v0, "null cannot be cast to non-null type java.lang.Class" .line 98 invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-array v0, v2, [Ljava/lang/Class; const/4 v1, 0x0 aput-object p1, v0, v1 .line 100 invoke-virtual {p0, v0}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; move-result-object p0 .line 101 invoke-virtual {p0}, Ljava/lang/reflect/Constructor;->isAccessible()Z move-result p1 if-nez p1, :cond_3 .line 102 invoke-virtual {p0, v2}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V :try_end_0 .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_3 :catch_0 move-exception p0 .line 109 new-instance p1, Ljava/lang/RuntimeException; check-cast p0, Ljava/lang/Throwable; invoke-direct {p1, p0}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V throw p1 :catch_1 const/4 p0, 0x0 :cond_3 :goto_3 return-object p0 .end method .method public static final getAdapterName(Ljava/lang/String;)Ljava/lang/String; .locals 7 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "className" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 176 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v2, "." const-string v3, "_" const/4 v4, 0x0 const/4 v5, 0x4 const/4 v6, 0x0 move-object v1, p0 invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String; move-result-object p0 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v0, "_LifecycleAdapter" invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method .method private final getObserverConstructorType(Ljava/lang/Class;)I .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;)I" } .end annotation sget-object v0, Landroidx/lifecycle/Lifecycling;->callbackCache:Ljava/util/Map; .line 114 invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/Integer; if-eqz v1, :cond_0 .line 116 invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I move-result p0 return p0 .line 118 :cond_0 invoke-direct {p0, p1}, Landroidx/lifecycle/Lifecycling;->resolveObserverCallbackType(Ljava/lang/Class;)I move-result p0 invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v1 .line 119 invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return p0 .end method .method private final isLifecycleParent(Ljava/lang/Class;)Z .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;)Z" } .end annotation if-eqz p1, :cond_0 .line 168 const-class p0, Landroidx/lifecycle/LifecycleObserver; invoke-virtual {p0, p1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z move-result p0 if-eqz p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static final lifecycleEventObserver(Ljava/lang/Object;)Landroidx/lifecycle/LifecycleEventObserver; .locals 6 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation const-string v0, "object" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 38 instance-of v0, p0, Landroidx/lifecycle/LifecycleEventObserver; .line 39 instance-of v1, p0, Landroidx/lifecycle/DefaultLifecycleObserver; if-eqz v0, :cond_0 if-eqz v1, :cond_0 .line 41 new-instance v0, Landroidx/lifecycle/DefaultLifecycleObserverAdapter; .line 42 move-object v1, p0 check-cast v1, Landroidx/lifecycle/DefaultLifecycleObserver; .line 43 check-cast p0, Landroidx/lifecycle/LifecycleEventObserver; .line 41 invoke-direct {v0, v1, p0}, Landroidx/lifecycle/DefaultLifecycleObserverAdapter;->(Landroidx/lifecycle/DefaultLifecycleObserver;Landroidx/lifecycle/LifecycleEventObserver;)V check-cast v0, Landroidx/lifecycle/LifecycleEventObserver; return-object v0 :cond_0 if-eqz v1, :cond_1 .line 47 new-instance v0, Landroidx/lifecycle/DefaultLifecycleObserverAdapter; check-cast p0, Landroidx/lifecycle/DefaultLifecycleObserver; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Landroidx/lifecycle/DefaultLifecycleObserverAdapter;->(Landroidx/lifecycle/DefaultLifecycleObserver;Landroidx/lifecycle/LifecycleEventObserver;)V check-cast v0, Landroidx/lifecycle/LifecycleEventObserver; return-object v0 :cond_1 if-eqz v0, :cond_2 .line 50 check-cast p0, Landroidx/lifecycle/LifecycleEventObserver; return-object p0 .line 52 :cond_2 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 sget-object v1, Landroidx/lifecycle/Lifecycling;->INSTANCE:Landroidx/lifecycle/Lifecycling; .line 53 invoke-direct {v1, v0}, Landroidx/lifecycle/Lifecycling;->getObserverConstructorType(Ljava/lang/Class;)I move-result v2 const/4 v3, 0x2 if-ne v2, v3, :cond_5 sget-object v2, Landroidx/lifecycle/Lifecycling;->classToAdapters:Ljava/util/Map; .line 55 invoke-interface {v2, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V check-cast v0, Ljava/util/List; .line 56 invoke-interface {v0}, Ljava/util/List;->size()I move-result v2 const/4 v3, 0x0 const/4 v4, 0x1 if-ne v2, v4, :cond_3 .line 58 invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/reflect/Constructor; .line 57 invoke-direct {v1, v0, p0}, Landroidx/lifecycle/Lifecycling;->createGeneratedAdapter(Ljava/lang/reflect/Constructor;Ljava/lang/Object;)Landroidx/lifecycle/GeneratedAdapter; move-result-object p0 .line 60 new-instance v0, Landroidx/lifecycle/SingleGeneratedAdapterObserver; invoke-direct {v0, p0}, Landroidx/lifecycle/SingleGeneratedAdapterObserver;->(Landroidx/lifecycle/GeneratedAdapter;)V check-cast v0, Landroidx/lifecycle/LifecycleEventObserver; return-object v0 .line 62 :cond_3 invoke-interface {v0}, Ljava/util/List;->size()I move-result v1 new-array v2, v1, [Landroidx/lifecycle/GeneratedAdapter; :goto_0 if-ge v3, v1, :cond_4 sget-object v4, Landroidx/lifecycle/Lifecycling;->INSTANCE:Landroidx/lifecycle/Lifecycling; .line 63 invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v5 check-cast v5, Ljava/lang/reflect/Constructor; invoke-direct {v4, v5, p0}, Landroidx/lifecycle/Lifecycling;->createGeneratedAdapter(Ljava/lang/reflect/Constructor;Ljava/lang/Object;)Landroidx/lifecycle/GeneratedAdapter; move-result-object v4 aput-object v4, v2, v3 add-int/lit8 v3, v3, 0x1 goto :goto_0 .line 65 :cond_4 new-instance p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver; invoke-direct {p0, v2}, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->([Landroidx/lifecycle/GeneratedAdapter;)V check-cast p0, Landroidx/lifecycle/LifecycleEventObserver; return-object p0 .line 67 :cond_5 new-instance v0, Landroidx/lifecycle/ReflectiveGenericLifecycleObserver; invoke-direct {v0, p0}, Landroidx/lifecycle/ReflectiveGenericLifecycleObserver;->(Ljava/lang/Object;)V check-cast v0, Landroidx/lifecycle/LifecycleEventObserver; return-object v0 .end method .method private final resolveObserverCallbackType(Ljava/lang/Class;)I .locals 8 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;)I" } .end annotation .line 125 invoke-virtual {p1}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String; move-result-object v0 const/4 v1, 0x1 if-nez v0, :cond_0 return v1 .line 128 :cond_0 invoke-direct {p0, p1}, Landroidx/lifecycle/Lifecycling;->generatedConstructor(Ljava/lang/Class;)Ljava/lang/reflect/Constructor; move-result-object v0 const/4 v2, 0x2 if-eqz v0, :cond_1 sget-object p0, Landroidx/lifecycle/Lifecycling;->classToAdapters:Ljava/util/Map; .line 130 invoke-static {v0}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List; move-result-object v0 invoke-interface {p0, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return v2 .line 134 :cond_1 sget-object v0, Landroidx/lifecycle/ClassesInfoCache;->sInstance:Landroidx/lifecycle/ClassesInfoCache; invoke-virtual {v0, p1}, Landroidx/lifecycle/ClassesInfoCache;->hasLifecycleMethods(Ljava/lang/Class;)Z move-result v0 if-eqz v0, :cond_2 return v1 .line 138 :cond_2 invoke-virtual {p1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class; move-result-object v0 .line 140 invoke-direct {p0, v0}, Landroidx/lifecycle/Lifecycling;->isLifecycleParent(Ljava/lang/Class;)Z move-result v3 if-eqz v3, :cond_4 const-string v3, "superclass" .line 141 invoke-static {v0, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v0}, Landroidx/lifecycle/Lifecycling;->getObserverConstructorType(Ljava/lang/Class;)I move-result v3 if-ne v3, v1, :cond_3 return v1 .line 144 :cond_3 new-instance v3, Ljava/util/ArrayList; sget-object v4, Landroidx/lifecycle/Lifecycling;->classToAdapters:Ljava/util/Map; .line 145 invoke-interface {v4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V check-cast v0, Ljava/util/Collection; .line 144 invoke-direct {v3, v0}, Ljava/util/ArrayList;->(Ljava/util/Collection;)V check-cast v3, Ljava/util/List; goto :goto_0 :cond_4 const/4 v3, 0x0 .line 148 :goto_0 invoke-virtual {p1}, Ljava/lang/Class;->getInterfaces()[Ljava/lang/Class; move-result-object v0 const-string v4, "klass.interfaces" invoke-static {v0, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V array-length v4, v0 const/4 v5, 0x0 :goto_1 if-ge v5, v4, :cond_8 aget-object v6, v0, v5 .line 149 invoke-direct {p0, v6}, Landroidx/lifecycle/Lifecycling;->isLifecycleParent(Ljava/lang/Class;)Z move-result v7 if-nez v7, :cond_5 goto :goto_2 :cond_5 const-string v7, "intrface" .line 152 invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v6}, Landroidx/lifecycle/Lifecycling;->getObserverConstructorType(Ljava/lang/Class;)I move-result v7 if-ne v7, v1, :cond_6 return v1 :cond_6 if-nez v3, :cond_7 .line 156 new-instance v3, Ljava/util/ArrayList; invoke-direct {v3}, Ljava/util/ArrayList;->()V check-cast v3, Ljava/util/List; :cond_7 sget-object v7, Landroidx/lifecycle/Lifecycling;->classToAdapters:Ljava/util/Map; .line 158 invoke-interface {v7, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v6 invoke-static {v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V check-cast v6, Ljava/util/Collection; invoke-interface {v3, v6}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z :goto_2 add-int/lit8 v5, v5, 0x1 goto :goto_1 :cond_8 if-eqz v3, :cond_9 sget-object p0, Landroidx/lifecycle/Lifecycling;->classToAdapters:Ljava/util/Map; .line 161 invoke-interface {p0, p1, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return v2 :cond_9 return v1 .end method