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

122 lines
2.3 KiB
Smali

.class public final Ly/a/t1;
.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/r0;",
">;"
}
.end annotation
.end field
.field public static final b:Ly/a/t1;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Ly/a/t1;
invoke-direct {v0}, Ly/a/t1;-><init>()V
sput-object v0, Ly/a/t1;->b:Ly/a/t1;
new-instance v0, Ljava/lang/ThreadLocal;
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
sput-object v0, Ly/a/t1;->a:Ljava/lang/ThreadLocal;
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
.method public final a()Ly/a/r0;
.locals 1
sget-object v0, Ly/a/t1;->a:Ljava/lang/ThreadLocal;
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ly/a/r0;
return-object v0
.end method
.method public final a(Ly/a/r0;)V
.locals 1
if-eqz p1, :cond_0
sget-object v0, Ly/a/t1;->a:Ljava/lang/ThreadLocal;
invoke-virtual {v0, p1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
return-void
:cond_0
const-string p1, "eventLoop"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final b()Ly/a/r0;
.locals 2
sget-object v0, Ly/a/t1;->a:Ljava/lang/ThreadLocal;
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ly/a/r0;
if-eqz v0, :cond_0
goto :goto_0
:cond_0
invoke-static {}, Ly/a/t0;->a()Ly/a/r0;
move-result-object v0
sget-object v1, Ly/a/t1;->a:Ljava/lang/ThreadLocal;
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
sget-object v0, Ly/a/t1;->a:Ljava/lang/ThreadLocal;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
return-void
.end method