193 lines
3.5 KiB
Smali
193 lines
3.5 KiB
Smali
.class public final Lt/i;
|
|
.super Ljava/lang/Object;
|
|
.source "Result.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lt/i$b;,
|
|
Lt/i$a;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/io/Serializable;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final d:Lt/i$a;
|
|
|
|
|
|
# instance fields
|
|
.field public final value:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lt/i$a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lt/i$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lt/i;->d:Lt/i$a;
|
|
|
|
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;
|
|
.locals 1
|
|
|
|
instance-of v0, p0, Lt/i$b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lt/i$b;
|
|
|
|
iget-object p0, p0, Lt/i$b;->exception:Ljava/lang/Throwable;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final isFailure-impl(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
instance-of p0, p0, Lt/i$b;
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final isSuccess-impl(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
instance-of p0, p0, Lt/i$b;
|
|
|
|
xor-int/lit8 p0, p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lt/i;->value:Ljava/lang/Object;
|
|
|
|
instance-of v1, p1, Lt/i;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
check-cast p1, Lt/i;
|
|
|
|
invoke-virtual {p1}, Lt/i;->unbox-impl()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
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
|
|
|
|
iget-object v0, p0, Lt/i;->value:Ljava/lang/Object;
|
|
|
|
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
|
|
|
|
iget-object v0, p0, Lt/i;->value:Ljava/lang/Object;
|
|
|
|
instance-of v1, v0, Lt/i$b;
|
|
|
|
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
|
|
|
|
.method public final synthetic unbox-impl()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lt/i;->value:Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
.end method
|