apkfuckery/com.discord/smali/androidx/lifecycle/LifecycleCoroutineScope.smali

178 lines
4.7 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public abstract Landroidx/lifecycle/LifecycleCoroutineScope;
.super Ljava/lang/Object;
.source "Lifecycle.kt"
# interfaces
.implements Lkotlinx/coroutines/CoroutineScope;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract synthetic getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
.end method
.method public abstract getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
.end method
.method public final launchWhenCreated(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;+",
"Ljava/lang/Object;",
">;)",
"Lkotlinx/coroutines/Job;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_0
const/4 v2, 0x0
const/4 v3, 0x0
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;
invoke-direct {v4, p0, p1, v0}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
const/4 v5, 0x3
const/4 v6, 0x0
move-object v1, p0
2020-07-25 02:57:47 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/k/a;->L(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/z;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2020-07-08 16:44:49 +00:00
move-result-object p1
return-object p1
:cond_0
const-string p1, "block"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method
.method public final launchWhenResumed(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;+",
"Ljava/lang/Object;",
">;)",
"Lkotlinx/coroutines/Job;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_0
const/4 v2, 0x0
const/4 v3, 0x0
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;
invoke-direct {v4, p0, p1, v0}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
const/4 v5, 0x3
const/4 v6, 0x0
move-object v1, p0
2020-07-25 02:57:47 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/k/a;->L(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/z;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2020-07-08 16:44:49 +00:00
move-result-object p1
return-object p1
:cond_0
const-string p1, "block"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method
.method public final launchWhenStarted(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-",
"Lkotlin/Unit;",
">;+",
"Ljava/lang/Object;",
">;)",
"Lkotlinx/coroutines/Job;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_0
const/4 v2, 0x0
const/4 v3, 0x0
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;
invoke-direct {v4, p0, p1, v0}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
const/4 v5, 0x3
const/4 v6, 0x0
move-object v1, p0
2020-07-25 02:57:47 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/k/a;->L(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/z;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
2020-07-08 16:44:49 +00:00
move-result-object p1
return-object p1
:cond_0
const-string p1, "block"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method