mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
202 lines
5.4 KiB
Smali
202 lines
5.4 KiB
Smali
|
.class public final Landroidx/navigation/NavigatorProvider$Companion;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "NavigatorProvider.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/navigation/NavigatorProvider;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = "Companion"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0003\u0008\u0080\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J!\u0010\u0007\u001a\u00020\u00062\u0012\u0010\u0008\u001a\u000e\u0012\n\u0008\u0001\u0012\u0006\u0012\u0002\u0008\u00030\t0\u0005H\u0001\u00a2\u0006\u0002\u0008\nJ\u0017\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u0006H\u0000\u00a2\u0006\u0002\u0008\u000eR \u0010\u0003\u001a\u0014\u0012\u0008\u0012\u0006\u0012\u0002\u0008\u00030\u0005\u0012\u0006\u0012\u0004\u0018\u00010\u00060\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000f"
|
||
|
}
|
||
|
d2 = {
|
||
|
"Landroidx/navigation/NavigatorProvider$Companion;",
|
||
|
"",
|
||
|
"()V",
|
||
|
"annotationNames",
|
||
|
"",
|
||
|
"Ljava/lang/Class;",
|
||
|
"",
|
||
|
"getNameForNavigator",
|
||
|
"navigatorClass",
|
||
|
"Landroidx/navigation/Navigator;",
|
||
|
"getNameForNavigator$navigation_common_release",
|
||
|
"validateName",
|
||
|
"",
|
||
|
"name",
|
||
|
"validateName$navigation_common_release",
|
||
|
"navigation-common_release"
|
||
|
}
|
||
|
k = 0x1
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x8,
|
||
|
0x0
|
||
|
}
|
||
|
xi = 0x30
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method private constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.line 118
|
||
|
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}, Landroidx/navigation/NavigatorProvider$Companion;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final getNameForNavigator$navigation_common_release(Ljava/lang/Class;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/Class<",
|
||
|
"+",
|
||
|
"Landroidx/navigation/Navigator<",
|
||
|
"*>;>;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "navigatorClass"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 126
|
||
|
invoke-static {}, Landroidx/navigation/NavigatorProvider;->access$getAnnotationNames$cp()Ljava/util/Map;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/String;
|
||
|
|
||
|
if-nez v0, :cond_2
|
||
|
|
||
|
.line 128
|
||
|
const-class v0, Landroidx/navigation/Navigator$Name;
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/Class;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroidx/navigation/Navigator$Name;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 131
|
||
|
invoke-interface {v0}, Landroidx/navigation/Navigator$Name;->value()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 132
|
||
|
:goto_0
|
||
|
invoke-virtual {p0, v0}, Landroidx/navigation/NavigatorProvider$Companion;->validateName$navigation_common_release(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
.line 135
|
||
|
invoke-static {}, Landroidx/navigation/NavigatorProvider;->access$getAnnotationNames$cp()Ljava/util/Map;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-interface {p0, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 133
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "No @Navigator.Name annotation found for "
|
||
|
|
||
|
invoke-direct {p0, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p0, p1}, 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
|
||
|
|
||
|
.line 132
|
||
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
.line 137
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final validateName$navigation_common_release(Ljava/lang/String;)Z
|
||
|
.locals 0
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
.line 121
|
||
|
check-cast p1, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-lez p0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|