apkfuckery/com.discord/smali_classes2/x/a/q.smali

135 lines
2.9 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public Lx/a/q;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
.source "CompletedExceptionally.kt"
# static fields
2019-12-06 03:29:40 +00:00
.field public static final b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public volatile _handled:I
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
.field public final a:Ljava/lang/Throwable;
2019-10-03 02:31:26 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-10-03 02:31:26 +00:00
.locals 2
2020-02-20 19:33:18 +00:00
const-class v0, Lx/a/q;
2019-10-03 02:31:26 +00:00
const-string v1, "_handled"
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
move-result-object v0
2020-02-20 19:33:18 +00:00
sput-object v0, Lx/a/q;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-10-03 02:31:26 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Ljava/lang/Throwable;Z)V
2020-03-14 04:13:36 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-10-03 02:31:26 +00:00
2020-02-20 19:33:18 +00:00
iput-object p1, p0, Lx/a/q;->a:Ljava/lang/Throwable;
2019-10-03 02:31:26 +00:00
2020-02-20 19:33:18 +00:00
iput p2, p0, Lx/a/q;->_handled:I
2019-10-03 02:31:26 +00:00
return-void
2020-03-14 04:13:36 +00:00
:cond_0
const-string p1, "cause"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2019-10-03 02:31:26 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public synthetic constructor <init>(Ljava/lang/Throwable;ZI)V
.locals 0
and-int/lit8 p3, p3, 0x2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p3, :cond_0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
const/4 p2, 0x0
:cond_0
2020-03-14 04:13:36 +00:00
if-eqz p1, :cond_1
2020-03-14 02:12:46 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/a/q;->a:Ljava/lang/Throwable;
iput p2, p0, Lx/a/q;->_handled:I
2019-10-03 02:31:26 +00:00
return-void
2020-03-14 04:13:36 +00:00
:cond_1
const-string p1, "cause"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2019-10-03 02:31:26 +00:00
.end method
2019-07-24 11:27:29 +00:00
# virtual methods
2019-12-06 03:29:40 +00:00
.method public final a()Z
2019-10-03 02:31:26 +00:00
.locals 3
2020-02-20 19:33:18 +00:00
sget-object v0, Lx/a/q;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2019-10-03 02:31:26 +00:00
const/4 v1, 0x0
const/4 v2, 0x1
invoke-virtual {v0, p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
move-result v0
return v0
.end method
.method public toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
2019-10-03 02:31:26 +00:00
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lx/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x5b
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, Lx/a/q;->a:Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x5d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method