2020-03-27 22:23:51 +00:00
|
|
|
.class public final Lz/a/b1;
|
|
|
|
.super Lz/a/e1;
|
2019-08-17 08:22:04 +00:00
|
|
|
.source "JobSupport.kt"
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-03-27 22:23:51 +00:00
|
|
|
"Lz/a/e1<",
|
2019-10-03 02:31:26 +00:00
|
|
|
"Lkotlinx/coroutines/Job;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final i:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public volatile _invoked:I
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final h:Lkotlin/jvm/functions/Function1;
|
2019-10-03 02:31:26 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const-class v0, Lz/a/b1;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
const-string v1, "_invoked"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sput-object v0, Lz/a/b1;->i:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
2019-10-03 02:31:26 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlinx/coroutines/Job;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p0, p1}, Lz/a/e1;-><init>(Lkotlinx/coroutines/Job;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object p2, p0, Lz/a/b1;->h:Lkotlin/jvm/functions/Function1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput p1, p0, Lz/a/b1;->_invoked:I
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p1, "handler"
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p1, "job"
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-08-17 08:22:04 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public b(Ljava/lang/Throwable;)V
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 3
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v0, Lz/a/b1;->i:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v0, p0, Lz/a/b1;->h:Lkotlin/jvm/functions/Function1;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p0, p1}, Lz/a/b1;->b(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, "InvokeOnCancelling["
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v0
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Lz/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
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;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
return-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|