apkfuckery/com.discord/smali_classes2/t/a/o$a.smali

68 lines
1.6 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lt/a/o$a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "CommonPool.kt"
# interfaces
.implements Ljava/util/concurrent/ThreadFactory;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-12-06 03:29:40 +00:00
value = Lt/a/o;->e()Ljava/util/concurrent/ExecutorService;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic d:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Ljava/util/concurrent/atomic/AtomicInteger;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Lt/a/o$a;->d:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.locals 3
new-instance v0, Ljava/lang/Thread;
2019-12-06 03:29:40 +00:00
const-string v1, "CommonPool-worker-"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v2, p0, Lt/a/o$a;->d:Ljava/util/concurrent/atomic/AtomicInteger;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
move-result v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
const/4 p1, 0x1
invoke-virtual {v0, p1}, Ljava/lang/Thread;->setDaemon(Z)V
return-object v0
.end method