mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
360 lines
8.6 KiB
Smali
360 lines
8.6 KiB
Smali
.class public final Lkotlin/Result;
|
|
.super Ljava/lang/Object;
|
|
.source "Result.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/Result$Companion;,
|
|
Lkotlin/Result$Failure;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/io/Serializable;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u00008\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\u000b\n\u0002\u0010\u0003\n\u0002\u0008\u0005\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0002\u0008\u0005\u0008\u0087@\u0018\u0000 \"*\u0006\u0008\u0000\u0010\u0001 \u00012\u00060\u0002j\u0002`\u0003:\u0002\"#B\u0013\u0008\u0001\u0012\u0008\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u00a2\u0006\u0004\u0008\u0006\u0010\u0007J\u001a\u0010\u0010\u001a\u00020\t2\u0008\u0010\u0011\u001a\u0004\u0018\u00010\u0005H\u00d6\u0003\u00a2\u0006\u0004\u0008\u0012\u0010\u0013J\u000f\u0010\u0014\u001a\u0004\u0018\u00010\u0015\u00a2\u0006\u0004\u0008\u0016\u0010\u0017J\u0012\u0010\u0018\u001a\u0004\u0018\u00018\u0000H\u0087\u0008\u00a2\u0006\u0004\u0008\u0019\u0010\u0007J\u0010\u0010\u001a\u001a\u00020\u001bH\u00d6\u0001\u00a2\u0006\u0004\u0008\u001c\u0010\u001dJ\u000f\u0010\u001e\u001a\u00020\u001fH\u0016\u00a2\u0006\u0004\u0008 \u0010!R\u0011\u0010\u0008\u001a\u00020\t8F\u00a2\u0006\u0006\u001a\u0004\u0008\n\u0010\u000bR\u0011\u0010\u000c\u001a\u00020\t8F\u00a2\u0006\u0006\u001a\u0004\u0008\r\u0010\u000bR\u0018\u0010\u0004\u001a\u0004\u0018\u00010\u00058\u0000X\u0081\u0004\u00a2\u0006\u0008\n\u0000\u0012\u0004\u0008\u000e\u0010\u000f\u0088\u0001\u0004\u0092\u0001\u0004\u0018\u00010\u0005\u00a8\u0006$"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/Result;",
|
|
"T",
|
|
"Ljava/io/Serializable;",
|
|
"Lkotlin/io/Serializable;",
|
|
"value",
|
|
"",
|
|
"constructor-impl",
|
|
"(Ljava/lang/Object;)Ljava/lang/Object;",
|
|
"isFailure",
|
|
"",
|
|
"isFailure-impl",
|
|
"(Ljava/lang/Object;)Z",
|
|
"isSuccess",
|
|
"isSuccess-impl",
|
|
"getValue$annotations",
|
|
"()V",
|
|
"equals",
|
|
"other",
|
|
"equals-impl",
|
|
"(Ljava/lang/Object;Ljava/lang/Object;)Z",
|
|
"exceptionOrNull",
|
|
"",
|
|
"exceptionOrNull-impl",
|
|
"(Ljava/lang/Object;)Ljava/lang/Throwable;",
|
|
"getOrNull",
|
|
"getOrNull-impl",
|
|
"hashCode",
|
|
"",
|
|
"hashCode-impl",
|
|
"(Ljava/lang/Object;)I",
|
|
"toString",
|
|
"",
|
|
"toString-impl",
|
|
"(Ljava/lang/Object;)Ljava/lang/String;",
|
|
"Companion",
|
|
"Failure",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/jvm/JvmInline;
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lkotlin/Result$Companion;
|
|
|
|
|
|
# instance fields
|
|
.field private final value:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lkotlin/Result$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/Result$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lkotlin/Result;->Companion:Lkotlin/Result$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private synthetic constructor <init>(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 22
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlin/Result;->value:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic box-impl(Ljava/lang/Object;)Lkotlin/Result;
|
|
.locals 1
|
|
|
|
new-instance v0, Lkotlin/Result;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/Result;-><init>(Ljava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Object;",
|
|
")",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static equals-impl(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
instance-of v0, p1, Lkotlin/Result;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
check-cast p1, Lkotlin/Result;
|
|
|
|
invoke-virtual {p1}, Lkotlin/Result;->unbox-impl()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final equals-impl0(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
.locals 1
|
|
|
|
.line 64
|
|
instance-of v0, p0, Lkotlin/Result$Failure;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lkotlin/Result$Failure;
|
|
|
|
iget-object p0, p0, Lkotlin/Result$Failure;->exception:Ljava/lang/Throwable;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final getOrNull-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Object;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 52
|
|
invoke-static {p0}, Lkotlin/Result;->isFailure-impl(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic getValue$annotations()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static hashCode-impl(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result p0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final isFailure-impl(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 38
|
|
instance-of p0, p0, Lkotlin/Result$Failure;
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final isSuccess-impl(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 32
|
|
instance-of p0, p0, Lkotlin/Result$Failure;
|
|
|
|
xor-int/lit8 p0, p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static toString-impl(Ljava/lang/Object;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 75
|
|
instance-of v0, p0, Lkotlin/Result$Failure;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Lkotlin/Result$Failure;
|
|
|
|
invoke-virtual {p0}, Lkotlin/Result$Failure;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 76
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
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;
|
|
|
|
move-result-object p0
|
|
|
|
const/16 v0, 0x29
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lkotlin/Result;->value:Ljava/lang/Object;
|
|
|
|
invoke-static {p0, p1}, Lkotlin/Result;->equals-impl(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lkotlin/Result;->value:Ljava/lang/Object;
|
|
|
|
invoke-static {p0}, Lkotlin/Result;->hashCode-impl(Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lkotlin/Result;->value:Ljava/lang/Object;
|
|
|
|
.line 73
|
|
invoke-static {p0}, Lkotlin/Result;->toString-impl(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final synthetic unbox-impl()Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lkotlin/Result;->value:Ljava/lang/Object;
|
|
|
|
return-object p0
|
|
.end method
|