apkfuckery/com.discord/smali_classes2/y/i.smali

194 lines
3.5 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public final Ly/i;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
.source "Result.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-05-11 19:22:21 +00:00
Ly/i$b;,
Ly/i$a;
2020-03-27 22:23:51 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/io/Serializable;"
}
.end annotation
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
# static fields
2020-05-11 19:22:21 +00:00
.field public static final d:Ly/i$a;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
# instance fields
.field public final value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
# direct methods
2020-02-20 19:33:18 +00:00
.method public static constructor <clinit>()V
2020-03-27 22:23:51 +00:00
.locals 2
2020-05-11 19:22:21 +00:00
new-instance v0, Ly/i$a;
2020-03-27 22:23:51 +00:00
const/4 v1, 0x0
2020-05-11 19:22:21 +00:00
invoke-direct {v0, v1}, Ly/i$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
sput-object v0, Ly/i;->d:Ly/i$a;
2020-03-27 22:23:51 +00:00
return-void
.end method
.method public static constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
return-object p0
.end method
.method public static final exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
2020-02-20 19:33:18 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
instance-of v0, p0, Ly/i$b;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
check-cast p0, Ly/i$b;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iget-object p0, p0, Ly/i$b;->exception:Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
goto :goto_0
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
:cond_0
const/4 p0, 0x0
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
:goto_0
return-object p0
2019-07-24 11:27:29 +00:00
.end method
2020-03-27 22:23:51 +00:00
.method public static final isFailure-impl(Ljava/lang/Object;)Z
2020-03-26 05:26:27 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
2020-05-11 19:22:21 +00:00
instance-of p0, p0, Ly/i$b;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
return p0
2020-03-26 05:26:27 +00:00
.end method
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
.method public static final isSuccess-impl(Ljava/lang/Object;)Z
.locals 0
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
instance-of p0, p0, Ly/i$b;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
xor-int/lit8 p0, p0, 0x1
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
return p0
.end method
2019-12-06 03:29:40 +00:00
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/i;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
instance-of v1, p1, Ly/i;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
if-eqz v1, :cond_0
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
check-cast p1, Ly/i;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {p1}, Ly/i;->unbox-impl()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v0, p1}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
move-result p1
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
if-eqz p1, :cond_0
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
const/4 p1, 0x1
2020-02-20 19:33:18 +00:00
2020-03-26 23:31:08 +00:00
goto :goto_0
2020-02-20 19:33:18 +00:00
2020-03-26 23:31:08 +00:00
:cond_0
2020-03-27 22:23:51 +00:00
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public hashCode()I
.locals 1
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/i;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
if-eqz v0, :cond_0
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
goto :goto_0
:cond_0
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
:goto_0
return v0
2020-03-26 23:31:08 +00:00
.end method
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
.method public toString()Ljava/lang/String;
.locals 3
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/i;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
instance-of v1, v0, Ly/i$b;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
if-eqz v1, :cond_0
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
:cond_0
new-instance v1, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
const-string v2, "Success("
2019-11-28 00:30:53 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
const/16 v0, 0x29
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
move-result-object v0
2020-03-26 05:26:27 +00:00
2020-03-27 22:23:51 +00:00
:goto_0
return-object v0
.end method
.method public final synthetic unbox-impl()Ljava/lang/Object;
.locals 1
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/i;->value:Ljava/lang/Object;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method