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

194 lines
3.5 KiB
Smali
Raw Normal View History

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