apkfuckery/com.discord/smali_classes2/rx/d.smali
2019-02-04 21:17:36 +01:00

430 lines
8.3 KiB
Smali

.class public final Lrx/d;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lrx/d$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# static fields
.field private static final cmS:Lrx/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/d<",
"Ljava/lang/Void;",
">;"
}
.end annotation
.end field
# instance fields
.field public final cmR:Lrx/d$a;
.field public final throwable:Ljava/lang/Throwable;
.field private final value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 3
new-instance v0, Lrx/d;
sget-object v1, Lrx/d$a;->cmV:Lrx/d$a;
const/4 v2, 0x0
invoke-direct {v0, v1, v2, v2}, Lrx/d;-><init>(Lrx/d$a;Ljava/lang/Object;Ljava/lang/Throwable;)V
sput-object v0, Lrx/d;->cmS:Lrx/d;
return-void
.end method
.method private constructor <init>(Lrx/d$a;Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/d$a;",
"TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p2, 0x0
iput-object p2, p0, Lrx/d;->value:Ljava/lang/Object;
iput-object p3, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
iput-object p1, p0, Lrx/d;->cmR:Lrx/d$a;
return-void
.end method
.method public static Kw()Lrx/d;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lrx/d<",
"TT;>;"
}
.end annotation
new-instance v0, Lrx/d;
sget-object v1, Lrx/d$a;->cmT:Lrx/d$a;
const/4 v2, 0x0
invoke-direct {v0, v1, v2, v2}, Lrx/d;-><init>(Lrx/d$a;Ljava/lang/Object;Ljava/lang/Throwable;)V
return-object v0
.end method
.method public static Kx()Lrx/d;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lrx/d<",
"TT;>;"
}
.end annotation
sget-object v0, Lrx/d;->cmS:Lrx/d;
return-object v0
.end method
.method private Ky()Z
.locals 1
invoke-virtual {p0}, Lrx/d;->Kz()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
if-eqz v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method private hasValue()Z
.locals 4
iget-object v0, p0, Lrx/d;->cmR:Lrx/d$a;
sget-object v1, Lrx/d$a;->cmT:Lrx/d$a;
const/4 v2, 0x0
const/4 v3, 0x1
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
iget-object v0, p0, Lrx/d;->value:Ljava/lang/Object;
if-eqz v0, :cond_1
return v3
:cond_1
return v2
.end method
.method public static z(Ljava/lang/Throwable;)Lrx/d;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Throwable;",
")",
"Lrx/d<",
"TT;>;"
}
.end annotation
new-instance v0, Lrx/d;
sget-object v1, Lrx/d$a;->cmU:Lrx/d$a;
const/4 v2, 0x0
invoke-direct {v0, v1, v2, p0}, Lrx/d;-><init>(Lrx/d$a;Ljava/lang/Object;Ljava/lang/Throwable;)V
return-object v0
.end method
# virtual methods
.method public final Kz()Z
.locals 2
iget-object v0, p0, Lrx/d;->cmR:Lrx/d$a;
sget-object v1, Lrx/d$a;->cmU:Lrx/d$a;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x0
if-nez p1, :cond_0
return v0
:cond_0
const/4 v1, 0x1
if-ne p0, p1, :cond_1
return v1
:cond_1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
if-eq v2, v3, :cond_2
return v0
:cond_2
check-cast p1, Lrx/d;
iget-object v2, p1, Lrx/d;->cmR:Lrx/d$a;
iget-object v3, p0, Lrx/d;->cmR:Lrx/d$a;
if-ne v2, v3, :cond_5
iget-object v2, p0, Lrx/d;->value:Ljava/lang/Object;
iget-object v3, p1, Lrx/d;->value:Ljava/lang/Object;
if-eq v2, v3, :cond_3
iget-object v2, p0, Lrx/d;->value:Ljava/lang/Object;
if-eqz v2, :cond_5
iget-object v2, p0, Lrx/d;->value:Ljava/lang/Object;
iget-object v3, p1, Lrx/d;->value:Ljava/lang/Object;
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_5
:cond_3
iget-object v2, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
iget-object v3, p1, Lrx/d;->throwable:Ljava/lang/Throwable;
if-eq v2, v3, :cond_4
iget-object v2, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
if-eqz v2, :cond_5
iget-object v2, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
iget-object p1, p1, Lrx/d;->throwable:Ljava/lang/Throwable;
invoke-virtual {v2, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_5
:cond_4
return v1
:cond_5
return v0
.end method
.method public final hashCode()I
.locals 2
iget-object v0, p0, Lrx/d;->cmR:Lrx/d$a;
invoke-virtual {v0}, Lrx/d$a;->hashCode()I
move-result v0
invoke-direct {p0}, Lrx/d;->hasValue()Z
move-result v1
if-eqz v1, :cond_0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lrx/d;->value:Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
:cond_0
invoke-direct {p0}, Lrx/d;->Ky()Z
move-result v1
if-eqz v1, :cond_1
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
:cond_1
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
const/16 v1, 0x40
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
const/16 v1, 0x5b
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-super {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x20
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-object v2, p0, Lrx/d;->cmR:Lrx/d$a;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-direct {p0}, Lrx/d;->hasValue()Z
move-result v2
if-eqz v2, :cond_0
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-object v2, p0, Lrx/d;->value:Ljava/lang/Object;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
:cond_0
invoke-direct {p0}, Lrx/d;->Ky()Z
move-result v2
if-eqz v2, :cond_1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-object v1, p0, Lrx/d;->throwable:Ljava/lang/Throwable;
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
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