124 lines
2.5 KiB
Smali
124 lines
2.5 KiB
Smali
.class public final Lu/a/a2/g;
|
|
.super Lt/u/b/k;
|
|
.source "ExceptionsConstuctor.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lt/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Ljava/lang/Throwable;",
|
|
"Ljava/lang/Throwable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public 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, Lu/a/a2/g;->$constructor$inlined:Ljava/lang/reflect/Constructor;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lt/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {p0, p1}, Lu/a/a2/g;->invoke(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
:try_start_0
|
|
sget-object v1, Lt/i;->d:Lt/i$a;
|
|
|
|
iget-object v1, p0, Lu/a/a2/g;->$constructor$inlined:Ljava/lang/reflect/Constructor;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object p1, v2, v3
|
|
|
|
invoke-virtual {v1, v2}, 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}, Lt/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Lt/l;
|
|
|
|
const-string v1, "null cannot be cast to non-null type kotlin.Throwable"
|
|
|
|
invoke-direct {p1, v1}, Lt/l;-><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 v1, Lt/i;->d:Lt/i$a;
|
|
|
|
invoke-static {p1}, Le/k/a/b/e/p/g;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-static {p1}, Lt/i;->isFailure-impl(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
move-object p1, v0
|
|
|
|
:cond_1
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
return-object p1
|
|
|
|
:cond_2
|
|
const-string p1, "e"
|
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|