apkfuckery/com.discord/smali_classes2/d0/a/h.smali
2020-09-22 07:09:10 +00:00

78 lines
2 KiB
Smali

.class public final Ld0/a/h;
.super Ld0/a/p;
.source "CompletedExceptionally.kt"
# static fields
.field public static final c:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
# instance fields
.field public volatile _resumed:I
# direct methods
.method public static constructor <clinit>()V
.locals 2
const-class v0, Ld0/a/h;
const-string v1, "_resumed"
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
move-result-object v0
sput-object v0, Ld0/a/h;->c:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
return-void
.end method
.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
if-eqz p2, :cond_0
goto :goto_0
:cond_0
new-instance p2, Ljava/util/concurrent/CancellationException;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Continuation "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, " was cancelled normally"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
:goto_0
invoke-direct {p0, p2, p3}, Ld0/a/p;-><init>(Ljava/lang/Throwable;Z)V
const/4 p1, 0x0
iput p1, p0, Ld0/a/h;->_resumed:I
return-void
.end method