97 lines
2.5 KiB
Smali
97 lines
2.5 KiB
Smali
.class final Lkotlinx/coroutines/bp;
|
|
.super Lkotlinx/coroutines/by;
|
|
.source "Builders.common.kt"
|
|
|
|
|
|
# instance fields
|
|
.field private bjA:Lkotlin/jvm/functions/Function2;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"-",
|
|
"Lkotlinx/coroutines/CoroutineScope;",
|
|
"-",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-",
|
|
"Lkotlin/Unit;",
|
|
">;+",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"-",
|
|
"Lkotlinx/coroutines/CoroutineScope;",
|
|
"-",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"-",
|
|
"Lkotlin/Unit;",
|
|
">;+",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "parentContext"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p0, p1, v0}, Lkotlinx/coroutines/by;-><init>(Lkotlin/coroutines/CoroutineContext;Z)V
|
|
|
|
iput-object p2, p0, Lkotlinx/coroutines/bp;->bjA:Lkotlin/jvm/functions/Function2;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected final onStart()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/bp;->bjA:Lkotlin/jvm/functions/Function2;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Lkotlinx/coroutines/bp;->bjA:Lkotlin/jvm/functions/Function2;
|
|
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Lkotlin/coroutines/Continuation;
|
|
|
|
invoke-static {v0, p0, v1}, Lkotlinx/coroutines/a/a;->b(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "Already started"
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
.end method
|