.class public final Landroidx/navigation/NavDeepLink; .super Ljava/lang/Object; .source "NavDeepLink.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/navigation/NavDeepLink$Builder;, Landroidx/navigation/NavDeepLink$Companion;, Landroidx/navigation/NavDeepLink$MimeType;, Landroidx/navigation/NavDeepLink$ParamQuery; } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nNavDeepLink.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NavDeepLink.kt\nandroidx/navigation/NavDeepLink\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+ 3 _Maps.kt\nkotlin/collections/MapsKt___MapsKt\n+ 4 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,651:1\n1360#2:652\n1446#2,5:653\n1559#2:658\n1590#2,4:659\n1559#2:663\n1590#2,4:664\n1855#2:670\n1559#2:671\n1590#2,4:672\n1856#2:676\n215#3,2:668\n1#4:677\n*S KotlinDebug\n*F\n+ 1 NavDeepLink.kt\nandroidx/navigation/NavDeepLink\n*L\n85#1:652\n85#1:653,5\n229#1:658\n229#1:659,4\n247#1:663\n247#1:664,4\n295#1:670\n307#1:671\n307#1:672,4\n295#1:676\n269#1:668,2\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\u008a\u0001\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0008\n\u0002\u0010 \n\u0002\u0008\u0003\n\u0002\u0010!\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0010\u000b\n\u0002\u0008\u0012\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010$\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u000c\n\u0002\u0018\u0002\n\u0002\u0008\u0011\u0018\u0000 m2\u00020\u0001:\u0004lmnoB\u000f\u0008\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004B%\u0008\u0000\u0012\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\u0006\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u0008J*\u0010;\u001a\u00020<2\u0006\u0010\u0002\u001a\u00020\u00032\u000c\u0010=\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u00102\n\u0010>\u001a\u00060?j\u0002`@H\u0002J\u0017\u0010A\u001a\u00020B2\u0008\u0010C\u001a\u0004\u0018\u00010DH\u0000\u00a2\u0006\u0002\u0008EJ\u0013\u0010F\u001a\u00020\"2\u0008\u0010G\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J(\u0010H\u001a\u0004\u0018\u00010I2\u0006\u0010J\u001a\u00020D2\u0014\u0010K\u001a\u0010\u0012\u0004\u0012\u00020\u0003\u0012\u0006\u0012\u0004\u0018\u00010M0LH\u0007J-\u0010N\u001a\u00020I2\u0008\u0010J\u001a\u0004\u0018\u00010D2\u0014\u0010K\u001a\u0010\u0012\u0004\u0012\u00020\u0003\u0012\u0006\u0012\u0004\u0018\u00010M0LH\u0000\u00a2\u0006\u0002\u0008OJ.\u0010P\u001a\u00020\"2\u0006\u0010Q\u001a\u00020R2\u0006\u0010S\u001a\u00020I2\u0014\u0010K\u001a\u0010\u0012\u0004\u0012\u00020\u0003\u0012\u0006\u0012\u0004\u0018\u00010M0LH\u0002J.\u0010T\u001a\u00020\"2\u0006\u0010J\u001a\u00020D2\u0006\u0010S\u001a\u00020I2\u0014\u0010K\u001a\u0010\u0012\u0004\u0012\u00020\u0003\u0012\u0006\u0012\u0004\u0018\u00010M0LH\u0002J0\u0010U\u001a\u00020<2\u0008\u0010V\u001a\u0004\u0018\u00010\u00032\u0006\u0010S\u001a\u00020I2\u0014\u0010K\u001a\u0010\u0012\u0004\u0012\u00020\u0003\u0012\u0006\u0012\u0004\u0018\u00010M0LH\u0002J\u0010\u0010W\u001a\u00020B2\u0006\u0010\u0007\u001a\u00020\u0003H\u0007J\u0008\u0010X\u001a\u00020BH\u0016J\u0012\u0010Y\u001a\u00020\"2\u0008\u0010\u0006\u001a\u0004\u0018\u00010\u0003H\u0002J\u0012\u0010Z\u001a\u00020\"2\u0008\u0010\u0007\u001a\u0004\u0018\u00010\u0003H\u0002J\u0012\u0010[\u001a\u00020\"2\u0008\u0010\u0002\u001a\u0004\u0018\u00010DH\u0002J\u0015\u0010\\\u001a\u00020\"2\u0006\u0010\u0002\u001a\u00020DH\u0000\u00a2\u0006\u0002\u0008]J\u0015\u0010\\\u001a\u00020\"2\u0006\u0010^\u001a\u00020_H\u0000\u00a2\u0006\u0002\u0008]J*\u0010`\u001a\u00020\"2\u0006\u0010S\u001a\u00020I2\u0006\u0010a\u001a\u00020\u00032\u0006\u0010b\u001a\u00020\u00032\u0008\u0010c\u001a\u0004\u0018\u00010MH\u0002J,\u0010d\u001a\u00020\"2\u0006\u0010S\u001a\u00020I2\u0006\u0010a\u001a\u00020\u00032\u0008\u0010b\u001a\u0004\u0018\u00010\u00032\u0008\u0010c\u001a\u0004\u0018\u00010MH\u0002J\u001c\u0010e\u001a\u0016\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u0010\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0015H\u0002J>\u0010f\u001a\u00020\"2\u000e\u0010g\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000c2\u0006\u0010h\u001a\u0002062\u0006\u0010S\u001a\u00020I2\u0014\u0010K\u001a\u0010\u0012\u0004\u0012\u00020\u0003\u0012\u0006\u0012\u0004\u0018\u00010M0LH\u0002J\u0008\u0010i\u001a\u00020", "", "isExactDeepLink", "()Z", "setExactDeepLink$navigation_common_release", "(Z)V", "isParameterizedQuery", "isParameterizedQuery$delegate", "isSingleQueryParamValueOnly", "getMimeType", "mimeTypePattern", "getMimeTypePattern", "mimeTypePattern$delegate", "mimeTypeRegex", "pathArgs", "pathPattern", "getPathPattern", "pathPattern$delegate", "pathRegex", "queryArgsMap", "", "Landroidx/navigation/NavDeepLink$ParamQuery;", "getQueryArgsMap", "()Ljava/util/Map;", "queryArgsMap$delegate", "getUriPattern", "buildRegex", "", "args", "uriRegex", "Ljava/lang/StringBuilder;", "Lkotlin/text/StringBuilder;", "calculateMatchingPathSegments", "", "requestedLink", "Landroid/net/Uri;", "calculateMatchingPathSegments$navigation_common_release", "equals", "other", "getMatchingArguments", "Landroid/os/Bundle;", "deepLink", "arguments", "", "Landroidx/navigation/NavArgument;", "getMatchingPathAndQueryArgs", "getMatchingPathAndQueryArgs$navigation_common_release", "getMatchingPathArguments", "matcher", "Ljava/util/regex/Matcher;", "bundle", "getMatchingQueryArguments", "getMatchingUriFragment", "fragment", "getMimeTypeMatchRating", "hashCode", "matchAction", "matchMimeType", "matchUri", "matches", "matches$navigation_common_release", "deepLinkRequest", "Landroidx/navigation/NavDeepLinkRequest;", "parseArgument", "name", "value", "argument", "parseArgumentForRepeatedParam", "parseFragment", "parseInputParams", "inputParams", "storedParam", "parseMime", "parsePath", "parseQuery", "Builder", "Companion", "MimeType", "ParamQuery", "navigation-common_release" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # static fields .field private static final Companion:Landroidx/navigation/NavDeepLink$Companion; .field private static final FILL_IN_PATTERN:Ljava/util/regex/Pattern; .field private static final SCHEME_PATTERN:Ljava/util/regex/Pattern; # instance fields .field private final action:Ljava/lang/String; .field private final fragArgs$delegate:Lkotlin/Lazy; .field private final fragArgsAndRegex$delegate:Lkotlin/Lazy; .field private final fragPattern$delegate:Lkotlin/Lazy; .field private final fragRegex$delegate:Lkotlin/Lazy; .field private isExactDeepLink:Z .field private final isParameterizedQuery$delegate:Lkotlin/Lazy; .field private isSingleQueryParamValueOnly:Z .field private final mimeType:Ljava/lang/String; .field private final mimeTypePattern$delegate:Lkotlin/Lazy; .field private mimeTypeRegex:Ljava/lang/String; .field private final pathArgs:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation .end field .field private final pathPattern$delegate:Lkotlin/Lazy; .field private pathRegex:Ljava/lang/String; .field private final queryArgsMap$delegate:Lkotlin/Lazy; .field private final uriPattern:Ljava/lang/String; # direct methods .method static constructor ()V .locals 2 new-instance v0, Landroidx/navigation/NavDeepLink$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Landroidx/navigation/NavDeepLink$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Landroidx/navigation/NavDeepLink;->Companion:Landroidx/navigation/NavDeepLink$Companion; const-string v0, "^[a-zA-Z]+[+\\w\\-.]*:" .line 542 invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; move-result-object v0 sput-object v0, Landroidx/navigation/NavDeepLink;->SCHEME_PATTERN:Ljava/util/regex/Pattern; const-string v0, "\\{(.+?)\\}" .line 543 invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; move-result-object v0 sput-object v0, Landroidx/navigation/NavDeepLink;->FILL_IN_PATTERN:Ljava/util/regex/Pattern; return-void .end method .method public constructor (Ljava/lang/String;)V .locals 1 const-string v0, "uri" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 .line 95 invoke-direct {p0, p1, v0, v0}, Landroidx/navigation/NavDeepLink;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V return-void .end method .method public constructor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V .locals 0 .line 30 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; iput-object p2, p0, Landroidx/navigation/NavDeepLink;->action:Ljava/lang/String; iput-object p3, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; .line 51 new-instance p1, Ljava/util/ArrayList; invoke-direct {p1}, Ljava/util/ArrayList;->()V check-cast p1, Ljava/util/List; iput-object p1, p0, Landroidx/navigation/NavDeepLink;->pathArgs:Ljava/util/List; .line 53 new-instance p1, Landroidx/navigation/NavDeepLink$pathPattern$2; invoke-direct {p1, p0}, Landroidx/navigation/NavDeepLink$pathPattern$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p1, Lkotlin/jvm/functions/Function0; invoke-static {p1}, Lkotlin/LazyKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->pathPattern$delegate:Lkotlin/Lazy; .line 58 new-instance p1, Landroidx/navigation/NavDeepLink$isParameterizedQuery$2; invoke-direct {p1, p0}, Landroidx/navigation/NavDeepLink$isParameterizedQuery$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p1, Lkotlin/jvm/functions/Function0; invoke-static {p1}, Lkotlin/LazyKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->isParameterizedQuery$delegate:Lkotlin/Lazy; .line 61 sget-object p1, Lkotlin/LazyThreadSafetyMode;->NONE:Lkotlin/LazyThreadSafetyMode; new-instance p2, Landroidx/navigation/NavDeepLink$queryArgsMap$2; invoke-direct {p2, p0}, Landroidx/navigation/NavDeepLink$queryArgsMap$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p2, Lkotlin/jvm/functions/Function0; invoke-static {p1, p2}, Lkotlin/LazyKt;->lazy(Lkotlin/LazyThreadSafetyMode;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->queryArgsMap$delegate:Lkotlin/Lazy; .line 66 sget-object p1, Lkotlin/LazyThreadSafetyMode;->NONE:Lkotlin/LazyThreadSafetyMode; new-instance p2, Landroidx/navigation/NavDeepLink$fragArgsAndRegex$2; invoke-direct {p2, p0}, Landroidx/navigation/NavDeepLink$fragArgsAndRegex$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p2, Lkotlin/jvm/functions/Function0; invoke-static {p1, p2}, Lkotlin/LazyKt;->lazy(Lkotlin/LazyThreadSafetyMode;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->fragArgsAndRegex$delegate:Lkotlin/Lazy; .line 67 sget-object p1, Lkotlin/LazyThreadSafetyMode;->NONE:Lkotlin/LazyThreadSafetyMode; new-instance p2, Landroidx/navigation/NavDeepLink$fragArgs$2; invoke-direct {p2, p0}, Landroidx/navigation/NavDeepLink$fragArgs$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p2, Lkotlin/jvm/functions/Function0; invoke-static {p1, p2}, Lkotlin/LazyKt;->lazy(Lkotlin/LazyThreadSafetyMode;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->fragArgs$delegate:Lkotlin/Lazy; .line 70 sget-object p1, Lkotlin/LazyThreadSafetyMode;->NONE:Lkotlin/LazyThreadSafetyMode; new-instance p2, Landroidx/navigation/NavDeepLink$fragRegex$2; invoke-direct {p2, p0}, Landroidx/navigation/NavDeepLink$fragRegex$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p2, Lkotlin/jvm/functions/Function0; invoke-static {p1, p2}, Lkotlin/LazyKt;->lazy(Lkotlin/LazyThreadSafetyMode;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->fragRegex$delegate:Lkotlin/Lazy; .line 73 new-instance p1, Landroidx/navigation/NavDeepLink$fragPattern$2; invoke-direct {p1, p0}, Landroidx/navigation/NavDeepLink$fragPattern$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p1, Lkotlin/jvm/functions/Function0; invoke-static {p1}, Lkotlin/LazyKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->fragPattern$delegate:Lkotlin/Lazy; .line 79 new-instance p1, Landroidx/navigation/NavDeepLink$mimeTypePattern$2; invoke-direct {p1, p0}, Landroidx/navigation/NavDeepLink$mimeTypePattern$2;->(Landroidx/navigation/NavDeepLink;)V check-cast p1, Lkotlin/jvm/functions/Function0; invoke-static {p1}, Lkotlin/LazyKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; move-result-object p1 iput-object p1, p0, Landroidx/navigation/NavDeepLink;->mimeTypePattern$delegate:Lkotlin/Lazy; .line 647 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->parsePath()V .line 648 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->parseMime()V return-void .end method .method public static final synthetic access$getFragArgsAndRegex(Landroidx/navigation/NavDeepLink;)Lkotlin/Pair; .locals 0 .line 30 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getFragArgsAndRegex()Lkotlin/Pair; move-result-object p0 return-object p0 .end method .method public static final synthetic access$getFragRegex(Landroidx/navigation/NavDeepLink;)Ljava/lang/String; .locals 0 .line 30 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getFragRegex()Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static final synthetic access$getMimeTypeRegex$p(Landroidx/navigation/NavDeepLink;)Ljava/lang/String; .locals 0 .line 30 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeTypeRegex:Ljava/lang/String; return-object p0 .end method .method public static final synthetic access$getPathRegex$p(Landroidx/navigation/NavDeepLink;)Ljava/lang/String; .locals 0 .line 30 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->pathRegex:Ljava/lang/String; return-object p0 .end method .method public static final synthetic access$parseFragment(Landroidx/navigation/NavDeepLink;)Lkotlin/Pair; .locals 0 .line 30 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->parseFragment()Lkotlin/Pair; move-result-object p0 return-object p0 .end method .method public static final synthetic access$parseQuery(Landroidx/navigation/NavDeepLink;)Ljava/util/Map; .locals 0 .line 30 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->parseQuery()Ljava/util/Map; move-result-object p0 return-object p0 .end method .method private final buildRegex(Ljava/lang/String;Ljava/util/List;Ljava/lang/StringBuilder;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/util/List<", "Ljava/lang/String;", ">;", "Ljava/lang/StringBuilder;", ")V" } .end annotation sget-object p0, Landroidx/navigation/NavDeepLink;->FILL_IN_PATTERN:Ljava/util/regex/Pattern; .line 102 move-object v0, p1 check-cast v0, Ljava/lang/CharSequence; invoke-virtual {p0, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object p0 const/4 v0, 0x0 .line 104 :goto_0 invoke-virtual {p0}, Ljava/util/regex/Matcher;->find()Z move-result v1 if-eqz v1, :cond_1 const/4 v1, 0x1 .line 105 invoke-virtual {p0, v1}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; move-result-object v1 const-string v2, "null cannot be cast to non-null type kotlin.String" invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V .line 106 invoke-interface {p2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z .line 108 invoke-virtual {p0}, Ljava/util/regex/Matcher;->start()I move-result v1 if-le v1, v0, :cond_0 .line 109 invoke-virtual {p0}, Ljava/util/regex/Matcher;->start()I move-result v1 invoke-virtual {p1, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v0 const-string v1, "this as java.lang.String\u2026ing(startIndex, endIndex)" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v0}, Ljava/util/regex/Pattern;->quote(Ljava/lang/String;)Ljava/lang/String; move-result-object v0 invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_0 const-string v0, "([^/]+?)" .line 111 invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 112 invoke-virtual {p0}, Ljava/util/regex/Matcher;->end()I move-result v0 goto :goto_0 .line 114 :cond_1 invoke-virtual {p1}, Ljava/lang/String;->length()I move-result p0 if-ge v0, p0, :cond_2 .line 116 invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String; move-result-object p0 const-string p1, "this as java.lang.String).substring(startIndex)" invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p0}, Ljava/util/regex/Pattern;->quote(Ljava/lang/String;)Ljava/lang/String; move-result-object p0 invoke-virtual {p3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_2 return-void .end method .method private final getFragArgs()Ljava/util/List; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation iget-object p0, p0, Landroidx/navigation/NavDeepLink;->fragArgs$delegate:Lkotlin/Lazy; .line 67 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/util/List; return-object p0 .end method .method private final getFragArgsAndRegex()Lkotlin/Pair; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lkotlin/Pair<", "Ljava/util/List<", "Ljava/lang/String;", ">;", "Ljava/lang/String;", ">;" } .end annotation iget-object p0, p0, Landroidx/navigation/NavDeepLink;->fragArgsAndRegex$delegate:Lkotlin/Lazy; .line 66 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Lkotlin/Pair; return-object p0 .end method .method private final getFragPattern()Ljava/util/regex/Pattern; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->fragPattern$delegate:Lkotlin/Lazy; .line 73 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/util/regex/Pattern; return-object p0 .end method .method private final getFragRegex()Ljava/lang/String; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->fragRegex$delegate:Lkotlin/Lazy; .line 70 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/lang/String; return-object p0 .end method .method private final getMatchingPathArguments(Ljava/util/regex/Matcher;Landroid/os/Bundle;Ljava/util/Map;)Z .locals 8 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/regex/Matcher;", "Landroid/os/Bundle;", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavArgument;", ">;)Z" } .end annotation iget-object v0, p0, Landroidx/navigation/NavDeepLink;->pathArgs:Ljava/util/List; .line 247 check-cast v0, Ljava/lang/Iterable; .line 663 new-instance v1, Ljava/util/ArrayList; const/16 v2, 0xa invoke-static {v0, v2}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I move-result v2 invoke-direct {v1, v2}, Ljava/util/ArrayList;->(I)V check-cast v1, Ljava/util/Collection; .line 665 invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 const/4 v2, 0x0 move v3, v2 :goto_0 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v4 if-eqz v4, :cond_2 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v4 add-int/lit8 v5, v3, 0x1 if-gez v3, :cond_0 .line 666 invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V :cond_0 check-cast v4, Ljava/lang/String; .line 248 invoke-virtual {p1, v5}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; move-result-object v3 invoke-static {v3}, Landroid/net/Uri;->decode(Ljava/lang/String;)Ljava/lang/String; move-result-object v3 .line 249 invoke-interface {p3, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v6 check-cast v6, Landroidx/navigation/NavArgument; :try_start_0 const-string v7, "value" .line 251 invoke-static {v3, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, p2, v4, v3, v6}, Landroidx/navigation/NavDeepLink;->parseArgument(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Landroidx/navigation/NavArgument;)Z move-result v3 :try_end_0 .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0 if-eqz v3, :cond_1 return v2 .line 260 :cond_1 sget-object v3, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; .line 666 invoke-interface {v1, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z move v3, v5 goto :goto_0 :catch_0 return v2 .line 667 :cond_2 check-cast v1, Ljava/util/List; const/4 p0, 0x1 return p0 .end method .method private final getMatchingQueryArguments(Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/Map;)Z .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/net/Uri;", "Landroid/os/Bundle;", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavArgument;", ">;)Z" } .end annotation .line 269 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getQueryArgsMap()Ljava/util/Map; move-result-object v0 .line 668 invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set; move-result-object v0 invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v0 :cond_0 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_2 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/util/Map$Entry; .line 270 invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; move-result-object v2 check-cast v2, Ljava/lang/String; .line 271 invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v1 check-cast v1, Landroidx/navigation/NavDeepLink$ParamQuery; .line 273 invoke-virtual {p1, v2}, Landroid/net/Uri;->getQueryParameters(Ljava/lang/String;)Ljava/util/List; move-result-object v2 iget-boolean v3, p0, Landroidx/navigation/NavDeepLink;->isSingleQueryParamValueOnly:Z if-eqz v3, :cond_1 .line 277 invoke-virtual {p1}, Landroid/net/Uri;->getQuery()Ljava/lang/String; move-result-object v3 if-eqz v3, :cond_1 .line 278 invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String; move-result-object v4 invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v4 if-nez v4, :cond_1 .line 279 invoke-static {v3}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List; move-result-object v2 .line 282 :cond_1 invoke-direct {p0, v2, v1, p2, p3}, Landroidx/navigation/NavDeepLink;->parseInputParams(Ljava/util/List;Landroidx/navigation/NavDeepLink$ParamQuery;Landroid/os/Bundle;Ljava/util/Map;)Z move-result v1 if-nez v1, :cond_0 const/4 p0, 0x0 return p0 :cond_2 const/4 p0, 0x1 return p0 .end method .method private final getMatchingUriFragment(Ljava/lang/String;Landroid/os/Bundle;Ljava/util/Map;)V .locals 7 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Landroid/os/Bundle;", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavArgument;", ">;)V" } .end annotation .line 226 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getFragPattern()Ljava/util/regex/Pattern; move-result-object v0 if-eqz v0, :cond_0 invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String; move-result-object p1 check-cast p1, Ljava/lang/CharSequence; invoke-virtual {v0, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object p1 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 if-nez p1, :cond_1 return-void .line 227 :cond_1 invoke-virtual {p1}, Ljava/util/regex/Matcher;->matches()Z move-result v0 if-nez v0, :cond_2 return-void .line 229 :cond_2 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getFragArgs()Ljava/util/List; move-result-object v0 check-cast v0, Ljava/lang/Iterable; .line 658 new-instance v1, Ljava/util/ArrayList; const/16 v2, 0xa invoke-static {v0, v2}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I move-result v2 invoke-direct {v1, v2}, Ljava/util/ArrayList;->(I)V check-cast v1, Ljava/util/Collection; .line 660 invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 const/4 v2, 0x0 :goto_1 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v3 if-eqz v3, :cond_5 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v3 add-int/lit8 v4, v2, 0x1 if-gez v2, :cond_3 .line 661 invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V :cond_3 check-cast v3, Ljava/lang/String; .line 230 invoke-virtual {p1, v4}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; move-result-object v2 invoke-static {v2}, Landroid/net/Uri;->decode(Ljava/lang/String;)Ljava/lang/String; move-result-object v2 .line 231 invoke-interface {p3, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v5 check-cast v5, Landroidx/navigation/NavArgument; :try_start_0 const-string v6, "value" .line 233 invoke-static {v2, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, p2, v3, v2, v5}, Landroidx/navigation/NavDeepLink;->parseArgument(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Landroidx/navigation/NavArgument;)Z move-result v2 :try_end_0 .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0 if-eqz v2, :cond_4 return-void .line 239 :cond_4 sget-object v2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; .line 661 invoke-interface {v1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z move v2, v4 goto :goto_1 :catch_0 return-void .line 662 :cond_5 check-cast v1, Ljava/util/List; return-void .end method .method private final getMimeTypePattern()Ljava/util/regex/Pattern; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeTypePattern$delegate:Lkotlin/Lazy; .line 79 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/util/regex/Pattern; return-object p0 .end method .method private final getPathPattern()Ljava/util/regex/Pattern; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->pathPattern$delegate:Lkotlin/Lazy; .line 53 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/util/regex/Pattern; return-object p0 .end method .method private final getQueryArgsMap()Ljava/util/Map; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavDeepLink$ParamQuery;", ">;" } .end annotation iget-object p0, p0, Landroidx/navigation/NavDeepLink;->queryArgsMap$delegate:Lkotlin/Lazy; .line 61 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/util/Map; return-object p0 .end method .method private final isParameterizedQuery()Z .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->isParameterizedQuery$delegate:Lkotlin/Lazy; .line 58 invoke-interface {p0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/lang/Boolean; invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z move-result p0 return p0 .end method .method private final matchAction(Ljava/lang/String;)Z .locals 4 const/4 v0, 0x1 const/4 v1, 0x0 if-nez p1, :cond_0 move v2, v0 goto :goto_0 :cond_0 move v2, v1 :goto_0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->action:Ljava/lang/String; if-eqz p0, :cond_1 move v3, v0 goto :goto_1 :cond_1 move v3, v1 :goto_1 if-ne v2, v3, :cond_3 :cond_2 move v0, v1 goto :goto_2 :cond_3 if-eqz p1, :cond_4 .line 145 invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result p0 if-eqz p0, :cond_2 :cond_4 :goto_2 return v0 .end method .method private final matchMimeType(Ljava/lang/String;)Z .locals 4 const/4 v0, 0x1 const/4 v1, 0x0 if-nez p1, :cond_0 move v2, v0 goto :goto_0 :cond_0 move v2, v1 :goto_0 iget-object v3, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; if-eqz v3, :cond_1 move v3, v0 goto :goto_1 :cond_1 move v3, v1 :goto_1 if-ne v2, v3, :cond_3 :cond_2 move v0, v1 goto :goto_2 :cond_3 if-eqz p1, :cond_4 .line 153 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getMimeTypePattern()Ljava/util/regex/Pattern; move-result-object p0 invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V check-cast p1, Ljava/lang/CharSequence; invoke-virtual {p0, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object p0 invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z move-result p0 if-eqz p0, :cond_2 :cond_4 :goto_2 return v0 .end method .method private final matchUri(Landroid/net/Uri;)Z .locals 4 const/4 v0, 0x1 const/4 v1, 0x0 if-nez p1, :cond_0 move v2, v0 goto :goto_0 :cond_0 move v2, v1 .line 135 :goto_0 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getPathPattern()Ljava/util/regex/Pattern; move-result-object v3 if-eqz v3, :cond_1 move v3, v0 goto :goto_1 :cond_1 move v3, v1 :goto_1 if-ne v2, v3, :cond_3 :cond_2 move v0, v1 goto :goto_2 :cond_3 if-eqz p1, :cond_4 .line 137 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getPathPattern()Ljava/util/regex/Pattern; move-result-object p0 invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String; move-result-object p1 check-cast p1, Ljava/lang/CharSequence; invoke-virtual {p0, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object p0 invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z move-result p0 if-eqz p0, :cond_2 :cond_4 :goto_2 return v0 .end method .method private final parseArgument(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Landroidx/navigation/NavArgument;)Z .locals 0 if-eqz p4, :cond_0 .line 348 invoke-virtual {p4}, Landroidx/navigation/NavArgument;->getType()Landroidx/navigation/NavType; move-result-object p0 .line 349 invoke-virtual {p0, p1, p2, p3}, Landroidx/navigation/NavType;->parseAndPut(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; goto :goto_0 .line 351 :cond_0 invoke-virtual {p1, p2, p3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V :goto_0 const/4 p0, 0x0 return p0 .end method .method private final parseArgumentForRepeatedParam(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Landroidx/navigation/NavArgument;)Z .locals 0 .line 362 invoke-virtual {p1, p2}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z move-result p0 if-nez p0, :cond_0 const/4 p0, 0x1 return p0 :cond_0 if-eqz p4, :cond_1 .line 366 invoke-virtual {p4}, Landroidx/navigation/NavArgument;->getType()Landroidx/navigation/NavType; move-result-object p0 .line 367 invoke-virtual {p0, p1, p2}, Landroidx/navigation/NavType;->get(Landroid/os/Bundle;Ljava/lang/String;)Ljava/lang/Object; move-result-object p4 .line 368 invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/navigation/NavType;->parseAndPut(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; :cond_1 const/4 p0, 0x0 return p0 .end method .method private final parseFragment()Lkotlin/Pair; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lkotlin/Pair<", "Ljava/util/List<", "Ljava/lang/String;", ">;", "Ljava/lang/String;", ">;" } .end annotation iget-object v0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; if-eqz v0, :cond_1 .line 616 invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; move-result-object v0 invoke-virtual {v0}, Landroid/net/Uri;->getFragment()Ljava/lang/String; move-result-object v0 if-nez v0, :cond_0 goto :goto_0 .line 618 :cond_0 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V check-cast v0, Ljava/util/List; iget-object v1, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; .line 619 invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; move-result-object v1 invoke-virtual {v1}, Landroid/net/Uri;->getFragment()Ljava/lang/String; move-result-object v1 .line 620 new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V .line 621 invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-direct {p0, v1, v0, v2}, Landroidx/navigation/NavDeepLink;->buildRegex(Ljava/lang/String;Ljava/util/List;Ljava/lang/StringBuilder;)V .line 622 invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 const-string v1, "fragRegex.toString()" invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v0, p0}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; move-result-object p0 return-object p0 :cond_1 :goto_0 const/4 p0, 0x0 return-object p0 .end method .method private final parseInputParams(Ljava/util/List;Landroidx/navigation/NavDeepLink$ParamQuery;Landroid/os/Bundle;Ljava/util/Map;)Z .locals 11 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Ljava/lang/String;", ">;", "Landroidx/navigation/NavDeepLink$ParamQuery;", "Landroid/os/Bundle;", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavArgument;", ">;)Z" } .end annotation if-eqz p1, :cond_7 .line 295 check-cast p1, Ljava/lang/Iterable; .line 670 invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :catch_0 :goto_0 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_7 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/String; .line 296 invoke-virtual {p2}, Landroidx/navigation/NavDeepLink$ParamQuery;->getParamRegex()Ljava/lang/String; move-result-object v1 if-eqz v1, :cond_0 const/16 v2, 0x20 .line 297 invoke-static {v1, v2}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern; move-result-object v1 .line 299 check-cast v0, Ljava/lang/CharSequence; invoke-virtual {v1, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v0 goto :goto_1 :cond_0 const/4 v0, 0x0 :goto_1 const/4 v1, 0x0 if-eqz v0, :cond_6 .line 301 invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z move-result v2 if-nez v2, :cond_1 goto/16 :goto_4 .line 305 :cond_1 new-instance v2, Landroid/os/Bundle; invoke-direct {v2}, Landroid/os/Bundle;->()V .line 307 :try_start_0 invoke-virtual {p2}, Landroidx/navigation/NavDeepLink$ParamQuery;->getArguments()Ljava/util/List; move-result-object v3 check-cast v3, Ljava/lang/Iterable; .line 671 new-instance v4, Ljava/util/ArrayList; const/16 v5, 0xa invoke-static {v3, v5}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I move-result v5 invoke-direct {v4, v5}, Ljava/util/ArrayList;->(I)V check-cast v4, Ljava/util/Collection; .line 673 invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v3 move v5, v1 :goto_2 invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z move-result v6 if-eqz v6, :cond_5 invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v6 add-int/lit8 v7, v5, 0x1 if-gez v5, :cond_2 .line 674 invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V :cond_2 check-cast v6, Ljava/lang/String; .line 308 invoke-virtual {v0, v7}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; move-result-object v5 if-nez v5, :cond_3 const-string v5, "" goto :goto_3 :cond_3 const-string v8, "argMatcher.group(index + 1) ?: \"\"" invoke-static {v5, v8}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 309 :goto_3 invoke-interface {p4, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v8 check-cast v8, Landroidx/navigation/NavArgument; .line 310 invoke-direct {p0, p3, v6, v5, v8}, Landroidx/navigation/NavDeepLink;->parseArgumentForRepeatedParam(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Landroidx/navigation/NavArgument;)Z move-result v9 if-eqz v9, :cond_4 .line 314 new-instance v9, Ljava/lang/StringBuilder; invoke-direct {v9}, Ljava/lang/StringBuilder;->()V const/16 v10, 0x7b invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v9 invoke-virtual {v9, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v9 const/16 v10, 0x7d invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v9 invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v9 invoke-static {v5, v9}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v9 if-nez v9, :cond_4 .line 315 invoke-direct {p0, v2, v6, v5, v8}, Landroidx/navigation/NavDeepLink;->parseArgument(Landroid/os/Bundle;Ljava/lang/String;Ljava/lang/String;Landroidx/navigation/NavArgument;)Z move-result v5 if-eqz v5, :cond_4 return v1 .line 320 :cond_4 sget-object v5, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; .line 674 invoke-interface {v4, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z move v5, v7 goto :goto_2 .line 675 :cond_5 check-cast v4, Ljava/util/List; .line 321 invoke-virtual {p3, v2}, Landroid/os/Bundle;->putAll(Landroid/os/Bundle;)V :try_end_0 .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0 goto/16 :goto_0 :cond_6 :goto_4 return v1 :cond_7 const/4 p0, 0x1 return p0 .end method .method private final parseMime()V .locals 7 iget-object v0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; if-nez v0, :cond_0 return-void :cond_0 const-string v0, "^[\\s\\S]+/[\\s\\S]+$" .line 628 invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; move-result-object v0 iget-object v1, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; .line 629 check-cast v1, Ljava/lang/CharSequence; invoke-virtual {v0, v1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v0 .line 630 invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z move-result v0 if-eqz v0, :cond_1 .line 635 new-instance v0, Landroidx/navigation/NavDeepLink$MimeType; iget-object v1, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; invoke-direct {v0, v1}, Landroidx/navigation/NavDeepLink$MimeType;->(Ljava/lang/String;)V .line 640 new-instance v1, Ljava/lang/StringBuilder; const-string v2, "^(" invoke-direct {v1, v2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v0}, Landroidx/navigation/NavDeepLink$MimeType;->getType()Ljava/lang/String; move-result-object v2 invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 const-string v2, "|[*]+)/(" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {v0}, Landroidx/navigation/NavDeepLink$MimeType;->getSubType()Ljava/lang/String; move-result-object v0 invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, "|[*]+)$" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 const-string v2, "*|[*]" const-string v3, "[\\s\\S]" const/4 v4, 0x0 const/4 v5, 0x4 const/4 v6, 0x0 .line 643 invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/navigation/NavDeepLink;->mimeTypeRegex:Ljava/lang/String; return-void .line 631 :cond_1 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "The given mimeType " invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v0, " does not match to required \"type/subtype\" format" invoke-virtual {p0, v0}, 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 630 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 .end method .method private final parsePath()V .locals 8 iget-object v0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; if-nez v0, :cond_0 return-void .line 549 :cond_0 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "^" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V sget-object v1, Landroidx/navigation/NavDeepLink;->SCHEME_PATTERN:Ljava/util/regex/Pattern; iget-object v2, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; .line 551 check-cast v2, Ljava/lang/CharSequence; invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v1 invoke-virtual {v1}, Ljava/util/regex/Matcher;->find()Z move-result v1 if-nez v1, :cond_1 const-string v1, "http[s]?://" .line 552 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_1 const-string v1, "(\\?|\\#|$)" .line 556 invoke-static {v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; move-result-object v1 iget-object v2, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; check-cast v2, Ljava/lang/CharSequence; invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v1 .line 557 invoke-virtual {v1}, Ljava/util/regex/Matcher;->find()Z iget-object v2, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; .line 558 invoke-virtual {v1}, Ljava/util/regex/Matcher;->start()I move-result v1 const/4 v3, 0x0 invoke-virtual {v2, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v1 const-string v2, "this as java.lang.String\u2026ing(startIndex, endIndex)" invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V iget-object v2, p0, Landroidx/navigation/NavDeepLink;->pathArgs:Ljava/util/List; invoke-direct {p0, v1, v2, v0}, Landroidx/navigation/NavDeepLink;->buildRegex(Ljava/lang/String;Ljava/util/List;Ljava/lang/StringBuilder;)V .line 559 move-object v1, v0 check-cast v1, Ljava/lang/CharSequence; const-string v2, ".*" check-cast v2, Ljava/lang/CharSequence; const/4 v4, 0x2 const/4 v5, 0x0 invoke-static {v1, v2, v3, v4, v5}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z move-result v2 if-nez v2, :cond_2 const-string v2, "([^/]+?)" check-cast v2, Ljava/lang/CharSequence; invoke-static {v1, v2, v3, v4, v5}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z move-result v1 if-nez v1, :cond_2 const/4 v3, 0x1 :cond_2 iput-boolean v3, p0, Landroidx/navigation/NavDeepLink;->isExactDeepLink:Z const-string v1, "($|(\\?(.)*)|(\\#(.)*))" .line 562 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 566 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 const-string v0, "uriRegex.toString()" invoke-static {v2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V const-string v3, ".*" const-string v4, "\\E.*\\Q" const/4 v5, 0x0 const/4 v6, 0x4 const/4 v7, 0x0 invoke-static/range {v2 .. v7}, Lkotlin/text/StringsKt;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String; move-result-object v0 iput-object v0, p0, Landroidx/navigation/NavDeepLink;->pathRegex:Ljava/lang/String; return-void .end method .method private final parseQuery()Ljava/util/Map; .locals 15 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavDeepLink$ParamQuery;", ">;" } .end annotation .line 570 new-instance v0, Ljava/util/LinkedHashMap; invoke-direct {v0}, Ljava/util/LinkedHashMap;->()V check-cast v0, Ljava/util/Map; .line 571 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->isParameterizedQuery()Z move-result v1 if-nez v1, :cond_0 return-object v0 :cond_0 iget-object v1, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; .line 572 invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; move-result-object v1 .line 574 invoke-virtual {v1}, Landroid/net/Uri;->getQueryParameterNames()Ljava/util/Set; move-result-object v2 invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v2 :goto_0 invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z move-result v3 if-eqz v3, :cond_5 invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v3 check-cast v3, Ljava/lang/String; .line 575 new-instance v4, Ljava/lang/StringBuilder; invoke-direct {v4}, Ljava/lang/StringBuilder;->()V .line 576 invoke-virtual {v1, v3}, Landroid/net/Uri;->getQueryParameters(Ljava/lang/String;)Ljava/util/List; move-result-object v5 .line 577 invoke-interface {v5}, Ljava/util/List;->size()I move-result v6 const/4 v7, 0x1 if-gt v6, v7, :cond_4 const-string v6, "queryParams" .line 583 invoke-static {v5, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v5}, Lkotlin/collections/CollectionsKt;->firstOrNull(Ljava/util/List;)Ljava/lang/Object; move-result-object v5 check-cast v5, Ljava/lang/String; if-nez v5, :cond_1 iput-boolean v7, p0, Landroidx/navigation/NavDeepLink;->isSingleQueryParamValueOnly:Z move-object v5, v3 :cond_1 sget-object v6, Landroidx/navigation/NavDeepLink;->FILL_IN_PATTERN:Ljava/util/regex/Pattern; .line 585 move-object v8, v5 check-cast v8, Ljava/lang/CharSequence; invoke-virtual {v6, v8}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v6 .line 587 new-instance v8, Landroidx/navigation/NavDeepLink$ParamQuery; invoke-direct {v8}, Landroidx/navigation/NavDeepLink$ParamQuery;->()V const/4 v9, 0x0 .line 589 :goto_1 invoke-virtual {v6}, Ljava/util/regex/Matcher;->find()Z move-result v10 const-string v11, "queryParam" if-eqz v10, :cond_2 .line 591 invoke-virtual {v6, v7}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; move-result-object v10 const-string v12, "null cannot be cast to non-null type kotlin.String" invoke-static {v10, v12}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v8, v10}, Landroidx/navigation/NavDeepLink$ParamQuery;->addArgumentName(Ljava/lang/String;)V .line 594 invoke-static {v5, v11}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 596 invoke-virtual {v6}, Ljava/util/regex/Matcher;->start()I move-result v10 invoke-virtual {v5, v9, v10}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v9 const-string v10, "this as java.lang.String\u2026ing(startIndex, endIndex)" invoke-static {v9, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 593 invoke-static {v9}, Ljava/util/regex/Pattern;->quote(Ljava/lang/String;)Ljava/lang/String; move-result-object v9 .line 592 invoke-virtual {v4, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v9, "(.+?)?" .line 600 invoke-virtual {v4, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 601 invoke-virtual {v6}, Ljava/util/regex/Matcher;->end()I move-result v9 goto :goto_1 .line 603 :cond_2 invoke-virtual {v5}, Ljava/lang/String;->length()I move-result v6 if-ge v9, v6, :cond_3 .line 604 invoke-static {v5, v11}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v5, v9}, Ljava/lang/String;->substring(I)Ljava/lang/String; move-result-object v5 const-string v6, "this as java.lang.String).substring(startIndex)" invoke-static {v5, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v5}, Ljava/util/regex/Pattern;->quote(Ljava/lang/String;)Ljava/lang/String; move-result-object v5 invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 609 :cond_3 invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v9 const-string v4, "argRegex.toString()" invoke-static {v9, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V const-string v10, ".*" const-string v11, "\\E.*\\Q" const/4 v12, 0x0 const/4 v13, 0x4 const/4 v14, 0x0 invoke-static/range {v9 .. v14}, Lkotlin/text/StringsKt;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String; move-result-object v4 invoke-virtual {v8, v4}, Landroidx/navigation/NavDeepLink$ParamQuery;->setParamRegex(Ljava/lang/String;)V const-string v4, "paramName" .line 610 invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {v0, v3, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; goto/16 :goto_0 .line 578 :cond_4 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "Query parameter " invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, " must only be present once in " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v0, ". To support repeated query parameters, use an array type for your argument and the pattern provided in your URI will be used to parse each query parameter instance." invoke-virtual {p0, v0}, 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 577 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_5 return-object v0 .end method # virtual methods .method public final calculateMatchingPathSegments$navigation_common_release(Landroid/net/Uri;)I .locals 1 if-eqz p1, :cond_1 iget-object v0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; if-nez v0, :cond_0 goto :goto_0 .line 334 :cond_0 invoke-virtual {p1}, Landroid/net/Uri;->getPathSegments()Ljava/util/List; move-result-object p1 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; .line 335 invoke-static {p0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; move-result-object p0 invoke-virtual {p0}, Landroid/net/Uri;->getPathSegments()Ljava/util/List; move-result-object p0 const-string v0, "requestedPathSegments" .line 337 invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V check-cast p1, Ljava/lang/Iterable; const-string v0, "uriPathSegments" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V check-cast p0, Ljava/lang/Iterable; invoke-static {p1, p0}, Lkotlin/collections/CollectionsKt;->intersect(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Set; move-result-object p0 .line 338 invoke-interface {p0}, Ljava/util/Set;->size()I move-result p0 return p0 :cond_1 :goto_0 const/4 p0, 0x0 return p0 .end method .method public equals(Ljava/lang/Object;)Z .locals 3 const/4 v0, 0x0 if-eqz p1, :cond_1 .line 419 instance-of v1, p1, Landroidx/navigation/NavDeepLink; if-nez v1, :cond_0 goto :goto_0 :cond_0 iget-object v1, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; .line 420 check-cast p1, Landroidx/navigation/NavDeepLink; iget-object v2, p1, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_1 iget-object v1, p0, Landroidx/navigation/NavDeepLink;->action:Ljava/lang/String; .line 421 iget-object v2, p1, Landroidx/navigation/NavDeepLink;->action:Ljava/lang/String; invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_1 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; .line 422 iget-object p1, p1, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result p0 if-eqz p0, :cond_1 const/4 v0, 0x1 :cond_1 :goto_0 return v0 .end method .method public final getAction()Ljava/lang/String; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->action:Ljava/lang/String; return-object p0 .end method .method public final getArgumentsNames$navigation_common_release()Ljava/util/List; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation iget-object v0, p0, Landroidx/navigation/NavDeepLink;->pathArgs:Ljava/util/List; .line 85 check-cast v0, Ljava/util/Collection; invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getQueryArgsMap()Ljava/util/Map; move-result-object v1 invoke-interface {v1}, Ljava/util/Map;->values()Ljava/util/Collection; move-result-object v1 check-cast v1, Ljava/lang/Iterable; .line 652 new-instance v2, Ljava/util/ArrayList; invoke-direct {v2}, Ljava/util/ArrayList;->()V check-cast v2, Ljava/util/Collection; .line 653 invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v1 :goto_0 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v3 if-eqz v3, :cond_0 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v3 .line 654 check-cast v3, Landroidx/navigation/NavDeepLink$ParamQuery; .line 85 invoke-virtual {v3}, Landroidx/navigation/NavDeepLink$ParamQuery;->getArguments()Ljava/util/List; move-result-object v3 .line 654 check-cast v3, Ljava/lang/Iterable; .line 655 invoke-static {v2, v3}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z goto :goto_0 .line 657 :cond_0 check-cast v2, Ljava/util/List; .line 652 check-cast v2, Ljava/lang/Iterable; .line 85 invoke-static {v0, v2}, Lkotlin/collections/CollectionsKt;->plus(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List; move-result-object v0 check-cast v0, Ljava/util/Collection; invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getFragArgs()Ljava/util/List; move-result-object p0 check-cast p0, Ljava/lang/Iterable; invoke-static {v0, p0}, Lkotlin/collections/CollectionsKt;->plus(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List; move-result-object p0 return-object p0 .end method .method public final getMatchingArguments(Landroid/net/Uri;Ljava/util/Map;)Landroid/os/Bundle; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/net/Uri;", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavArgument;", ">;)", "Landroid/os/Bundle;" } .end annotation const-string v0, "deepLink" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "arguments" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 177 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getPathPattern()Ljava/util/regex/Pattern; move-result-object v0 const/4 v1, 0x0 if-eqz v0, :cond_0 invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String; move-result-object v2 check-cast v2, Ljava/lang/CharSequence; invoke-virtual {v0, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v0 goto :goto_0 :cond_0 move-object v0, v1 :goto_0 if-nez v0, :cond_1 return-object v1 .line 178 :cond_1 invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z move-result v2 if-nez v2, :cond_2 return-object v1 .line 182 :cond_2 new-instance v2, Landroid/os/Bundle; invoke-direct {v2}, Landroid/os/Bundle;->()V .line 183 invoke-direct {p0, v0, v2, p2}, Landroidx/navigation/NavDeepLink;->getMatchingPathArguments(Ljava/util/regex/Matcher;Landroid/os/Bundle;Ljava/util/Map;)Z move-result v0 if-nez v0, :cond_3 return-object v1 .line 184 :cond_3 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->isParameterizedQuery()Z move-result v0 if-eqz v0, :cond_4 invoke-direct {p0, p1, v2, p2}, Landroidx/navigation/NavDeepLink;->getMatchingQueryArguments(Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/Map;)Z move-result v0 if-nez v0, :cond_4 return-object v1 .line 188 :cond_4 invoke-virtual {p1}, Landroid/net/Uri;->getFragment()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1, v2, p2}, Landroidx/navigation/NavDeepLink;->getMatchingUriFragment(Ljava/lang/String;Landroid/os/Bundle;Ljava/util/Map;)V .line 191 new-instance p0, Landroidx/navigation/NavDeepLink$getMatchingArguments$missingRequiredArguments$1; invoke-direct {p0, v2}, Landroidx/navigation/NavDeepLink$getMatchingArguments$missingRequiredArguments$1;->(Landroid/os/Bundle;)V check-cast p0, Lkotlin/jvm/functions/Function1; invoke-static {p2, p0}, Landroidx/navigation/NavArgumentKt;->missingRequiredArguments(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/List; move-result-object p0 .line 194 check-cast p0, Ljava/util/Collection; invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z move-result p0 xor-int/lit8 p0, p0, 0x1 if-eqz p0, :cond_5 return-object v1 :cond_5 return-object v2 .end method .method public final getMatchingPathAndQueryArgs$navigation_common_release(Landroid/net/Uri;Ljava/util/Map;)Landroid/os/Bundle; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/net/Uri;", "Ljava/util/Map<", "Ljava/lang/String;", "Landroidx/navigation/NavArgument;", ">;)", "Landroid/os/Bundle;" } .end annotation const-string v0, "arguments" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 207 new-instance v0, Landroid/os/Bundle; invoke-direct {v0}, Landroid/os/Bundle;->()V if-nez p1, :cond_0 return-object v0 .line 209 :cond_0 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getPathPattern()Ljava/util/regex/Pattern; move-result-object v1 if-eqz v1, :cond_1 invoke-virtual {p1}, Landroid/net/Uri;->toString()Ljava/lang/String; move-result-object v2 check-cast v2, Ljava/lang/CharSequence; invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v1 goto :goto_0 :cond_1 const/4 v1, 0x0 :goto_0 if-nez v1, :cond_2 return-object v0 .line 210 :cond_2 invoke-virtual {v1}, Ljava/util/regex/Matcher;->matches()Z move-result v2 if-nez v2, :cond_3 return-object v0 .line 213 :cond_3 invoke-direct {p0, v1, v0, p2}, Landroidx/navigation/NavDeepLink;->getMatchingPathArguments(Ljava/util/regex/Matcher;Landroid/os/Bundle;Ljava/util/Map;)Z .line 214 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->isParameterizedQuery()Z move-result v1 if-eqz v1, :cond_4 invoke-direct {p0, p1, v0, p2}, Landroidx/navigation/NavDeepLink;->getMatchingQueryArguments(Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/Map;)Z :cond_4 return-object v0 .end method .method public final getMimeType()Ljava/lang/String; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; return-object p0 .end method .method public final getMimeTypeMatchRating(Ljava/lang/String;)I .locals 2 const-string v0, "mimeType" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; if-eqz v0, :cond_1 .line 161 invoke-direct {p0}, Landroidx/navigation/NavDeepLink;->getMimeTypePattern()Ljava/util/regex/Pattern; move-result-object v0 invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V move-object v1, p1 check-cast v1, Ljava/lang/CharSequence; invoke-virtual {v0, v1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; move-result-object v0 invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z move-result v0 if-nez v0, :cond_0 goto :goto_0 .line 163 :cond_0 new-instance v0, Landroidx/navigation/NavDeepLink$MimeType; iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; invoke-direct {v0, p0}, Landroidx/navigation/NavDeepLink$MimeType;->(Ljava/lang/String;)V .line 164 new-instance p0, Landroidx/navigation/NavDeepLink$MimeType; invoke-direct {p0, p1}, Landroidx/navigation/NavDeepLink$MimeType;->(Ljava/lang/String;)V invoke-virtual {v0, p0}, Landroidx/navigation/NavDeepLink$MimeType;->compareTo(Landroidx/navigation/NavDeepLink$MimeType;)I move-result p0 goto :goto_1 :cond_1 :goto_0 const/4 p0, -0x1 :goto_1 return p0 .end method .method public final getUriPattern()Ljava/lang/String; .locals 0 iget-object p0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; return-object p0 .end method .method public hashCode()I .locals 3 iget-object v0, p0, Landroidx/navigation/NavDeepLink;->uriPattern:Ljava/lang/String; const/4 v1, 0x0 if-eqz v0, :cond_0 .line 427 invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 goto :goto_0 :cond_0 move v0, v1 :goto_0 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Landroidx/navigation/NavDeepLink;->action:Ljava/lang/String; if-eqz v2, :cond_1 .line 428 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v2 goto :goto_1 :cond_1 move v2, v1 :goto_1 add-int/2addr v0, v2 mul-int/lit8 v0, v0, 0x1f iget-object p0, p0, Landroidx/navigation/NavDeepLink;->mimeType:Ljava/lang/String; if-eqz p0, :cond_2 .line 429 invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I move-result v1 :cond_2 add-int/2addr v0, v1 return v0 .end method .method public final isExactDeepLink()Z .locals 0 iget-boolean p0, p0, Landroidx/navigation/NavDeepLink;->isExactDeepLink:Z return p0 .end method .method public final matches$navigation_common_release(Landroid/net/Uri;)Z .locals 2 const-string v0, "uri" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 121 new-instance v0, Landroidx/navigation/NavDeepLinkRequest; const/4 v1, 0x0 invoke-direct {v0, p1, v1, v1}, Landroidx/navigation/NavDeepLinkRequest;->(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;)V invoke-virtual {p0, v0}, Landroidx/navigation/NavDeepLink;->matches$navigation_common_release(Landroidx/navigation/NavDeepLinkRequest;)Z move-result p0 return p0 .end method .method public final matches$navigation_common_release(Landroidx/navigation/NavDeepLinkRequest;)Z .locals 2 const-string v0, "deepLinkRequest" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 125 invoke-virtual {p1}, Landroidx/navigation/NavDeepLinkRequest;->getUri()Landroid/net/Uri; move-result-object v0 invoke-direct {p0, v0}, Landroidx/navigation/NavDeepLink;->matchUri(Landroid/net/Uri;)Z move-result v0 const/4 v1, 0x0 if-nez v0, :cond_0 return v1 .line 128 :cond_0 invoke-virtual {p1}, Landroidx/navigation/NavDeepLinkRequest;->getAction()Ljava/lang/String; move-result-object v0 invoke-direct {p0, v0}, Landroidx/navigation/NavDeepLink;->matchAction(Ljava/lang/String;)Z move-result v0 if-nez v0, :cond_1 goto :goto_0 .line 130 :cond_1 invoke-virtual {p1}, Landroidx/navigation/NavDeepLinkRequest;->getMimeType()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Landroidx/navigation/NavDeepLink;->matchMimeType(Ljava/lang/String;)Z move-result v1 :goto_0 return v1 .end method .method public final setExactDeepLink$navigation_common_release(Z)V .locals 0 iput-boolean p1, p0, Landroidx/navigation/NavDeepLink;->isExactDeepLink:Z return-void .end method