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

269 lines
5.6 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final Lx/a/d1;
2019-12-06 03:29:40 +00:00
.super Ljava/util/concurrent/CancellationException;
.source "Exceptions.kt"
# interfaces
2020-02-20 19:33:18 +00:00
.implements Lx/a/v;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CancellationException;",
2020-02-20 19:33:18 +00:00
"Lx/a/v<",
"Lx/a/d1;",
2019-12-06 03:29:40 +00:00
">;"
}
.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
2020-02-20 19:33:18 +00:00
iput-object p3, p0, Lx/a/d1;->job:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
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"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "message"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
# virtual methods
.method public bridge synthetic a()Ljava/lang/Throwable;
.locals 1
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, Lx/a/d1;->a()Lx/a/d1;
2019-12-06 03:29:40 +00:00
move-result-object v0
return-object v0
.end method
2020-02-20 19:33:18 +00:00
.method public a()Lx/a/d1;
2019-12-06 03:29:40 +00:00
.locals 3
2020-02-20 19:33:18 +00:00
sget-boolean v0, Lx/a/e0;->a:Z
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
if-eqz v0, :cond_1
2020-02-20 19:33:18 +00:00
new-instance v0, Lx/a/d1;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/util/concurrent/CancellationException;->getMessage()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_0
2020-02-20 19:33:18 +00:00
iget-object v1, p0, Lx/a/d1;->job:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v2, p0, v1}, Lx/a/d1;-><init>(Ljava/lang/String;Ljava/lang/Throwable;Lkotlinx/coroutines/Job;)V
2019-12-06 03:29:40 +00:00
return-object v0
:cond_0
2020-02-20 19:33:18 +00:00
invoke-static {}, Lw/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
throw v1
:cond_1
return-object v1
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p1, p0, :cond_1
2020-02-20 19:33:18 +00:00
instance-of v0, p1, Lx/a/d1;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
check-cast p1, Lx/a/d1;
2019-12-06 03:29:40 +00:00
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
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v0
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
iget-object v0, p1, Lx/a/d1;->job:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, Lx/a/d1;->job:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
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
2020-02-20 19:33:18 +00:00
invoke-static {p1, v0}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
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
2020-02-20 19:33:18 +00:00
sget-boolean v0, Lx/a/e0;->a:Z
2019-12-06 03:29:40 +00:00
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()"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
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
2020-02-20 19:33:18 +00:00
iget-object v1, p0, Lx/a/d1;->job:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
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
2020-02-20 19:33:18 +00:00
invoke-static {}, Lw/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
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;
2020-02-20 19:33:18 +00:00
iget-object v1, p0, Lx/a/d1;->job:Lkotlinx/coroutines/Job;
2019-12-06 03:29:40 +00:00
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