Rabbit-R1/android (non root)/smali/smali_classes2/androidx/navigation/NavActionBuilder.smali
2024-05-21 17:08:36 -04:00

221 lines
6.7 KiB
Smali

.class public final Landroidx/navigation/NavActionBuilder;
.super Ljava/lang/Object;
.source "NavDestinationBuilder.kt"
# annotations
.annotation runtime Landroidx/navigation/NavDestinationDsl;
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nNavDestinationBuilder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NavDestinationBuilder.kt\nandroidx/navigation/NavActionBuilder\n+ 2 ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n*L\n1#1,259:1\n37#2,2:260\n*S KotlinDebug\n*F\n+ 1 NavDestinationBuilder.kt\nandroidx/navigation/NavActionBuilder\n*L\n206#1:260,2\n*E\n"
.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\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0008\u0007\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\r\u0010\u0010\u001a\u00020\u0011H\u0000\u00a2\u0006\u0002\u0008\u0012J\u001f\u0010\u000e\u001a\u00020\u00132\u0017\u0010\u0014\u001a\u0013\u0012\u0004\u0012\u00020\u0016\u0012\u0004\u0012\u00020\u00130\u0015\u00a2\u0006\u0002\u0008\u0017R\u001f\u0010\u0003\u001a\u0010\u0012\u0004\u0012\u00020\u0005\u0012\u0006\u0012\u0004\u0018\u00010\u00010\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0006\u0010\u0007R\u001a\u0010\u0008\u001a\u00020\tX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\n\u0010\u000b\"\u0004\u0008\u000c\u0010\rR\u0010\u0010\u000e\u001a\u0004\u0018\u00010\u000fX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0018"
}
d2 = {
"Landroidx/navigation/NavActionBuilder;",
"",
"()V",
"defaultArguments",
"",
"",
"getDefaultArguments",
"()Ljava/util/Map;",
"destinationId",
"",
"getDestinationId",
"()I",
"setDestinationId",
"(I)V",
"navOptions",
"Landroidx/navigation/NavOptions;",
"build",
"Landroidx/navigation/NavAction;",
"build$navigation_common_release",
"",
"optionsBuilder",
"Lkotlin/Function1;",
"Landroidx/navigation/NavOptionsBuilder;",
"Lkotlin/ExtensionFunctionType;",
"navigation-common_release"
}
k = 0x1
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final defaultArguments:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field private destinationId:I
.field private navOptions:Landroidx/navigation/NavOptions;
# direct methods
.method public constructor <init>()V
.locals 1
.line 174
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 190
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
check-cast v0, Ljava/util/Map;
iput-object v0, p0, Landroidx/navigation/NavActionBuilder;->defaultArguments:Ljava/util/Map;
return-void
.end method
# virtual methods
.method public final build$navigation_common_release()Landroidx/navigation/NavAction;
.locals 4
.line 201
new-instance v0, Landroidx/navigation/NavAction;
iget v1, p0, Landroidx/navigation/NavActionBuilder;->destinationId:I
iget-object v2, p0, Landroidx/navigation/NavActionBuilder;->navOptions:Landroidx/navigation/NavOptions;
iget-object v3, p0, Landroidx/navigation/NavActionBuilder;->defaultArguments:Ljava/util/Map;
.line 203
invoke-interface {v3}, Ljava/util/Map;->isEmpty()Z
move-result v3
if-eqz v3, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
iget-object p0, p0, Landroidx/navigation/NavActionBuilder;->defaultArguments:Ljava/util/Map;
.line 206
invoke-static {p0}, Lkotlin/collections/MapsKt;->toList(Ljava/util/Map;)Ljava/util/List;
move-result-object p0
check-cast p0, Ljava/util/Collection;
const/4 v3, 0x0
new-array v3, v3, [Lkotlin/Pair;
.line 261
invoke-interface {p0, v3}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p0
.line 206
check-cast p0, [Lkotlin/Pair;
array-length v3, p0
invoke-static {p0, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object p0
check-cast p0, [Lkotlin/Pair;
invoke-static {p0}, Landroidx/core/os/BundleKt;->bundleOf([Lkotlin/Pair;)Landroid/os/Bundle;
move-result-object p0
.line 201
:goto_0
invoke-direct {v0, v1, v2, p0}, Landroidx/navigation/NavAction;-><init>(ILandroidx/navigation/NavOptions;Landroid/os/Bundle;)V
return-object v0
.end method
.method public final getDefaultArguments()Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
iget-object p0, p0, Landroidx/navigation/NavActionBuilder;->defaultArguments:Ljava/util/Map;
return-object p0
.end method
.method public final getDestinationId()I
.locals 0
iget p0, p0, Landroidx/navigation/NavActionBuilder;->destinationId:I
return p0
.end method
.method public final navOptions(Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroidx/navigation/NavOptionsBuilder;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const-string v0, "optionsBuilder"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 198
new-instance v0, Landroidx/navigation/NavOptionsBuilder;
invoke-direct {v0}, Landroidx/navigation/NavOptionsBuilder;-><init>()V
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {v0}, Landroidx/navigation/NavOptionsBuilder;->build$navigation_common_release()Landroidx/navigation/NavOptions;
move-result-object p1
iput-object p1, p0, Landroidx/navigation/NavActionBuilder;->navOptions:Landroidx/navigation/NavOptions;
return-void
.end method
.method public final setDestinationId(I)V
.locals 0
iput p1, p0, Landroidx/navigation/NavActionBuilder;->destinationId:I
return-void
.end method