.class public final Lkotlin/text/MatcherMatchResult$groups$1; .super Lkotlin/collections/AbstractCollection; .source "Regex.kt" # interfaces .implements Lkotlin/text/MatchNamedGroupCollection; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lkotlin/text/MatcherMatchResult;->(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/collections/AbstractCollection<", "Lkotlin/text/MatchGroup;", ">;", "Lkotlin/text/MatchNamedGroupCollection;" } .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000-\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010(\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u00012\n\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0002J\u0013\u0010\u0008\u001a\u0004\u0018\u00010\u00032\u0006\u0010\t\u001a\u00020\u0005H\u0096\u0002J\u0013\u0010\u0008\u001a\u0004\u0018\u00010\u00032\u0006\u0010\n\u001a\u00020\u000bH\u0096\u0002J\u0008\u0010\u000c\u001a\u00020\rH\u0016J\u0011\u0010\u000e\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u000fH\u0096\u0002R\u0014\u0010\u0004\u001a\u00020\u00058VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0006\u0010\u0007\u00a8\u0006\u0010" } d2 = { "kotlin/text/MatcherMatchResult$groups$1", "Lkotlin/text/MatchNamedGroupCollection;", "Lkotlin/collections/AbstractCollection;", "Lkotlin/text/MatchGroup;", "size", "", "getSize", "()I", "get", "index", "name", "", "isEmpty", "", "iterator", "", "kotlin-stdlib" } k = 0x1 mv = { 0x1, 0x9, 0x0 } xi = 0x30 .end annotation # instance fields .field final synthetic this$0:Lkotlin/text/MatcherMatchResult; # direct methods .method constructor (Lkotlin/text/MatcherMatchResult;)V .locals 0 iput-object p1, p0, Lkotlin/text/MatcherMatchResult$groups$1;->this$0:Lkotlin/text/MatcherMatchResult; .line 357 invoke-direct {p0}, Lkotlin/collections/AbstractCollection;->()V return-void .end method # virtual methods .method public final bridge contains(Ljava/lang/Object;)Z .locals 1 if-nez p1, :cond_0 goto :goto_0 .line 357 :cond_0 instance-of v0, p1, Lkotlin/text/MatchGroup; if-nez v0, :cond_1 const/4 p0, 0x0 return p0 :cond_1 :goto_0 check-cast p1, Lkotlin/text/MatchGroup; invoke-virtual {p0, p1}, Lkotlin/text/MatcherMatchResult$groups$1;->contains(Lkotlin/text/MatchGroup;)Z move-result p0 return p0 .end method .method public bridge contains(Lkotlin/text/MatchGroup;)Z .locals 0 .line 357 invoke-super {p0, p1}, Lkotlin/collections/AbstractCollection;->contains(Ljava/lang/Object;)Z move-result p0 return p0 .end method .method public get(I)Lkotlin/text/MatchGroup; .locals 2 iget-object v0, p0, Lkotlin/text/MatcherMatchResult$groups$1;->this$0:Lkotlin/text/MatcherMatchResult; .line 363 invoke-static {v0}, Lkotlin/text/MatcherMatchResult;->access$getMatchResult(Lkotlin/text/MatcherMatchResult;)Ljava/util/regex/MatchResult; move-result-object v0 invoke-static {v0, p1}, Lkotlin/text/RegexKt;->access$range(Ljava/util/regex/MatchResult;I)Lkotlin/ranges/IntRange; move-result-object v0 .line 364 invoke-virtual {v0}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer; move-result-object v1 invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I move-result v1 if-ltz v1, :cond_0 .line 365 new-instance v1, Lkotlin/text/MatchGroup; iget-object p0, p0, Lkotlin/text/MatcherMatchResult$groups$1;->this$0:Lkotlin/text/MatcherMatchResult; invoke-static {p0}, Lkotlin/text/MatcherMatchResult;->access$getMatchResult(Lkotlin/text/MatcherMatchResult;)Ljava/util/regex/MatchResult; move-result-object p0 invoke-interface {p0, p1}, Ljava/util/regex/MatchResult;->group(I)Ljava/lang/String; move-result-object p0 const-string p1, "group(...)" invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {v1, p0, v0}, Lkotlin/text/MatchGroup;->(Ljava/lang/String;Lkotlin/ranges/IntRange;)V goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 return-object v1 .end method .method public get(Ljava/lang/String;)Lkotlin/text/MatchGroup; .locals 1 const-string v0, "name" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 371 sget-object v0, Lkotlin/internal/PlatformImplementationsKt;->IMPLEMENTATIONS:Lkotlin/internal/PlatformImplementations; iget-object p0, p0, Lkotlin/text/MatcherMatchResult$groups$1;->this$0:Lkotlin/text/MatcherMatchResult; invoke-static {p0}, Lkotlin/text/MatcherMatchResult;->access$getMatchResult(Lkotlin/text/MatcherMatchResult;)Ljava/util/regex/MatchResult; move-result-object p0 invoke-virtual {v0, p0, p1}, Lkotlin/internal/PlatformImplementations;->getMatchResultNamedGroup(Ljava/util/regex/MatchResult;Ljava/lang/String;)Lkotlin/text/MatchGroup; move-result-object p0 return-object p0 .end method .method public getSize()I .locals 0 iget-object p0, p0, Lkotlin/text/MatcherMatchResult$groups$1;->this$0:Lkotlin/text/MatcherMatchResult; .line 358 invoke-static {p0}, Lkotlin/text/MatcherMatchResult;->access$getMatchResult(Lkotlin/text/MatcherMatchResult;)Ljava/util/regex/MatchResult; move-result-object p0 invoke-interface {p0}, Ljava/util/regex/MatchResult;->groupCount()I move-result p0 add-int/lit8 p0, p0, 0x1 return p0 .end method .method public isEmpty()Z .locals 0 const/4 p0, 0x0 return p0 .end method .method public iterator()Ljava/util/Iterator; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator<", "Lkotlin/text/MatchGroup;", ">;" } .end annotation .line 361 move-object v0, p0 check-cast v0, Ljava/util/Collection; invoke-static {v0}, Lkotlin/collections/CollectionsKt;->getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange; move-result-object v0 check-cast v0, Ljava/lang/Iterable; invoke-static {v0}, Lkotlin/collections/CollectionsKt;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence; move-result-object v0 new-instance v1, Lkotlin/text/MatcherMatchResult$groups$1$iterator$1; invoke-direct {v1, p0}, Lkotlin/text/MatcherMatchResult$groups$1$iterator$1;->(Lkotlin/text/MatcherMatchResult$groups$1;)V check-cast v1, Lkotlin/jvm/functions/Function1; invoke-static {v0, v1}, Lkotlin/sequences/SequencesKt;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; move-result-object p0 invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p0 return-object p0 .end method