Rabbit-R1/original r1/smali/smali_classes2/androidx/lifecycle/ViewModelProviderGetKt.smali

100 lines
3.1 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public final Landroidx/lifecycle/ViewModelProviderGetKt;
.super Ljava/lang/Object;
.source "ViewModelProvider.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u001c\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u001a\u0010\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0000\u001a\u001e\u0010\u0004\u001a\u0002H\u0005\"\n\u0008\u0000\u0010\u0005\u0018\u0001*\u00020\u0006*\u00020\u0007H\u0087\u0008\u00a2\u0006\u0002\u0010\u0008\u00a8\u0006\t"
}
d2 = {
"defaultCreationExtras",
"Landroidx/lifecycle/viewmodel/CreationExtras;",
"owner",
"Landroidx/lifecycle/ViewModelStoreOwner;",
"get",
"VM",
"Landroidx/lifecycle/ViewModel;",
"Landroidx/lifecycle/ViewModelProvider;",
"(Landroidx/lifecycle/ViewModelProvider;)Landroidx/lifecycle/ViewModel;",
"lifecycle-viewmodel_release"
}
k = 0x2
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method public static final defaultCreationExtras(Landroidx/lifecycle/ViewModelStoreOwner;)Landroidx/lifecycle/viewmodel/CreationExtras;
.locals 1
const-string v0, "owner"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 362
instance-of v0, p0, Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
if-eqz v0, :cond_0
.line 363
check-cast p0, Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
invoke-interface {p0}, Landroidx/lifecycle/HasDefaultViewModelProviderFactory;->getDefaultViewModelCreationExtras()Landroidx/lifecycle/viewmodel/CreationExtras;
move-result-object p0
goto :goto_0
.line 364
:cond_0
sget-object p0, Landroidx/lifecycle/viewmodel/CreationExtras$Empty;->INSTANCE:Landroidx/lifecycle/viewmodel/CreationExtras$Empty;
check-cast p0, Landroidx/lifecycle/viewmodel/CreationExtras;
:goto_0
return-object p0
.end method
.method public static final synthetic get(Landroidx/lifecycle/ViewModelProvider;)Landroidx/lifecycle/ViewModel;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<VM:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Landroidx/lifecycle/ViewModelProvider;",
")TVM;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x4
const-string v1, "VM"
.line 374
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->reifiedOperationMarker(ILjava/lang/String;)V
const-class v0, Landroidx/lifecycle/ViewModel;
move-object v1, v0
check-cast v1, Ljava/lang/Class;
invoke-virtual {p0, v0}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
move-result-object p0
return-object p0
.end method