Rabbit-R1/switch port/smali/smali_classes3/kotlin/Result$Companion.smali
2024-05-21 17:08:36 -04:00

109 lines
3 KiB
Smali

.class public final Lkotlin/Result$Companion;
.super Ljava/lang/Object;
.source "Result.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/Result;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0003\n\u0002\u0008\u0005\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\"\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u0002H\u00050\u0004\"\u0004\u0008\u0001\u0010\u00052\u0006\u0010\u0006\u001a\u00020\u0007H\u0087\u0008\u00a2\u0006\u0002\u0010\u0008J\"\u0010\t\u001a\u0008\u0012\u0004\u0012\u0002H\u00050\u0004\"\u0004\u0008\u0001\u0010\u00052\u0006\u0010\n\u001a\u0002H\u0005H\u0087\u0008\u00a2\u0006\u0002\u0010\u000b\u00a8\u0006\u000c"
}
d2 = {
"Lkotlin/Result$Companion;",
"",
"()V",
"failure",
"Lkotlin/Result;",
"T",
"exception",
"",
"(Ljava/lang/Throwable;)Ljava/lang/Object;",
"success",
"value",
"(Ljava/lang/Object;)Ljava/lang/Object;",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 85
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Lkotlin/Result$Companion;-><init>()V
return-void
.end method
.method private final failure(Ljava/lang/Throwable;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Throwable;",
")",
"Ljava/lang/Object;"
}
.end annotation
const-string p0, "exception"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 102
invoke-static {p1}, Lkotlin/ResultKt;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p0
invoke-static {p0}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method private final success(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)",
"Ljava/lang/Object;"
}
.end annotation
.line 93
invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method