apkfuckery/com.discord/smali_classes2/y/a/c1.smali
2020-04-27 22:53:11 +02:00

131 lines
3.1 KiB
Smali

.class public final Ly/a/c1;
.super Ly/a/g1;
.source "JobSupport.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/a/g1<",
"Lkotlinx/coroutines/Job;",
">;"
}
.end annotation
# instance fields
.field public final h:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlinx/coroutines/Job;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0, p1}, Ly/a/g1;-><init>(Lkotlinx/coroutines/Job;)V
iput-object p2, p0, Ly/a/c1;->h:Lkotlin/jvm/functions/Function1;
return-void
:cond_0
const-string p1, "handler"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "job"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public b(Ljava/lang/Throwable;)V
.locals 1
iget-object v0, p0, Ly/a/c1;->h:Lkotlin/jvm/functions/Function1;
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
check-cast p1, Ljava/lang/Throwable;
iget-object v0, p0, Ly/a/c1;->h:Lkotlin/jvm/functions/Function1;
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "InvokeOnCompletion["
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-static {p0}, Ly/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-static {p0}, Ly/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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