apkfuckery/com.discord/smali_classes2/l0/a/i.smali
2020-09-02 04:07:20 +00:00

117 lines
2.6 KiB
Smali

.class public final Ll0/a/i;
.super Ll0/a/z0;
.source "JobSupport.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ll0/a/z0<",
"Lkotlinx/coroutines/Job;",
">;"
}
.end annotation
# instance fields
.field public final h:Ll0/a/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ll0/a/g<",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlinx/coroutines/Job;Ll0/a/g;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlinx/coroutines/Job;",
"Ll0/a/g<",
"*>;)V"
}
.end annotation
const-string v0, "parent"
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "child"
invoke-static {p2, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p1}, Ll0/a/z0;-><init>(Lkotlinx/coroutines/Job;)V
iput-object p2, p0, Ll0/a/i;->h:Ll0/a/g;
return-void
.end method
# virtual methods
.method public i(Ljava/lang/Throwable;)V
.locals 2
iget-object p1, p0, Ll0/a/i;->h:Ll0/a/g;
iget-object v0, p0, Ll0/a/b1;->g:Lkotlinx/coroutines/Job;
if-eqz p1, :cond_0
const-string v1, "parent"
invoke-static {v0, v1}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0}, Lkotlinx/coroutines/Job;->e()Ljava/util/concurrent/CancellationException;
move-result-object v0
invoke-virtual {p1, v0}, Ll0/a/g;->g(Ljava/lang/Throwable;)Z
return-void
:cond_0
const/4 p1, 0x0
throw p1
.end method
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Ll0/a/i;->i(Ljava/lang/Throwable;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "ChildContinuation["
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Ll0/a/i;->h:Ll0/a/g;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x5d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method