apkfuckery/com.discord/smali/androidx/fragment/app/FragmentViewModelLazyKt.smali
2020-07-16 19:51:49 +00:00

234 lines
6 KiB
Smali

.class public final Landroidx/fragment/app/FragmentViewModelLazyKt;
.super Ljava/lang/Object;
.source "FragmentViewModelLazy.kt"
# direct methods
.method public static final activityViewModels(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
.locals 0
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<VM:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Landroidx/fragment/app/Fragment;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
">;)",
"Lkotlin/Lazy<",
"TVM;>;"
}
.end annotation
const/4 p1, 0x0
if-eqz p0, :cond_0
invoke-static {}, Lj0/n/c/h;->reifiedOperationMarker()V
throw p1
:cond_0
const-string p0, "$this$activityViewModels"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p1
.end method
.method public static activityViewModels$default(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
.locals 0
and-int/lit8 p1, p2, 0x1
const/4 p1, 0x0
if-eqz p0, :cond_0
invoke-static {}, Lj0/n/c/h;->reifiedOperationMarker()V
throw p1
:cond_0
const-string p0, "$this$activityViewModels"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p1
.end method
.method public static final createViewModelLazy(Landroidx/fragment/app/Fragment;Lj0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<VM:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Landroidx/fragment/app/Fragment;",
"Lj0/r/b<",
"TVM;>;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelStore;",
">;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
">;)",
"Lkotlin/Lazy<",
"TVM;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_3
if-eqz p1, :cond_2
if-eqz p2, :cond_1
if-eqz p3, :cond_0
goto :goto_0
:cond_0
new-instance p3, Landroidx/fragment/app/FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1;
invoke-direct {p3, p0}, Landroidx/fragment/app/FragmentViewModelLazyKt$createViewModelLazy$factoryPromise$1;-><init>(Landroidx/fragment/app/Fragment;)V
:goto_0
new-instance p0, Landroidx/lifecycle/ViewModelLazy;
invoke-direct {p0, p1, p2, p3}, Landroidx/lifecycle/ViewModelLazy;-><init>(Lj0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
return-object p0
:cond_1
const-string p0, "storeProducer"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "viewModelClass"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_3
const-string p0, "$this$createViewModelLazy"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public static synthetic createViewModelLazy$default(Landroidx/fragment/app/Fragment;Lj0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
.locals 0
and-int/lit8 p4, p4, 0x4
if-eqz p4, :cond_0
const/4 p3, 0x0
:cond_0
invoke-static {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentViewModelLazyKt;->createViewModelLazy(Landroidx/fragment/app/Fragment;Lj0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object p0
return-object p0
.end method
.method public static final viewModels(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
.locals 0
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<VM:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Landroidx/fragment/app/Fragment;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelStoreOwner;",
">;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
">;)",
"Lkotlin/Lazy<",
"TVM;>;"
}
.end annotation
const/4 p2, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
invoke-static {}, Lj0/n/c/h;->reifiedOperationMarker()V
throw p2
:cond_0
const-string p0, "ownerProducer"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p2
:cond_1
const-string p0, "$this$viewModels"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p2
.end method
.method public static viewModels$default(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
.locals 0
and-int/lit8 p2, p3, 0x1
if-eqz p2, :cond_0
new-instance p1, Landroidx/fragment/app/FragmentViewModelLazyKt$viewModels$1;
invoke-direct {p1, p0}, Landroidx/fragment/app/FragmentViewModelLazyKt$viewModels$1;-><init>(Landroidx/fragment/app/Fragment;)V
:cond_0
and-int/lit8 p2, p3, 0x2
const/4 p2, 0x0
if-eqz p0, :cond_1
const-string p0, "ownerProducer"
invoke-static {p1, p0}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {}, Lj0/n/c/h;->reifiedOperationMarker()V
throw p2
:cond_1
const-string p0, "$this$viewModels"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p2
.end method