apkfuckery/com.discord/smali/androidx/fragment/app/FragmentViewModelLazyKt.smali

193 lines
6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/fragment/app/FragmentViewModelLazyKt;
.super Ljava/lang/Object;
.source "FragmentViewModelLazy.kt"
# direct methods
2020-09-09 19:21:20 +00:00
.method public static final synthetic activityViewModels(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.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
2020-09-09 19:21:20 +00:00
const-string p1, "$this$activityViewModels"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p0, p1}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {}, Lk0/n/c/i;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
const/4 p0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
throw p0
2020-07-08 16:44:49 +00:00
.end method
2020-09-09 19:21:20 +00:00
.method public static synthetic activityViewModels$default(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.locals 0
and-int/lit8 p1, p2, 0x1
2020-09-09 19:21:20 +00:00
const-string p1, "$this$activityViewModels"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p0, p1}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {}, Lk0/n/c/i;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
const/4 p0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
throw p0
2020-07-08 16:44:49 +00:00
.end method
2020-09-08 08:16:32 +00:00
.method public static final createViewModelLazy(Landroidx/fragment/app/Fragment;Lk0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<VM:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Landroidx/fragment/app/Fragment;",
2020-09-08 08:16:32 +00:00
"Lk0/r/b<",
2020-07-08 16:44:49 +00:00
"TVM;>;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelStore;",
">;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
">;)",
"Lkotlin/Lazy<",
"TVM;>;"
}
.end annotation
2020-09-09 19:21:20 +00:00
const-string v0, "$this$createViewModelLazy"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p0, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
const-string/jumbo v0, "viewModelClass"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "storeProducer"
invoke-static {p2, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
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;
2020-09-08 08:16:32 +00:00
invoke-direct {p0, p1, p2, p3}, Landroidx/lifecycle/ViewModelLazy;-><init>(Lk0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
2020-07-08 16:44:49 +00:00
return-object p0
.end method
2020-09-08 08:16:32 +00:00
.method public static synthetic createViewModelLazy$default(Landroidx/fragment/app/Fragment;Lk0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.locals 0
and-int/lit8 p4, p4, 0x4
if-eqz p4, :cond_0
const/4 p3, 0x0
:cond_0
2020-09-08 08:16:32 +00:00
invoke-static {p0, p1, p2, p3}, Landroidx/fragment/app/FragmentViewModelLazyKt;->createViewModelLazy(Landroidx/fragment/app/Fragment;Lk0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
move-result-object p0
return-object p0
.end method
2020-09-09 19:21:20 +00:00
.method public static final synthetic viewModels(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.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
2020-09-09 19:21:20 +00:00
const-string p2, "$this$viewModels"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p0, p2}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const-string p0, "ownerProducer"
2020-09-09 19:21:20 +00:00
invoke-static {p1, p0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {}, Lk0/n/c/i;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
const/4 p0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
throw p0
2020-07-08 16:44:49 +00:00
.end method
2020-09-09 19:21:20 +00:00
.method public static synthetic viewModels$default(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.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
2020-09-09 19:21:20 +00:00
const-string p2, "$this$viewModels"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p0, p2}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const-string p0, "ownerProducer"
2020-09-09 19:21:20 +00:00
invoke-static {p1, p0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {}, Lk0/n/c/i;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
const/4 p0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
throw p0
2020-07-08 16:44:49 +00:00
.end method