160 lines
2.8 KiB
Smali
160 lines
2.8 KiB
Smali
|
.class public final Lt/a/m;
|
||
|
.super Lt/a/e1;
|
||
|
.source "JobSupport.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lt/a/l;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lt/a/e1<",
|
||
|
"Lt/a/h1;",
|
||
|
">;",
|
||
|
"Lt/a/l;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final h:Lt/a/n;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lt/a/h1;Lt/a/n;)V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
if-eqz p2, :cond_0
|
||
|
|
||
|
invoke-direct {p0, p1}, Lt/a/e1;-><init>(Lkotlinx/coroutines/Job;)V
|
||
|
|
||
|
iput-object p2, p0, Lt/a/m;->h:Lt/a/n;
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "childJob"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p1, "parent"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public a(Ljava/lang/Throwable;)Z
|
||
|
.locals 1
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Lt/a/g1;->g:Lkotlinx/coroutines/Job;
|
||
|
|
||
|
check-cast v0, Lt/a/h1;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lt/a/h1;->a(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
invoke-virtual {v0}, Lt/a/h1;->e()Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p1
|
||
|
|
||
|
:cond_1
|
||
|
const-string p1, "cause"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public b(Ljava/lang/Throwable;)V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object p1, p0, Lt/a/m;->h:Lt/a/n;
|
||
|
|
||
|
iget-object v0, p0, Lt/a/g1;->g:Lkotlinx/coroutines/Job;
|
||
|
|
||
|
check-cast v0, Lt/a/o1;
|
||
|
|
||
|
check-cast p1, Lt/a/h1;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-virtual {p1, v0}, Lt/a/h1;->a(Ljava/lang/Object;)Z
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "parentJob"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
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}, Lt/a/m;->b(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, "ChildHandle["
|
||
|
|
||
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Lt/a/m;->h:Lt/a/n;
|
||
|
|
||
|
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
|