.class public Lkotlin/text/u; .super Lkotlin/text/t; .source "Strings.kt" # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Lkotlin/text/t;->()V return-void .end method .method public static synthetic a(Ljava/lang/CharSequence;C)I .locals 2 invoke-static {p0}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I move-result v0 const/4 v1, 0x0 invoke-static {p0, p1, v0, v1}, Lkotlin/text/l;->b(Ljava/lang/CharSequence;CIZ)I move-result p0 return p0 .end method .method public static final a(Ljava/lang/CharSequence;CIZ)I .locals 2 const-string v0, "$this$indexOf" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V if-nez p3, :cond_1 instance-of v0, p0, Ljava/lang/String; if-nez v0, :cond_0 goto :goto_0 :cond_0 check-cast p0, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(II)I move-result p0 return p0 :cond_1 :goto_0 const/4 v0, 0x1 new-array v0, v0, [C const/4 v1, 0x0 aput-char p1, v0, v1 invoke-static {p0, v0, p2, p3}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;[CIZ)I move-result p0 return p0 .end method .method public static synthetic a(Ljava/lang/CharSequence;CIZI)I .locals 2 and-int/lit8 v0, p4, 0x2 const/4 v1, 0x0 if-eqz v0, :cond_0 const/4 p2, 0x0 :cond_0 and-int/lit8 p4, p4, 0x4 if-eqz p4, :cond_1 const/4 p3, 0x0 :cond_1 invoke-static {p0, p1, p2, p3}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;CIZ)I move-result p0 return p0 .end method .method public static final a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I .locals 6 const/4 v0, 0x0 if-nez p5, :cond_0 invoke-static {p2, v0}, Lkotlin/ranges/c;->Z(II)I move-result p2 new-instance p5, Lkotlin/ranges/IntRange; invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result v0 invoke-static {p3, v0}, Lkotlin/ranges/c;->aa(II)I move-result p3 invoke-direct {p5, p2, p3}, Lkotlin/ranges/IntRange;->(II)V check-cast p5, Lkotlin/ranges/IntProgression; goto :goto_0 :cond_0 invoke-static {p0}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I move-result p5 invoke-static {p2, p5}, Lkotlin/ranges/c;->aa(II)I move-result p2 invoke-static {p3, v0}, Lkotlin/ranges/c;->Z(II)I move-result p3 invoke-static {p2, p3}, Lkotlin/ranges/c;->X(II)Lkotlin/ranges/IntProgression; move-result-object p5 :goto_0 instance-of p2, p0, Ljava/lang/String; if-eqz p2, :cond_3 instance-of p2, p1, Ljava/lang/String; if-eqz p2, :cond_3 iget p2, p5, Lkotlin/ranges/IntProgression;->bkP:I iget p3, p5, Lkotlin/ranges/IntProgression;->bkQ:I iget p5, p5, Lkotlin/ranges/IntProgression;->bkR:I if-ltz p5, :cond_1 if-gt p2, p3, :cond_6 goto :goto_1 :cond_1 if-lt p2, p3, :cond_6 :goto_1 move-object v0, p1 check-cast v0, Ljava/lang/String; const/4 v1, 0x0 move-object v2, p0 check-cast v2, Ljava/lang/String; invoke-interface {p1}, Ljava/lang/CharSequence;->length()I move-result v4 move v3, p2 move v5, p4 invoke-static/range {v0 .. v5}, Lkotlin/text/l;->a(Ljava/lang/String;ILjava/lang/String;IIZ)Z move-result v0 if-eqz v0, :cond_2 return p2 :cond_2 if-eq p2, p3, :cond_6 add-int/2addr p2, p5 goto :goto_1 :cond_3 iget p2, p5, Lkotlin/ranges/IntProgression;->bkP:I iget p3, p5, Lkotlin/ranges/IntProgression;->bkQ:I iget p5, p5, Lkotlin/ranges/IntProgression;->bkR:I if-ltz p5, :cond_4 if-gt p2, p3, :cond_6 goto :goto_2 :cond_4 if-lt p2, p3, :cond_6 :goto_2 invoke-interface {p1}, Ljava/lang/CharSequence;->length()I move-result v0 invoke-static {p1, p0, p2, v0, p4}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZ)Z move-result v0 if-eqz v0, :cond_5 return p2 :cond_5 if-eq p2, p3, :cond_6 add-int/2addr p2, p5 goto :goto_2 :cond_6 const/4 p0, -0x1 return p0 .end method .method public static final a(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I .locals 1 const-string v0, "$this$indexOf" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "string" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V if-nez p3, :cond_1 instance-of v0, p0, Ljava/lang/String; if-nez v0, :cond_0 goto :goto_0 :cond_0 check-cast p0, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I move-result p0 return p0 :cond_1 :goto_0 check-cast p1, Ljava/lang/CharSequence; invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result v0 invoke-static {p0, p1, p2, v0, p3}, Lkotlin/text/u;->b(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZ)I move-result p0 return p0 .end method .method public static synthetic a(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I .locals 2 and-int/lit8 v0, p4, 0x2 const/4 v1, 0x0 if-eqz v0, :cond_0 const/4 p2, 0x0 :cond_0 and-int/lit8 p4, p4, 0x4 if-eqz p4, :cond_1 const/4 p3, 0x0 :cond_1 invoke-static {p0, p1, p2, p3}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I move-result p0 return p0 .end method .method public static final a(Ljava/lang/CharSequence;[CIZ)I .locals 7 const-string v0, "$this$indexOfAny" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "chars" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x1 if-nez p3, :cond_0 array-length v1, p1 if-ne v1, v0, :cond_0 instance-of v1, p0, Ljava/lang/String; if-eqz v1, :cond_0 invoke-static {p1}, Lkotlin/a/g;->a([C)C move-result p1 check-cast p0, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(II)I move-result p0 return p0 :cond_0 const/4 v1, 0x0 invoke-static {p2, v1}, Lkotlin/ranges/c;->Z(II)I move-result p2 invoke-static {p0}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I move-result v2 if-gt p2, v2, :cond_4 :goto_0 invoke-interface {p0, p2}, Ljava/lang/CharSequence;->charAt(I)C move-result v3 array-length v4, p1 const/4 v5, 0x0 :goto_1 if-ge v5, v4, :cond_2 aget-char v6, p1, v5 invoke-static {v6, v3, p3}, Lkotlin/text/a;->a(CCZ)Z move-result v6 if-eqz v6, :cond_1 const/4 v3, 0x1 goto :goto_2 :cond_1 add-int/lit8 v5, v5, 0x1 goto :goto_1 :cond_2 const/4 v3, 0x0 :goto_2 if-eqz v3, :cond_3 return p2 :cond_3 if-eq p2, v2, :cond_4 add-int/lit8 p2, p2, 0x1 goto :goto_0 :cond_4 const/4 p0, -0x1 return p0 .end method .method public static final a(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String; .locals 1 const-string v0, "$this$substring" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "range" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V iget v0, p1, Lkotlin/ranges/IntProgression;->bkP:I iget p1, p1, Lkotlin/ranges/IntProgression;->bkQ:I add-int/lit8 p1, p1, 0x1 invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence; move-result-object p0 invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static synthetic a(Ljava/lang/String;C)Ljava/lang/String; .locals 0 invoke-static {p0, p1, p0}, Lkotlin/text/l;->b(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static final a(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String; .locals 3 const-string v0, "$this$substringBefore" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "missingDelimiterValue" invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V move-object v0, p0 check-cast v0, Ljava/lang/CharSequence; const/4 v1, 0x0 const/4 v2, 0x6 invoke-static {v0, p1, v1, v1, v2}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;CIZI)I move-result p1 const/4 v0, -0x1 if-ne p1, v0, :cond_0 return-object p2 :cond_0 invoke-virtual {p0, v1, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object p0 const-string p1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)" invoke-static {p0, p1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method .method private static final a(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List; .locals 7 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/CharSequence;", "Ljava/lang/String;", "ZI)", "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation const/4 v0, 0x1 const/4 v1, 0x0 if-ltz p3, :cond_0 const/4 v2, 0x1 goto :goto_0 :cond_0 const/4 v2, 0x0 :goto_0 if-eqz v2, :cond_8 invoke-static {p0, p1, v1, p2}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I move-result v2 const/4 v3, -0x1 if-eq v2, v3, :cond_7 if-ne p3, v0, :cond_1 goto :goto_2 :cond_1 if-lez p3, :cond_2 const/4 v4, 0x1 goto :goto_1 :cond_2 const/4 v4, 0x0 :goto_1 new-instance v5, Ljava/util/ArrayList; const/16 v6, 0xa if-eqz v4, :cond_3 invoke-static {p3, v6}, Lkotlin/ranges/c;->aa(II)I move-result v6 :cond_3 invoke-direct {v5, v6}, Ljava/util/ArrayList;->(I)V :cond_4 invoke-interface {p0, v1, v2}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence; move-result-object v1 invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {v5, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z invoke-virtual {p1}, Ljava/lang/String;->length()I move-result v1 add-int/2addr v1, v2 if-eqz v4, :cond_5 invoke-virtual {v5}, Ljava/util/ArrayList;->size()I move-result v2 add-int/lit8 v6, p3, -0x1 if-eq v2, v6, :cond_6 :cond_5 invoke-static {p0, p1, v1, p2}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I move-result v2 if-ne v2, v3, :cond_4 :cond_6 invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result p1 invoke-interface {p0, v1, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence; move-result-object p0 invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-virtual {v5, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z check-cast v5, Ljava/util/List; return-object v5 :cond_7 :goto_2 invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-static {p0}, Lkotlin/a/m;->ba(Ljava/lang/Object;)Ljava/util/List; move-result-object p0 return-object p0 :cond_8 new-instance p0, Ljava/lang/StringBuilder; const-string p1, "Limit must be non-negative, but was " invoke-direct {p0, p1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const/16 p1, 0x2e invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 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;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; goto :goto_4 :goto_3 throw p1 :goto_4 goto :goto_3 .end method .method public static synthetic a(Ljava/lang/CharSequence;[CII)Ljava/util/List; .locals 1 and-int/lit8 p3, p3, 0x4 const/4 v0, 0x0 if-eqz p3, :cond_0 const/4 p2, 0x0 :cond_0 invoke-static {p0, p1, v0, p2}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;[CZI)Ljava/util/List; move-result-object p0 return-object p0 .end method .method public static final a(Ljava/lang/CharSequence;[CZI)Ljava/util/List; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/CharSequence;", "[CZI)", "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation const-string p2, "$this$split" invoke-static {p0, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string p2, "delimiters" invoke-static {p1, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V array-length p2, p1 const/4 v0, 0x1 const/4 v1, 0x0 if-ne p2, v0, :cond_0 aget-char p1, p1, v1 invoke-static {p1}, Ljava/lang/String;->valueOf(C)Ljava/lang/String; move-result-object p1 invoke-static {p0, p1, v1, p3}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List; move-result-object p0 return-object p0 :cond_0 if-ltz p3, :cond_1 goto :goto_0 :cond_1 const/4 v0, 0x0 :goto_0 if-eqz v0, :cond_3 new-instance p2, Lkotlin/text/e; new-instance v0, Lkotlin/text/u$a; invoke-direct {v0, p1, v1}, Lkotlin/text/u$a;->([CZ)V check-cast v0, Lkotlin/jvm/functions/Function2; invoke-direct {p2, p0, v1, p3, v0}, Lkotlin/text/e;->(Ljava/lang/CharSequence;IILkotlin/jvm/functions/Function2;)V check-cast p2, Lkotlin/sequences/Sequence; invoke-static {p2}, Lkotlin/sequences/i;->j(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable; move-result-object p1 new-instance p2, Ljava/util/ArrayList; const/16 p3, 0xa invoke-static {p1, p3}, Lkotlin/a/m;->a(Ljava/lang/Iterable;I)I move-result p3 invoke-direct {p2, p3}, Ljava/util/ArrayList;->(I)V check-cast p2, Ljava/util/Collection; invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :goto_1 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result p3 if-eqz p3, :cond_2 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object p3 check-cast p3, Lkotlin/ranges/IntRange; invoke-static {p0, p3}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String; move-result-object p3 invoke-interface {p2, p3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z goto :goto_1 :cond_2 check-cast p2, Ljava/util/List; return-object p2 :cond_3 new-instance p0, Ljava/lang/StringBuilder; const-string p1, "Limit must be non-negative, but was " invoke-direct {p0, p1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const/16 p1, 0x2e invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 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;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; goto :goto_3 :goto_2 throw p1 :goto_3 goto :goto_2 .end method .method private static final a(Ljava/lang/CharSequence;[Ljava/lang/String;IZI)Lkotlin/sequences/Sequence; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/CharSequence;", "[", "Ljava/lang/String;", "IZI)", "Lkotlin/sequences/Sequence<", "Lkotlin/ranges/IntRange;", ">;" } .end annotation const/4 p2, 0x0 if-ltz p4, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 if-eqz v0, :cond_1 invoke-static {p1}, Lkotlin/a/g;->asList([Ljava/lang/Object;)Ljava/util/List; move-result-object p1 new-instance v0, Lkotlin/text/e; new-instance v1, Lkotlin/text/u$b; invoke-direct {v1, p1, p3}, Lkotlin/text/u$b;->(Ljava/util/List;Z)V check-cast v1, Lkotlin/jvm/functions/Function2; invoke-direct {v0, p0, p2, p4, v1}, Lkotlin/text/e;->(Ljava/lang/CharSequence;IILkotlin/jvm/functions/Function2;)V check-cast v0, Lkotlin/sequences/Sequence; return-object v0 :cond_1 new-instance p0, Ljava/lang/StringBuilder; const-string p1, "Limit must be non-negative, but was " invoke-direct {p0, p1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const/16 p1, 0x2e invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 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;->(Ljava/lang/String;)V check-cast p1, Ljava/lang/Throwable; throw p1 .end method .method static synthetic a(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Lkotlin/sequences/Sequence; .locals 1 const/4 v0, 0x0 invoke-static {p0, p1, v0, p2, p3}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;[Ljava/lang/String;IZI)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final a(Ljava/lang/CharSequence;CZ)Z .locals 1 const-string p2, "$this$contains" invoke-static {p0, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const/4 p2, 0x0 const/4 v0, 0x2 invoke-static {p0, p1, p2, p2, v0}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;CIZI)I move-result p0 if-ltz p0, :cond_0 const/4 p0, 0x1 return p0 :cond_0 return p2 .end method .method public static final a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZ)Z .locals 4 const-string v0, "$this$regionMatchesImpl" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "other" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 if-ltz p2, :cond_3 invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result v1 sub-int/2addr v1, p3 if-ltz v1, :cond_3 invoke-interface {p1}, Ljava/lang/CharSequence;->length()I move-result v1 sub-int/2addr v1, p3 if-le p2, v1, :cond_0 goto :goto_1 :cond_0 const/4 v1, 0x0 :goto_0 if-ge v1, p3, :cond_2 add-int/lit8 v2, v1, 0x0 invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C move-result v2 add-int v3, p2, v1 invoke-interface {p1, v3}, Ljava/lang/CharSequence;->charAt(I)C move-result v3 invoke-static {v2, v3, p4}, Lkotlin/text/a;->a(CCZ)Z move-result v2 if-nez v2, :cond_1 return v0 :cond_1 add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_2 const/4 p0, 0x1 return p0 :cond_3 :goto_1 return v0 .end method .method public static final a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z .locals 3 const-string v0, "$this$contains" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "other" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V instance-of v0, p1, Ljava/lang/String; const/4 v1, 0x1 const/4 v2, 0x0 if-eqz v0, :cond_1 check-cast p1, Ljava/lang/String; const/4 v0, 0x2 invoke-static {p0, p1, v2, p2, v0}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I move-result p0 if-ltz p0, :cond_0 return v1 :cond_0 return v2 :cond_1 invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result v0 invoke-static {p0, p1, v2, v0, p2}, Lkotlin/text/u;->b(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZ)I move-result p0 if-ltz p0, :cond_2 return v1 :cond_2 return v2 .end method .method public static synthetic ag(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; .locals 3 const-string v0, "$this$substringAfter" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "delimiter" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "missingDelimiterValue" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V move-object v0, p0 check-cast v0, Ljava/lang/CharSequence; const/4 v1, 0x0 const/4 v2, 0x6 invoke-static {v0, p1, v1, v1, v2}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I move-result v0 const/4 v1, -0x1 if-ne v0, v1, :cond_0 return-object p0 :cond_0 invoke-virtual {p1}, Ljava/lang/String;->length()I move-result p1 add-int/2addr v0, p1 invoke-virtual {p0}, Ljava/lang/String;->length()I move-result p1 invoke-virtual {p0, v0, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object p0 const-string p1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)" invoke-static {p0, p1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method .method public static final b(Ljava/lang/CharSequence;CIZ)I .locals 4 const-string p3, "$this$lastIndexOf" invoke-static {p0, p3}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V instance-of p3, p0, Ljava/lang/String; if-nez p3, :cond_5 const/4 v0, 0x1 new-array v1, v0, [C const/4 v2, 0x0 aput-char p1, v1, v2 const-string p1, "$this$lastIndexOfAny" invoke-static {p0, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string p1, "chars" invoke-static {v1, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V if-eqz p3, :cond_0 invoke-static {v1}, Lkotlin/a/g;->a([C)C move-result p1 check-cast p0, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(II)I move-result p0 return p0 :cond_0 invoke-static {p0}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I move-result p1 invoke-static {p2, p1}, Lkotlin/ranges/c;->aa(II)I move-result p1 :goto_0 if-ltz p1, :cond_4 invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C move-result p2 const/4 p3, 0x0 :goto_1 if-gtz p3, :cond_2 aget-char v3, v1, p3 invoke-static {v3, p2, v2}, Lkotlin/text/a;->a(CCZ)Z move-result v3 if-eqz v3, :cond_1 const/4 p2, 0x1 goto :goto_2 :cond_1 add-int/lit8 p3, p3, 0x1 goto :goto_1 :cond_2 const/4 p2, 0x0 :goto_2 if-eqz p2, :cond_3 return p1 :cond_3 add-int/lit8 p1, p1, -0x1 goto :goto_0 :cond_4 const/4 p0, -0x1 return p0 :cond_5 check-cast p0, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(II)I move-result p0 return p0 .end method .method private static synthetic b(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZ)I .locals 6 const/4 v5, 0x0 move-object v0, p0 move-object v1, p1 move v2, p2 move v3, p3 move v4, p4 invoke-static/range {v0 .. v5}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I move-result p0 return p0 .end method .method public static final b(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String; .locals 1 const-string v0, "$this$substringAfterLast" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "missingDelimiterValue" invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V move-object v0, p0 check-cast v0, Ljava/lang/CharSequence; invoke-static {v0, p1}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;C)I move-result p1 const/4 v0, -0x1 if-ne p1, v0, :cond_0 return-object p2 :cond_0 add-int/lit8 p1, p1, 0x1 invoke-virtual {p0}, Ljava/lang/String;->length()I move-result p2 invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object p0 const-string p1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)" invoke-static {p0, p1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method .method public static final b(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Ljava/util/List; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/CharSequence;", "[", "Ljava/lang/String;", "ZI)", "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation const-string p2, "$this$split" invoke-static {p0, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V const-string p2, "delimiters" invoke-static {p1, p2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V array-length p2, p1 const/4 p3, 0x1 const/4 v0, 0x0 if-ne p2, p3, :cond_1 aget-object p2, p1, v0 move-object v1, p2 check-cast v1, Ljava/lang/CharSequence; invoke-interface {v1}, Ljava/lang/CharSequence;->length()I move-result v1 if-nez v1, :cond_0 goto :goto_0 :cond_0 const/4 p3, 0x0 :goto_0 if-nez p3, :cond_1 invoke-static {p0, p2, v0, v0}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List; move-result-object p0 return-object p0 :cond_1 invoke-static {p0, p1, v0, v0}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Lkotlin/sequences/Sequence; move-result-object p1 invoke-static {p1}, Lkotlin/sequences/i;->j(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable; move-result-object p1 new-instance p2, Ljava/util/ArrayList; const/16 p3, 0xa invoke-static {p1, p3}, Lkotlin/a/m;->a(Ljava/lang/Iterable;I)I move-result p3 invoke-direct {p2, p3}, Ljava/util/ArrayList;->(I)V check-cast p2, Ljava/util/Collection; invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :goto_1 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result p3 if-eqz p3, :cond_2 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object p3 check-cast p3, Lkotlin/ranges/IntRange; invoke-static {p0, p3}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String; move-result-object p3 invoke-interface {p2, p3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z goto :goto_1 :cond_2 check-cast p2, Ljava/util/List; return-object p2 .end method .method public static final k(Ljava/lang/CharSequence;)Lkotlin/ranges/IntRange; .locals 2 const-string v0, "$this$indices" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/ranges/IntRange; invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result p0 add-int/lit8 p0, p0, -0x1 const/4 v1, 0x0 invoke-direct {v0, v1, p0}, Lkotlin/ranges/IntRange;->(II)V return-object v0 .end method .method public static final l(Ljava/lang/CharSequence;)I .locals 1 const-string v0, "$this$lastIndex" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result p0 add-int/lit8 p0, p0, -0x1 return p0 .end method .method public static final trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence; .locals 5 const-string v0, "$this$trim" invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result v0 const/4 v1, 0x1 sub-int/2addr v0, v1 const/4 v2, 0x0 const/4 v3, 0x0 :goto_0 if-gt v2, v0, :cond_3 if-nez v3, :cond_0 move v4, v2 goto :goto_1 :cond_0 move v4, v0 :goto_1 invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C move-result v4 invoke-static {v4}, Lkotlin/text/a;->isWhitespace(C)Z move-result v4 if-nez v3, :cond_2 if-nez v4, :cond_1 const/4 v3, 0x1 goto :goto_0 :cond_1 add-int/lit8 v2, v2, 0x1 goto :goto_0 :cond_2 if-eqz v4, :cond_3 add-int/lit8 v0, v0, -0x1 goto :goto_0 :cond_3 add-int/2addr v0, v1 invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence; move-result-object p0 return-object p0 .end method