apkfuckery/com.discord/smali_classes2/kotlin/m.smali

225 lines
4.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lkotlin/m;
.super Ljava/lang/Object;
.source "Result.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/m$b;,
Lkotlin/m$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/io/Serializable;"
}
.end annotation
# static fields
2019-10-28 23:46:47 +00:00
.field public static final bgo:Lkotlin/m$a;
2019-07-24 11:27:29 +00:00
# instance fields
.field private final value:Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lkotlin/m$a;
const/4 v1, 0x0
2019-10-09 23:16:36 +00:00
invoke-direct {v0, v1}, Lkotlin/m$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-07-24 11:27:29 +00:00
2019-10-28 23:46:47 +00:00
sput-object v0, Lkotlin/m;->bgo:Lkotlin/m$a;
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-10-09 23:16:36 +00:00
.method public static constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 0
2019-10-09 23:16:36 +00:00
return-object p0
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
.method public static equals-impl(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Lkotlin/m;
if-eqz v0, :cond_0
check-cast p1, Lkotlin/m;
invoke-virtual {p1}, Lkotlin/m;->unbox-impl()Ljava/lang/Object;
move-result-object p1
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_0
2019-07-24 11:27:29 +00:00
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
2019-10-09 23:16:36 +00:00
.method public static final exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
.locals 1
instance-of v0, p0, Lkotlin/m$b;
if-eqz v0, :cond_0
check-cast p0, Lkotlin/m$b;
iget-object p0, p0, Lkotlin/m$b;->exception:Ljava/lang/Throwable;
return-object p0
:cond_0
const/4 p0, 0x0
return-object p0
.end method
2019-10-09 23:16:36 +00:00
.method public static hashCode-impl(Ljava/lang/Object;)I
2019-07-24 11:27:29 +00:00
.locals 0
2019-10-09 23:16:36 +00:00
if-eqz p0, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
:cond_0
const/4 p0, 0x0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return p0
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
.method public static final isFailure-impl(Ljava/lang/Object;)Z
.locals 0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
instance-of p0, p0, Lkotlin/m$b;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return p0
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
.method public static final isSuccess-impl(Ljava/lang/Object;)Z
.locals 0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
instance-of p0, p0, Lkotlin/m$b;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
if-nez p0, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
const/4 p0, 0x1
return p0
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
const/4 p0, 0x0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return p0
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public static toString-impl(Ljava/lang/Object;)Ljava/lang/String;
.locals 2
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
instance-of v0, p0, Lkotlin/m$b;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return-object p0
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-09 23:16:36 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
const-string v1, "Success("
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 p0, 0x29
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
# virtual methods
.method public final equals(Ljava/lang/Object;)Z
.locals 1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lkotlin/m;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0, p1}, Lkotlin/m;->equals-impl(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result p1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return p1
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
.method public final hashCode()I
.locals 1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lkotlin/m;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0}, Lkotlin/m;->hashCode-impl(Ljava/lang/Object;)I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return v0
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
.method public final toString()Ljava/lang/String;
.locals 1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lkotlin/m;->value:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0}, Lkotlin/m;->toString-impl(Ljava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
.end method
2019-10-09 23:16:36 +00:00
.method public final synthetic unbox-impl()Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lkotlin/m;->value:Ljava/lang/Object;
return-object v0
.end method