132 lines
3 KiB
Smali
132 lines
3 KiB
Smali
.class public final Lkotlinx/coroutines/internal/g$b;
|
|
.super Lkotlin/jvm/internal/l;
|
|
.source "ExceptionsConstuctor.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lkotlinx/coroutines/internal/g;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/l;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Ljava/lang/Throwable;",
|
|
"Ljava/lang/Throwable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $constructor$inlined:Ljava/lang/reflect/Constructor;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/reflect/Constructor;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/internal/g$b;->$constructor$inlined:Ljava/lang/reflect/Constructor;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/l;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private x(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
.locals 3
|
|
|
|
const-string v0, "e"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:try_start_0
|
|
sget-object v0, Lkotlin/m;->bmD:Lkotlin/m$a;
|
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/g$b;->$constructor$inlined:Ljava/lang/reflect/Constructor;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object p1, v1, v2
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Lkotlin/r;
|
|
|
|
const-string v0, "null cannot be cast to non-null type kotlin.Throwable"
|
|
|
|
invoke-direct {p1, v0}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
sget-object v0, Lkotlin/m;->bmD:Lkotlin/m$a;
|
|
|
|
invoke-static {p1}, Lkotlin/n;->o(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lkotlin/m;->aZ(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-static {p1}, Lkotlin/m;->aX(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_1
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
invoke-direct {p0, p1}, Lkotlinx/coroutines/internal/g$b;->x(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|