apkfuckery/com.discord/smali_classes2/y/a/m1.smali
2020-11-30 22:35:21 +00:00

61 lines
1.3 KiB
Smali

.class public final Ly/a/m1;
.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<",
"Ly/a/l0;",
">;"
}
.end annotation
.end field
.field public static final b:Ly/a/m1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/lang/ThreadLocal;
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
sput-object v0, Ly/a/m1;->a:Ljava/lang/ThreadLocal;
return-void
.end method
.method public static final a()Ly/a/l0;
.locals 3
sget-object v0, Ly/a/m1;->a:Ljava/lang/ThreadLocal;
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ly/a/l0;
if-eqz v1, :cond_0
goto :goto_0
:cond_0
new-instance v1, Ly/a/c;
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v2
invoke-direct {v1, v2}, Ly/a/c;-><init>(Ljava/lang/Thread;)V
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
:goto_0
return-object v1
.end method