apkfuckery/com.discord/smali_classes2/i0/d.smali

141 lines
2.6 KiB
Smali
Raw Normal View History

2020-07-14 22:43:59 +00:00
.class public final Li0/d;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "Result.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-07-14 22:43:59 +00:00
Li0/d$a;
2020-05-17 12:40:10 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/io/Serializable;"
}
.end annotation
# instance fields
.field public final value:Ljava/lang/Object;
# direct methods
.method public static final exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
.locals 1
2020-07-14 22:43:59 +00:00
instance-of v0, p0, Li0/d$a;
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
2020-07-14 22:43:59 +00:00
check-cast p0, Li0/d$a;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
iget-object p0, p0, Li0/d$a;->exception:Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
2020-07-14 22:43:59 +00:00
iget-object v0, p0, Li0/d;->value:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
instance-of v1, p1, Li0/d;
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_0
2020-07-14 22:43:59 +00:00
check-cast p1, Li0/d;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
iget-object p1, p1, Li0/d;->value:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
invoke-static {v0, p1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public hashCode()I
.locals 1
2020-07-14 22:43:59 +00:00
iget-object v0, p0, Li0/d;->value:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
2020-07-14 22:43:59 +00:00
iget-object v0, p0, Li0/d;->value:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
instance-of v1, v0, Li0/d$a;
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
goto :goto_0
:cond_0
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Success("
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v0, 0x29
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
:goto_0
return-object v0
.end method