Rabbit-R1/original r1/smali/smali_classes2/androidx/work/InputMergerKt.smali

123 lines
3.3 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public final Landroidx/work/InputMergerKt;
.super Ljava/lang/Object;
.source "InputMerger.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u0010\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u001a\u0012\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u0004\u001a\u00020\u0001H\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0005"
}
d2 = {
"TAG",
"",
"fromClassName",
"Landroidx/work/InputMerger;",
"className",
"work-runtime_release"
}
k = 0x2
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# static fields
.field private static final TAG:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 2
const-string v0, "InputMerger"
.line 41
invoke-static {v0}, Landroidx/work/Logger;->tagWithPrefix(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v1, "tagWithPrefix(\"InputMerger\")"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Landroidx/work/InputMergerKt;->TAG:Ljava/lang/String;
return-void
.end method
.method public static final fromClassName(Ljava/lang/String;)Landroidx/work/InputMerger;
.locals 5
const-string v0, "className"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 45
:try_start_0
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
const/4 v1, 0x0
new-array v2, v1, [Ljava/lang/Class;
.line 46
invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "null cannot be cast to non-null type androidx.work.InputMerger"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v0, Landroidx/work/InputMerger;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object v0
:catch_0
move-exception v0
.line 48
invoke-static {}, Landroidx/work/Logger;->get()Landroidx/work/Logger;
move-result-object v1
sget-object v2, Landroidx/work/InputMergerKt;->TAG:Ljava/lang/String;
new-instance v3, Ljava/lang/StringBuilder;
const-string v4, "Trouble instantiating "
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
check-cast v0, Ljava/lang/Throwable;
invoke-virtual {v1, v2, p0, v0}, Landroidx/work/Logger;->error(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
const/4 p0, 0x0
return-object p0
.end method