apkfuckery/com.discord/smali_classes2/z/a/d1.smali
2020-05-11 21:22:21 +02:00

268 lines
5.6 KiB
Smali

.class public final Lz/a/d1;
.super Ljava/util/concurrent/CancellationException;
.source "Exceptions.kt"
# interfaces
.implements Lz/a/v;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CancellationException;",
"Lz/a/v<",
"Lz/a/d1;",
">;"
}
.end annotation
# instance fields
.field public final job:Lkotlinx/coroutines/Job;
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p3, :cond_1
invoke-direct {p0, p1}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
iput-object p3, p0, Lz/a/d1;->job:Lkotlinx/coroutines/Job;
if-eqz p2, :cond_0
invoke-virtual {p0, p2}, Ljava/util/concurrent/CancellationException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_0
return-void
:cond_1
const-string p1, "job"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p1, "message"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public bridge synthetic a()Ljava/lang/Throwable;
.locals 1
invoke-virtual {p0}, Lz/a/d1;->a()Lz/a/d1;
move-result-object v0
return-object v0
.end method
.method public a()Lz/a/d1;
.locals 3
sget-boolean v0, Lz/a/e0;->a:Z
const/4 v1, 0x0
if-eqz v0, :cond_1
new-instance v0, Lz/a/d1;
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_0
iget-object v1, p0, Lz/a/d1;->job:Lkotlinx/coroutines/Job;
invoke-direct {v0, v2, p0, v1}, Lz/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
return-object v0
:cond_0
invoke-static {}, Ly/v/b/j;->throwNpe()V
throw v1
:cond_1
return-object v1
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p1, p0, :cond_1
instance-of v0, p1, Lz/a/d1;
if-eqz v0, :cond_0
check-cast p1, Lz/a/d1;
invoke-virtual {p1}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lz/a/d1;->job:Lkotlinx/coroutines/Job;
iget-object v1, p0, Lz/a/d1;->job:Lkotlinx/coroutines/Job;
invoke-static {v0, v1}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p1}, Ljava/util/concurrent/CancellationException;->getCause()Ljava/lang/Throwable;
move-result-object p1
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getCause()Ljava/lang/Throwable;
move-result-object v0
invoke-static {p1, v0}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p1, 0x1
:goto_1
return p1
.end method
.method public fillInStackTrace()Ljava/lang/Throwable;
.locals 2
sget-boolean v0, Lz/a/e0;->a:Z
if-eqz v0, :cond_0
invoke-super {p0}, Ljava/util/concurrent/CancellationException;->fillInStackTrace()Ljava/lang/Throwable;
move-result-object v0
const-string v1, "super.fillInStackTrace()"
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
:cond_0
return-object p0
.end method
.method public hashCode()I
.locals 2
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_1
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lz/a/d1;->job:Lkotlinx/coroutines/Job;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getCause()Ljava/lang/Throwable;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Throwable;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
add-int/2addr v1, v0
return v1
:cond_1
invoke-static {}, Ly/v/b/j;->throwNpe()V
const/4 v0, 0x0
throw 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-super {p0}, Ljava/util/concurrent/CancellationException;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "; job="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lz/a/d1;->job:Lkotlinx/coroutines/Job;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method