2020-02-20 19:33:18 +00:00
|
|
|
.class public final Lx/a/t1;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "EventLoop.common.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final a:Ljava/lang/ThreadLocal;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/ThreadLocal<",
|
2020-02-20 19:33:18 +00:00
|
|
|
"Lx/a/r0;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.field public static final b:Lx/a/t1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance v0, Lx/a/t1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {v0}, Lx/a/t1;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sput-object v0, Lx/a/t1;->b:Lx/a/t1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/ThreadLocal;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sput-object v0, Lx/a/t1;->a:Ljava/lang/ThreadLocal;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public final a()Lx/a/r0;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sget-object v0, Lx/a/t1;->a:Ljava/lang/ThreadLocal;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
check-cast v0, Lx/a/r0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public final a(Lx/a/r0;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sget-object v0, Lx/a/t1;->a:Ljava/lang/ThreadLocal;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "eventLoop"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public final b()Lx/a/r0;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sget-object v0, Lx/a/t1;->a:Ljava/lang/ThreadLocal;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
check-cast v0, Lx/a/r0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-static {}, Lx/a/t0;->a()Lx/a/r0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sget-object v1, Lx/a/t1;->a:Ljava/lang/ThreadLocal;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final c()V
|
|
|
|
.locals 2
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sget-object v0, Lx/a/t1;->a:Ljava/lang/ThreadLocal;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|