apkfuckery/com.discord/smali_classes2/z/a/u1$a.smali
2020-04-17 21:35:49 +02:00

97 lines
2.3 KiB
Smali

.class public final Lz/a/u1$a;
.super Ljava/lang/Object;
.source "ThreadPoolDispatcher.kt"
# interfaces
.implements Ljava/util/concurrent/ThreadFactory;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lz/a/u1;-><init>(ILjava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic d:Lz/a/u1;
# direct methods
.method public constructor <init>(Lz/a/u1;)V
.locals 0
iput-object p1, p0, Lz/a/u1$a;->d:Lz/a/u1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.locals 5
new-instance v0, Lz/a/p1;
iget-object v1, p0, Lz/a/u1$a;->d:Lz/a/u1;
const-string v2, "target"
invoke-static {p1, v2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v2, p0, Lz/a/u1$a;->d:Lz/a/u1;
iget v3, v2, Lz/a/u1;->g:I
const/4 v4, 0x1
if-ne v3, v4, :cond_0
invoke-static {v2}, Lz/a/u1;->a(Lz/a/u1;)Ljava/lang/String;
move-result-object v2
goto :goto_0
:cond_0
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
iget-object v3, p0, Lz/a/u1$a;->d:Lz/a/u1;
invoke-static {v3}, Lz/a/u1;->a(Lz/a/u1;)Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, "-"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lz/a/u1$a;->d:Lz/a/u1;
iget-object v3, v3, Lz/a/u1;->e:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
move-result v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
:goto_0
invoke-direct {v0, v1, p1, v2}, Lz/a/p1;-><init>(Lz/a/u1;Ljava/lang/Runnable;Ljava/lang/String;)V
return-object v0
.end method