2019-12-12 08:58:10 +00:00
|
|
|
.class public final Ln/a/j;
|
|
|
|
.super Ln/a/q;
|
2019-10-03 02:31:26 +00:00
|
|
|
.source "CompletedExceptionally.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
# static fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final c:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public volatile _resumed:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
const-class v0, Ln/a/j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const-string v1, "_resumed"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
sput-object v0, Ln/a/j;->c:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.method public constructor <init>(Lkotlin/coroutines/Continuation;Ljava/lang/Throwable;Z)V
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/coroutines/Continuation<",
|
|
|
|
"*>;",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
"Z)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance p2, Ljava/util/concurrent/CancellationException;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const-string v1, "Continuation "
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const-string p1, " was cancelled normally"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {p2, p1}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-direct {p0, p2, p3}, Ln/a/q;-><init>(Ljava/lang/Throwable;Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const/4 p1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
iput p1, p0, Ln/a/j;->_resumed:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "continuation"
|
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public final b()Z
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
sget-object v0, Ln/a/j;->c:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {v0, p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
return v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|