apkfuckery/com.discord/smali_classes2/l0/a/p.smali
2020-09-08 08:16:32 +00:00

107 lines
2.4 KiB
Smali

.class public Ll0/a/p;
.super Ljava/lang/Object;
.source "CompletedExceptionally.kt"
# static fields
.field public static final b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
# instance fields
.field public volatile _handled:I
.field public final a:Ljava/lang/Throwable;
# direct methods
.method public static constructor <clinit>()V
.locals 2
const-class v0, Ll0/a/p;
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
sput-object v0, Ll0/a/p;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Ll0/a/p;->a:Ljava/lang/Throwable;
iput p2, p0, Ll0/a/p;->_handled:I
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;ZI)V
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const/4 p2, 0x0
:cond_0
if-eqz p1, :cond_1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Ll0/a/p;->a:Ljava/lang/Throwable;
iput p2, p0, Ll0/a/p;->_handled:I
return-void
:cond_1
const-string p1, "cause"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-static {p0}, Lf/n/a/k/a;->z(Ljava/lang/Object;)Ljava/lang/String;
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;
iget-object v1, p0, Ll0/a/p;->a:Ljava/lang/Throwable;
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