2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lkotlin/n;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Result.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "exception"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Lkotlin/m$b;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/m$b;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
.method public static final throwOnFailure(Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
instance-of v0, p0, Lkotlin/m$b;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p0, Lkotlin/m$b;
|
|
|
|
|
|
|
|
iget-object p0, p0, Lkotlin/m$b;->exception:Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|