apkfuckery/com.discord/smali_classes2/z/a/a1$b.smali

387 lines
8.5 KiB
Smali
Raw Normal View History

2020-11-09 19:03:49 +00:00
.class public final Lz/a/a1$b;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "JobSupport.kt"
# interfaces
2020-11-09 19:03:49 +00:00
.implements Lz/a/s0;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-11-09 19:03:49 +00:00
value = Lz/a/a1;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# instance fields
.field public volatile _exceptionsHolder:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
.field public volatile _isCompleting:I
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
.field public volatile _rootCause:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
.field public final d:Lz/a/e1;
2020-05-17 12:40:10 +00:00
# direct methods
2020-11-09 19:03:49 +00:00
.method public constructor <init>(Lz/a/e1;ZLjava/lang/Throwable;)V
2020-09-08 08:16:32 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lz/a/a1$b;->d:Lz/a/e1;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iput p2, p0, Lz/a/a1$b;->_isCompleting:I
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iput-object p3, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
const/4 p1, 0x0
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# virtual methods
.method public a()Z
.locals 1
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
check-cast v0, Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-nez v0, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final b(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
.locals 2
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
check-cast v0, Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_0
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
return-void
:cond_0
if-ne p1, v0, :cond_1
return-void
:cond_1
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_2
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_2
instance-of v1, v0, Ljava/lang/Throwable;
if-eqz v1, :cond_4
if-ne p1, v0, :cond_3
return-void
:cond_3
2020-11-09 19:03:49 +00:00
invoke-virtual {p0}, Lz/a/a1$b;->c()Ljava/util/ArrayList;
2020-05-17 12:40:10 +00:00
move-result-object v1
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
2020-11-09 19:03:49 +00:00
iput-object v1, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_4
instance-of v1, v0, Ljava/util/ArrayList;
if-eqz v1, :cond_5
check-cast v0, Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:goto_0
return-void
:cond_5
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "State is "
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
2020-07-08 16:44:49 +00:00
.method public final c()Ljava/util/ArrayList;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/ArrayList<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
const/4 v1, 0x4
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
return-object v0
.end method
.method public final d()Z
2020-05-17 12:40:10 +00:00
.locals 1
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
check-cast v0, Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_0
2020-05-17 12:40:10 +00:00
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
2020-07-08 16:44:49 +00:00
.method public final e()Z
2020-05-17 12:40:10 +00:00
.locals 2
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
sget-object v1, Lz/a/b1;->e:Lz/a/r1/n;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-ne v0, v1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public final f(Ljava/lang/Throwable;)Ljava/util/List;
2020-05-17 12:40:10 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
")",
"Ljava/util/List<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_0
2020-11-09 19:03:49 +00:00
invoke-virtual {p0}, Lz/a/a1$b;->c()Ljava/util/ArrayList;
2020-05-17 12:40:10 +00:00
move-result-object v0
goto :goto_0
:cond_0
instance-of v1, v0, Ljava/lang/Throwable;
if-eqz v1, :cond_1
2020-11-09 19:03:49 +00:00
invoke-virtual {p0}, Lz/a/a1$b;->c()Ljava/util/ArrayList;
2020-05-17 12:40:10 +00:00
move-result-object v1
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
move-object v0, v1
goto :goto_0
:cond_1
instance-of v1, v0, Ljava/util/ArrayList;
if-eqz v1, :cond_4
check-cast v0, Ljava/util/ArrayList;
:goto_0
2020-11-09 19:03:49 +00:00
iget-object v1, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
check-cast v1, Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_2
const/4 v2, 0x0
invoke-virtual {v0, v2, v1}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
:cond_2
if-eqz p1, :cond_3
2020-11-09 19:03:49 +00:00
invoke-static {p1, v1}, Ly/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result v1
xor-int/lit8 v1, v1, 0x1
if-eqz v1, :cond_3
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_3
2020-11-09 19:03:49 +00:00
sget-object p1, Lz/a/b1;->e:Lz/a/r1/n;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
return-object v0
:cond_4
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "State is "
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
2020-11-09 19:03:49 +00:00
.method public getList()Lz/a/e1;
2020-05-17 12:40:10 +00:00
.locals 1
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lz/a/a1$b;->d:Lz/a/e1;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "Finishing[cancelling="
2020-11-02 23:44:01 +00:00
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-11-09 19:03:49 +00:00
invoke-virtual {p0}, Lz/a/a1$b;->d()Z
2020-05-17 12:40:10 +00:00
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", completing="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-09 19:03:49 +00:00
iget v1, p0, Lz/a/a1$b;->_isCompleting:I
2020-05-17 12:40:10 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", rootCause="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-09 19:03:49 +00:00
iget-object v1, p0, Lz/a/a1$b;->_rootCause:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
check-cast v1, Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", exceptions="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-09 19:03:49 +00:00
iget-object v1, p0, Lz/a/a1$b;->_exceptionsHolder:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", list="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-09 19:03:49 +00:00
iget-object v1, p0, Lz/a/a1$b;->d:Lz/a/e1;
2020-05-17 12:40:10 +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