apkfuckery/com.discord/smali_classes2/u/a/q.smali
2020-01-07 03:40:43 +01:00

120 lines
2.9 KiB
Smali

.class public Lu/a/q;
.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, Lu/a/q;
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, Lu/a/q;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;Z)V
.locals 1
const-string v0, "cause"
invoke-static {p1, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lu/a/q;->a:Ljava/lang/Throwable;
iput p2, p0, Lu/a/q;->_handled:I
return-void
.end method
.method public synthetic 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
const-string p3, "cause"
invoke-static {p1, p3}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lu/a/q;->a:Ljava/lang/Throwable;
iput p2, p0, Lu/a/q;->_handled:I
return-void
.end method
# virtual methods
.method public final a()Z
.locals 3
sget-object v0, Lu/a/q;->b:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
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;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-static {p0}, Lu/a/e0;->a(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, Lu/a/q;->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