mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
7977 lines
198 KiB
Smali
7977 lines
198 KiB
Smali
|
.class Lkotlin/text/StringsKt__StringsKt;
|
||
|
.super Lkotlin/text/StringsKt__StringsJVMKt;
|
||
|
.source "Strings.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||
|
value = "SMAP\nStrings.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Strings.kt\nkotlin/text/StringsKt__StringsKt\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+ 4 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,1486:1\n79#1,22:1487\n113#1,5:1509\n130#1,5:1514\n79#1,22:1519\n107#1:1541\n79#1,22:1542\n113#1,5:1564\n124#1:1569\n113#1,5:1570\n130#1,5:1575\n141#1:1580\n130#1,5:1581\n79#1,22:1586\n113#1,5:1608\n130#1,5:1613\n12554#2,2:1618\n12554#2,2:1620\n288#3,2:1622\n288#3,2:1624\n1549#3:1627\n1620#3,3:1628\n1549#3:1631\n1620#3,3:1632\n1#4:1626\n*S KotlinDebug\n*F\n+ 1 Strings.kt\nkotlin/text/StringsKt__StringsKt\n*L\n107#1:1487,22\n124#1:1509,5\n141#1:1514,5\n146#1:1519,22\n151#1:1541\n151#1:1542,22\n156#1:1564,5\n161#1:1569\n161#1:1570,5\n166#1:1575,5\n171#1:1580\n171#1:1581,5\n176#1:1586,22\n187#1:1608,5\n198#1:1613,5\n940#1:1618,2\n964#1:1620,2\n1003#1:1622,2\n1009#1:1624,2\n1309#1:1627\n1309#1:1628,3\n1334#1:1631\n1334#1:1632,3\n*E\n"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000\u0084\u0001\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\r\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u000c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001e\n\u0002\u0008\n\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0010\u0019\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0008\u0008\n\u0002\u0010\u0011\n\u0002\u0008\u000e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008!\u001a\u0010\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0006H\u0000\u001a\u001c\u0010\u000c\u001a\u00020\r*\u00020\u00022\u0006\u0010\u000e\u001a\u00020\u00022\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a\u001c\u0010\u0011\u001a\u00020\r*\u00020\u00022\u0006\u0010\u000e\u001a\u00020\u00022\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a\u001f\u0010\u0012\u001a\u00020\u0010*\u00020\u00022\u0006\u0010\u0013\u001a\u00020\u00142\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010H\u0086\u0002\u001a\u001f\u0010\u0012\u001a\u00020\u0010*\u00020\u00022\u0006\u0010\u000e\u001a\u00020\u00022\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010H\u0086\u0002\u001a\u0015\u0010\u0012\u001a\u00020\u0010*\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u0016H\u0087\n\u001a\u0018\u0010\u0017\u001a\u00020\u0010*\u0004\u0018\u00010\u00022\u0008\u0010\u000e\u001a\u0004\u0018\u00010\u0002H\u0000\u001a\u0018\u0010\u0018\u001a\u00020\u0010*\u0004\u0018\u00010\u00022\u0008\u0010\u000e\u001a\u0004\u0018\u00010\u0002H\u0000\u001a\u001c\u0010\u0019\u001a\u00020\u0010*\u00020\u00022\u0006\u0010\u0013\u001a\u00020\u00142\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a\u001c\u0010\u0019\u001a\u00020\u0010*\u00020\u00022\u0006\u0010\u001a\u001a\u00020\u00022\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a:\u0010\u001b\u001a\u0010\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\r\u0018\u00010\u001c*\u00020\u00022\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00020\r0\u001e2\u0008\u0008\u0002\u0010\u001f\u001a\u00020\u00062\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001aE\u0010\u001b\u001a\u0010\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\r\u0018\u00010\u001c*\u00020\u00022\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00020\r0\u001e2\u0006\u0010\u001f\u001a\u00020\u00062\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010 \u001a\u00020\u0010H\u0002\u00a2\u0006\u0002\u0008!\u001a:\u0010\"\u001a\u0010\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\r\u0018\u00010\u001c*\u00020\u00022\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00020\r0\u001e2\u0008\u0008\u0002\u0010\u001f\u001a\u00020\u00062\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a\u0012\u0010#\u001a\u00020\u0010*\u00020\u00022\u0006\u0010$\u001a\u00020\u0006\u001a7\u0010%\u001a\u0002H&\"\u000c\u0008\u0000\u0010\'*\u00020\u0002*\u0002H&\"\u0004\u0008\u0001\u0010&*\u0002H\'2\u000c\u0010(\u001a\u0008\u0012\u0004\u0012\u0002H&0)H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010*\u001a7\u0010+\u001a\u0002H&\"\u000c\u0008\u0000\u0010\'*\u00020\u0002*\u0002H&\"\u0004\u0008\u0001\u0010&*\u0002H\'2\u000c\u0010(\u001a\u0008\u0012\u0004\u0012\u0002H&0)H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010*\u001a&\u0010,\u001a\u00020\u0006*\u00020\u00022\u0006\u0010\u0013\u001a\u00020\u00142\u0008\u0008\u0002\u0010\u001f\u001a\u00020\u00062\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a;\u0010,\u001a\u00020\u0006*\u00020\u00022\u0006\u0010\u000e\u001a\u00020\u00022\u0006\u0010\u001f\u001a\u00020\u00062\u0006\u0010-\u001a\u00020\u00062\u0006\u0010\u000f\u001a\u00020\u00102\u0008\u0008\u0002\u0010 \u001a\u00020\u0010H\u0002\u00a2\u0006\u0002\u0008.\u001a&\u0010,\u001a\u00020\u0006*\u00020\u00022\u0006\u0010/\u001a\u00020\r2\u0008\u0008\u0002\u0010\u001f\u001a\u00020\u00062\u0008\u0008\u0002\u0010\u000f\u001a\u00020\u0010\u001a&\u00100\u001a\u00020\u0006*\u00020\u
|
||
|
}
|
||
|
d2 = {
|
||
|
"indices",
|
||
|
"Lkotlin/ranges/IntRange;",
|
||
|
"",
|
||
|
"getIndices",
|
||
|
"(Ljava/lang/CharSequence;)Lkotlin/ranges/IntRange;",
|
||
|
"lastIndex",
|
||
|
"",
|
||
|
"getLastIndex",
|
||
|
"(Ljava/lang/CharSequence;)I",
|
||
|
"requireNonNegativeLimit",
|
||
|
"",
|
||
|
"limit",
|
||
|
"commonPrefixWith",
|
||
|
"",
|
||
|
"other",
|
||
|
"ignoreCase",
|
||
|
"",
|
||
|
"commonSuffixWith",
|
||
|
"contains",
|
||
|
"char",
|
||
|
"",
|
||
|
"regex",
|
||
|
"Lkotlin/text/Regex;",
|
||
|
"contentEqualsIgnoreCaseImpl",
|
||
|
"contentEqualsImpl",
|
||
|
"endsWith",
|
||
|
"suffix",
|
||
|
"findAnyOf",
|
||
|
"Lkotlin/Pair;",
|
||
|
"strings",
|
||
|
"",
|
||
|
"startIndex",
|
||
|
"last",
|
||
|
"findAnyOf$StringsKt__StringsKt",
|
||
|
"findLastAnyOf",
|
||
|
"hasSurrogatePairAt",
|
||
|
"index",
|
||
|
"ifBlank",
|
||
|
"R",
|
||
|
"C",
|
||
|
"defaultValue",
|
||
|
"Lkotlin/Function0;",
|
||
|
"(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;",
|
||
|
"ifEmpty",
|
||
|
"indexOf",
|
||
|
"endIndex",
|
||
|
"indexOf$StringsKt__StringsKt",
|
||
|
"string",
|
||
|
"indexOfAny",
|
||
|
"chars",
|
||
|
"",
|
||
|
"isEmpty",
|
||
|
"isNotBlank",
|
||
|
"isNotEmpty",
|
||
|
"isNullOrBlank",
|
||
|
"isNullOrEmpty",
|
||
|
"iterator",
|
||
|
"Lkotlin/collections/CharIterator;",
|
||
|
"lastIndexOf",
|
||
|
"lastIndexOfAny",
|
||
|
"lineSequence",
|
||
|
"Lkotlin/sequences/Sequence;",
|
||
|
"lines",
|
||
|
"",
|
||
|
"matches",
|
||
|
"orEmpty",
|
||
|
"padEnd",
|
||
|
"length",
|
||
|
"padChar",
|
||
|
"padStart",
|
||
|
"rangesDelimitedBy",
|
||
|
"delimiters",
|
||
|
"",
|
||
|
"rangesDelimitedBy$StringsKt__StringsKt",
|
||
|
"(Ljava/lang/CharSequence;[Ljava/lang/String;IZI)Lkotlin/sequences/Sequence;",
|
||
|
"regionMatchesImpl",
|
||
|
"thisOffset",
|
||
|
"otherOffset",
|
||
|
"removePrefix",
|
||
|
"prefix",
|
||
|
"removeRange",
|
||
|
"range",
|
||
|
"removeSuffix",
|
||
|
"removeSurrounding",
|
||
|
"delimiter",
|
||
|
"replace",
|
||
|
"transform",
|
||
|
"Lkotlin/Function1;",
|
||
|
"Lkotlin/text/MatchResult;",
|
||
|
"replacement",
|
||
|
"replaceAfter",
|
||
|
"missingDelimiterValue",
|
||
|
"replaceAfterLast",
|
||
|
"replaceBefore",
|
||
|
"replaceBeforeLast",
|
||
|
"replaceFirst",
|
||
|
"replaceFirstChar",
|
||
|
"replaceFirstCharWithChar",
|
||
|
"replaceFirstCharWithCharSequence",
|
||
|
"replaceRange",
|
||
|
"split",
|
||
|
"(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Ljava/util/List;",
|
||
|
"split$StringsKt__StringsKt",
|
||
|
"splitToSequence",
|
||
|
"(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Lkotlin/sequences/Sequence;",
|
||
|
"startsWith",
|
||
|
"subSequence",
|
||
|
"start",
|
||
|
"end",
|
||
|
"substring",
|
||
|
"substringAfter",
|
||
|
"substringAfterLast",
|
||
|
"substringBefore",
|
||
|
"substringBeforeLast",
|
||
|
"toBooleanStrict",
|
||
|
"toBooleanStrictOrNull",
|
||
|
"(Ljava/lang/String;)Ljava/lang/Boolean;",
|
||
|
"trim",
|
||
|
"predicate",
|
||
|
"trimEnd",
|
||
|
"trimStart",
|
||
|
"kotlin-stdlib"
|
||
|
}
|
||
|
k = 0x5
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x9,
|
||
|
0x0
|
||
|
}
|
||
|
xi = 0x31
|
||
|
xs = "kotlin/text/StringsKt"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Lkotlin/text/StringsKt__StringsJVMKt;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static final synthetic access$findAnyOf(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
.locals 0
|
||
|
|
||
|
.line 1
|
||
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/text/StringsKt__StringsKt;->findAnyOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final commonPrefixWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Ljava/lang/String;
|
||
|
.locals 5
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "other"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 886
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v2, v0, :cond_0
|
||
|
|
||
|
.line 889
|
||
|
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
invoke-interface {p1, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-static {v3, v4, p2}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 p2, v2, -0x1
|
||
|
|
||
|
.line 892
|
||
|
invoke-static {p0, p2}, Lkotlin/text/StringsKt;->hasSurrogatePairAt(Ljava/lang/CharSequence;I)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
invoke-static {p1, p2}, Lkotlin/text/StringsKt;->hasSurrogatePairAt(Ljava/lang/CharSequence;I)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_2
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, -0x1
|
||
|
|
||
|
.line 895
|
||
|
:cond_2
|
||
|
invoke-interface {p0, v1, v2}, 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 commonPrefixWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 885
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->commonPrefixWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final commonSuffixWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Ljava/lang/String;
|
||
|
.locals 6
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "other"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 907
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 908
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
.line 909
|
||
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v3, v2, :cond_0
|
||
|
|
||
|
sub-int v4, v0, v3
|
||
|
|
||
|
add-int/lit8 v4, v4, -0x1
|
||
|
|
||
|
.line 912
|
||
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
sub-int v5, v1, v3
|
||
|
|
||
|
add-int/lit8 v5, v5, -0x1
|
||
|
|
||
|
invoke-interface {p1, v5}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
invoke-static {v4, v5, p2}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
add-int/lit8 v3, v3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sub-int p2, v0, v3
|
||
|
|
||
|
add-int/lit8 p2, p2, -0x1
|
||
|
|
||
|
.line 915
|
||
|
invoke-static {p0, p2}, Lkotlin/text/StringsKt;->hasSurrogatePairAt(Ljava/lang/CharSequence;I)Z
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-nez p2, :cond_1
|
||
|
|
||
|
sub-int/2addr v1, v3
|
||
|
|
||
|
add-int/lit8 v1, v1, -0x1
|
||
|
|
||
|
invoke-static {p1, v1}, Lkotlin/text/StringsKt;->hasSurrogatePairAt(Ljava/lang/CharSequence;I)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_2
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v3, v3, -0x1
|
||
|
|
||
|
:cond_2
|
||
|
sub-int p1, v0, v3
|
||
|
|
||
|
.line 918
|
||
|
invoke-interface {p0, p1, v0}, 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 commonSuffixWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 906
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->commonSuffixWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final contains(Ljava/lang/CharSequence;CZ)Z
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v5, 0x2
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
move v4, p2
|
||
|
|
||
|
.line 1159
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-ltz p0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final contains(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
||
|
.locals 11
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "other"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1145
|
||
|
instance-of v0, p1, Ljava/lang/String;
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 1146
|
||
|
move-object v4, p1
|
||
|
|
||
|
check-cast v4, Ljava/lang/String;
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
const/4 v7, 0x2
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
move-object v3, p0
|
||
|
|
||
|
move v6, p2
|
||
|
|
||
|
invoke-static/range {v3 .. v8}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-ltz p0, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
.line 1148
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
const/16 v9, 0x10
|
||
|
|
||
|
const/4 v10, 0x0
|
||
|
|
||
|
move-object v3, p0
|
||
|
|
||
|
move-object v4, p1
|
||
|
|
||
|
move v7, p2
|
||
|
|
||
|
invoke-static/range {v3 .. v10}, Lkotlin/text/StringsKt__StringsKt;->indexOf$StringsKt__StringsKt$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-ltz p0, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
move v1, v2
|
||
|
|
||
|
:goto_0
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method private static final contains(Ljava/lang/CharSequence;Lkotlin/text/Regex;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1165
|
||
|
invoke-virtual {p1, p0}, Lkotlin/text/Regex;->containsMatchIn(Ljava/lang/CharSequence;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 1158
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->contains(Ljava/lang/CharSequence;CZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 1144
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->contains(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final contentEqualsIgnoreCaseImpl(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
|
||
|
.locals 6
|
||
|
|
||
|
.line 1423
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
instance-of v0, p1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 1424
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
check-cast p1, Ljava/lang/String;
|
||
|
|
||
|
invoke-static {p0, p1, v1}, Lkotlin/text/StringsKt;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
if-ne p0, p1, :cond_1
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p0, :cond_5
|
||
|
|
||
|
if-eqz p1, :cond_5
|
||
|
|
||
|
.line 1428
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v2, v3, :cond_2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 1430
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
move v3, v0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v3, v2, :cond_4
|
||
|
|
||
|
.line 1431
|
||
|
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-interface {p1, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
invoke-static {v4, v5, v1}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-nez v4, :cond_3
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v3, v3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
return v1
|
||
|
|
||
|
:cond_5
|
||
|
:goto_1
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final contentEqualsImpl(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
|
||
|
.locals 6
|
||
|
|
||
|
.line 1440
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
instance-of v0, p1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 1441
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
if-ne p0, p1, :cond_1
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-eqz p0, :cond_5
|
||
|
|
||
|
if-eqz p1, :cond_5
|
||
|
|
||
|
.line 1445
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v2, v3, :cond_2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 1447
|
||
|
:cond_2
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
move v3, v1
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v3, v2, :cond_4
|
||
|
|
||
|
.line 1448
|
||
|
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-interface {p1, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
if-eq v4, v5, :cond_3
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v3, v3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
return v0
|
||
|
|
||
|
:cond_5
|
||
|
:goto_1
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method public static final endsWith(Ljava/lang/CharSequence;CZ)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 842
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v0, :cond_0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final endsWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
||
|
.locals 8
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "suffix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p2, :cond_0
|
||
|
|
||
|
.line 868
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
instance-of v0, p1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 869
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
check-cast p1, Ljava/lang/String;
|
||
|
|
||
|
const/4 p2, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-static {p0, p1, v1, p2, v0}, Lkotlin/text/StringsKt;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
.line 871
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int v3, v0, v1
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
move-object v2, p0
|
||
|
|
||
|
move-object v4, p1
|
||
|
|
||
|
move v7, p2
|
||
|
|
||
|
invoke-static/range {v2 .. v7}, Lkotlin/text/StringsKt;->regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic endsWith$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 841
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->endsWith(Ljava/lang/CharSequence;CZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic endsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 867
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->endsWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final findAnyOf(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)Lkotlin/Pair;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/util/Collection<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;IZ)",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "strings"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 1031
|
||
|
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/text/StringsKt__StringsKt;->findAnyOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final findAnyOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
.locals 10
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/util/Collection<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;IZZ)",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-nez p3, :cond_2
|
||
|
|
||
|
.line 993
|
||
|
invoke-interface {p1}, Ljava/util/Collection;->size()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
if-ne v1, v2, :cond_2
|
||
|
|
||
|
.line 994
|
||
|
check-cast p1, Ljava/lang/Iterable;
|
||
|
|
||
|
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->single(Ljava/lang/Iterable;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Ljava/lang/String;
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x4
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move v3, p2
|
||
|
|
||
|
if-nez p4, :cond_0
|
||
|
|
||
|
.line 995
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
:goto_0
|
||
|
if-gez p0, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 996
|
||
|
:cond_1
|
||
|
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
:goto_1
|
||
|
return-object v0
|
||
|
|
||
|
:cond_2
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-nez p4, :cond_3
|
||
|
|
||
|
.line 999
|
||
|
new-instance p4, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
invoke-static {p2, v1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-direct {p4, p2, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
check-cast p4, Lkotlin/ranges/IntProgression;
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p4
|
||
|
|
||
|
invoke-static {p2, p4}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-static {p2, v1}, Lkotlin/ranges/RangesKt;->downTo(II)Lkotlin/ranges/IntProgression;
|
||
|
|
||
|
move-result-object p4
|
||
|
|
||
|
.line 1001
|
||
|
:goto_2
|
||
|
instance-of p2, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz p2, :cond_9
|
||
|
|
||
|
.line 1002
|
||
|
invoke-virtual {p4}, Lkotlin/ranges/IntProgression;->getFirst()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-virtual {p4}, Lkotlin/ranges/IntProgression;->getLast()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p4}, Lkotlin/ranges/IntProgression;->getStep()I
|
||
|
|
||
|
move-result p4
|
||
|
|
||
|
if-lez p4, :cond_4
|
||
|
|
||
|
if-le p2, v1, :cond_5
|
||
|
|
||
|
:cond_4
|
||
|
if-gez p4, :cond_f
|
||
|
|
||
|
if-gt v1, p2, :cond_f
|
||
|
|
||
|
.line 1003
|
||
|
:cond_5
|
||
|
:goto_3
|
||
|
move-object v2, p1
|
||
|
|
||
|
check-cast v2, Ljava/lang/Iterable;
|
||
|
|
||
|
.line 1622
|
||
|
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object v8
|
||
|
|
||
|
:cond_6
|
||
|
invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_7
|
||
|
|
||
|
invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v9
|
||
|
|
||
|
move-object v2, v9
|
||
|
|
||
|
check-cast v2, Ljava/lang/String;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
.line 1003
|
||
|
move-object v4, p0
|
||
|
|
||
|
check-cast v4, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
move v5, p2
|
||
|
|
||
|
move v7, p3
|
||
|
|
||
|
invoke-static/range {v2 .. v7}, Lkotlin/text/StringsKt;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_6
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_7
|
||
|
move-object v9, v0
|
||
|
|
||
|
:goto_4
|
||
|
check-cast v9, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v9, :cond_8
|
||
|
|
||
|
.line 1005
|
||
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, v9}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_8
|
||
|
if-eq p2, v1, :cond_f
|
||
|
|
||
|
add-int/2addr p2, p4
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
.line 1008
|
||
|
:cond_9
|
||
|
invoke-virtual {p4}, Lkotlin/ranges/IntProgression;->getFirst()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-virtual {p4}, Lkotlin/ranges/IntProgression;->getLast()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {p4}, Lkotlin/ranges/IntProgression;->getStep()I
|
||
|
|
||
|
move-result p4
|
||
|
|
||
|
if-lez p4, :cond_a
|
||
|
|
||
|
if-le p2, v1, :cond_b
|
||
|
|
||
|
:cond_a
|
||
|
if-gez p4, :cond_f
|
||
|
|
||
|
if-gt v1, p2, :cond_f
|
||
|
|
||
|
.line 1009
|
||
|
:cond_b
|
||
|
:goto_5
|
||
|
move-object v2, p1
|
||
|
|
||
|
check-cast v2, Ljava/lang/Iterable;
|
||
|
|
||
|
.line 1624
|
||
|
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object v8
|
||
|
|
||
|
:cond_c
|
||
|
invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_d
|
||
|
|
||
|
invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v9
|
||
|
|
||
|
move-object v2, v9
|
||
|
|
||
|
check-cast v2, Ljava/lang/String;
|
||
|
|
||
|
.line 1009
|
||
|
move-object v3, v2
|
||
|
|
||
|
check-cast v3, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
move-object v2, v3
|
||
|
|
||
|
move v3, v4
|
||
|
|
||
|
move-object v4, p0
|
||
|
|
||
|
move v5, p2
|
||
|
|
||
|
move v7, p3
|
||
|
|
||
|
invoke-static/range {v2 .. v7}, Lkotlin/text/StringsKt;->regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_c
|
||
|
|
||
|
goto :goto_6
|
||
|
|
||
|
:cond_d
|
||
|
move-object v9, v0
|
||
|
|
||
|
:goto_6
|
||
|
check-cast v9, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v9, :cond_e
|
||
|
|
||
|
.line 1011
|
||
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, v9}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_e
|
||
|
if-eq p2, v1, :cond_f
|
||
|
|
||
|
add-int/2addr p2, p4
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_f
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic findAnyOf$default(Ljava/lang/CharSequence;Ljava/util/Collection;IZILjava/lang/Object;)Lkotlin/Pair;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1030
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->findAnyOf(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final findLastAnyOf(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)Lkotlin/Pair;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/util/Collection<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;IZ)",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "strings"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
.line 1046
|
||
|
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/text/StringsKt__StringsKt;->findAnyOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic findLastAnyOf$default(Ljava/lang/CharSequence;Ljava/util/Collection;IZILjava/lang/Object;)Lkotlin/Pair;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
.line 1045
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
: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/StringsKt;->findLastAnyOf(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final getIndices(Ljava/lang/CharSequence;)Lkotlin/ranges/IntRange;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 373
|
||
|
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;-><init>(II)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 379
|
||
|
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 hasSurrogatePairAt(Ljava/lang/CharSequence;I)Z
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 385
|
||
|
new-instance v0, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/lit8 v1, v1, -0x2
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
invoke-direct {v0, v2, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lkotlin/ranges/IntRange;->contains(I)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 386
|
||
|
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {v0}, Ljava/lang/Character;->isHighSurrogate(C)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
add-int/2addr p1, v0
|
||
|
|
||
|
.line 387
|
||
|
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
invoke-static {p0}, Ljava/lang/Character;->isLowSurrogate(C)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
move v2, v0
|
||
|
|
||
|
:cond_0
|
||
|
return v2
|
||
|
.end method
|
||
|
|
||
|
.method private static final ifBlank(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<C::",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
":TR;R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TC;",
|
||
|
"Lkotlin/jvm/functions/Function0<",
|
||
|
"+TR;>;)TR;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "defaultValue"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 367
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->isBlank(Ljava/lang/CharSequence;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final ifEmpty(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<C::",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
":TR;R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TC;",
|
||
|
"Lkotlin/jvm/functions/Function0<",
|
||
|
"+TR;>;)TR;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "defaultValue"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 356
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOf(Ljava/lang/CharSequence;CIZ)I
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_1
|
||
|
|
||
|
.line 1087
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1090
|
||
|
:cond_0
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(II)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v0, v0, [C
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
aput-char p1, v0, v1
|
||
|
|
||
|
.line 1088
|
||
|
invoke-static {p0, v0, p2, p3}, Lkotlin/text/StringsKt;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
||
|
.locals 8
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "string"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_1
|
||
|
|
||
|
.line 1102
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1105
|
||
|
: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
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 1103
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
move-object v1, p1
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
const/16 v6, 0x10
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move v2, p2
|
||
|
|
||
|
move v4, p3
|
||
|
|
||
|
invoke-static/range {v0 .. v7}, Lkotlin/text/StringsKt__StringsKt;->indexOf$StringsKt__StringsKt$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final indexOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
||
|
.locals 6
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-nez p5, :cond_0
|
||
|
|
||
|
.line 974
|
||
|
new-instance p5, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
invoke-direct {p5, p2, p3}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
check-cast p5, Lkotlin/ranges/IntProgression;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 976
|
||
|
:cond_0
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p5
|
||
|
|
||
|
invoke-static {p2, p5}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
invoke-static {p2, p3}, Lkotlin/ranges/RangesKt;->downTo(II)Lkotlin/ranges/IntProgression;
|
||
|
|
||
|
move-result-object p5
|
||
|
|
||
|
.line 978
|
||
|
:goto_0
|
||
|
instance-of p2, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz p2, :cond_4
|
||
|
|
||
|
instance-of p2, p1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz p2, :cond_4
|
||
|
|
||
|
.line 979
|
||
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getFirst()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getLast()I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getStep()I
|
||
|
|
||
|
move-result p5
|
||
|
|
||
|
if-lez p5, :cond_1
|
||
|
|
||
|
if-le p2, p3, :cond_2
|
||
|
|
||
|
:cond_1
|
||
|
if-gez p5, :cond_8
|
||
|
|
||
|
if-gt p3, p2, :cond_8
|
||
|
|
||
|
.line 980
|
||
|
:cond_2
|
||
|
: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/StringsKt;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
return p2
|
||
|
|
||
|
:cond_3
|
||
|
if-eq p2, p3, :cond_8
|
||
|
|
||
|
add-int/2addr p2, p5
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 984
|
||
|
:cond_4
|
||
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getFirst()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getLast()I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getStep()I
|
||
|
|
||
|
move-result p5
|
||
|
|
||
|
if-lez p5, :cond_5
|
||
|
|
||
|
if-le p2, p3, :cond_6
|
||
|
|
||
|
:cond_5
|
||
|
if-gez p5, :cond_8
|
||
|
|
||
|
if-gt p3, p2, :cond_8
|
||
|
|
||
|
:cond_6
|
||
|
:goto_2
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 985
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
move-object v2, p0
|
||
|
|
||
|
move v3, p2
|
||
|
|
||
|
move v5, p4
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lkotlin/text/StringsKt;->regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_7
|
||
|
|
||
|
return p2
|
||
|
|
||
|
:cond_7
|
||
|
if-eq p2, p3, :cond_8
|
||
|
|
||
|
add-int/2addr p2, p5
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_8
|
||
|
const/4 p0, -0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic indexOf$StringsKt__StringsKt$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZILjava/lang/Object;)I
|
||
|
.locals 6
|
||
|
|
||
|
and-int/lit8 p6, p6, 0x10
|
||
|
|
||
|
if-eqz p6, :cond_0
|
||
|
|
||
|
const/4 p5, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
move v5, p5
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move-object v1, p1
|
||
|
|
||
|
move v2, p2
|
||
|
|
||
|
move v3, p3
|
||
|
|
||
|
move v4, p4
|
||
|
|
||
|
.line 972
|
||
|
invoke-static/range {v0 .. v5}, Lkotlin/text/StringsKt__StringsKt;->indexOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1086
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->indexOf(Ljava/lang/CharSequence;CIZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1101
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOfAny(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)I
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/util/Collection<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;IZ)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "strings"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 1060
|
||
|
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/text/StringsKt__StringsKt;->findAnyOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
invoke-virtual {p0}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Number;->intValue()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, -0x1
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final indexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
||
|
.locals 6
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_0
|
||
|
|
||
|
.line 933
|
||
|
array-length v0, p1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 934
|
||
|
invoke-static {p1}, Lkotlin/collections/ArraysKt;->single([C)C
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
.line 935
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(II)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
.line 938
|
||
|
:cond_0
|
||
|
new-instance v0, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-static {p2, v1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-direct {v0, p2, v2}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
invoke-virtual {v0}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {p2}, Lkotlin/collections/IntIterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
invoke-virtual {p2}, Lkotlin/collections/IntIterator;->nextInt()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 939
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 1618
|
||
|
array-length v3, p1
|
||
|
|
||
|
move v4, v1
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v4, v3, :cond_1
|
||
|
|
||
|
aget-char v5, p1, v4
|
||
|
|
||
|
.line 940
|
||
|
invoke-static {v5, v2, p3}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
if-eqz v5, :cond_2
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 v4, v4, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
const/4 p0, -0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic indexOfAny$default(Ljava/lang/CharSequence;Ljava/util/Collection;IZILjava/lang/Object;)I
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1059
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->indexOfAny(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic indexOfAny$default(Ljava/lang/CharSequence;[CIZILjava/lang/Object;)I
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 932
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isEmpty(Ljava/lang/CharSequence;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 296
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isNotBlank(Ljava/lang/CharSequence;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 316
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->isBlank(Ljava/lang/CharSequence;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
xor-int/lit8 p0, p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isNotEmpty(Ljava/lang/CharSequence;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 304
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-lez p0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isNullOrBlank(Ljava/lang/CharSequence;)Z
|
||
|
.locals 0
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
.line 329
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->isBlank(Ljava/lang/CharSequence;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final isNullOrEmpty(Ljava/lang/CharSequence;)Z
|
||
|
.locals 0
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
.line 287
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final iterator(Ljava/lang/CharSequence;)Lkotlin/collections/CharIterator;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 335
|
||
|
new-instance v0, Lkotlin/text/StringsKt__StringsKt$iterator$1;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lkotlin/text/StringsKt__StringsKt$iterator$1;-><init>(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/collections/CharIterator;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastIndexOf(Ljava/lang/CharSequence;CIZ)I
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_1
|
||
|
|
||
|
.line 1117
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1120
|
||
|
:cond_0
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(II)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v0, v0, [C
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
aput-char p1, v0, v1
|
||
|
|
||
|
.line 1118
|
||
|
invoke-static {p0, v0, p2, p3}, Lkotlin/text/StringsKt;->lastIndexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastIndexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
||
|
.locals 6
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "string"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_1
|
||
|
|
||
|
.line 1132
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1135
|
||
|
:cond_0
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;I)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 1133
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
move-object v1, p1
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move v2, p2
|
||
|
|
||
|
move v4, p3
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lkotlin/text/StringsKt__StringsKt;->indexOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic lastIndexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
.line 1116
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
: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/StringsKt;->lastIndexOf(Ljava/lang/CharSequence;CIZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
.line 1131
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
: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/StringsKt;->lastIndexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastIndexOfAny(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)I
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Ljava/util/Collection<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;IZ)I"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "strings"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
.line 1075
|
||
|
invoke-static {p0, p1, p2, p3, v0}, Lkotlin/text/StringsKt__StringsKt;->findAnyOf$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
invoke-virtual {p0}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Number;->intValue()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, -0x1
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lastIndexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_0
|
||
|
|
||
|
.line 956
|
||
|
array-length v0, p1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 957
|
||
|
invoke-static {p1}, Lkotlin/collections/ArraysKt;->single([C)C
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
.line 958
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(II)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
.line 962
|
||
|
:cond_0
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
:goto_0
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ge v0, p2, :cond_3
|
||
|
|
||
|
.line 963
|
||
|
invoke-interface {p0, p2}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 1620
|
||
|
array-length v1, p1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
if-ge v2, v1, :cond_2
|
||
|
|
||
|
aget-char v3, p1, v2
|
||
|
|
||
|
.line 964
|
||
|
invoke-static {v3, v0, p3}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
return p2
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
add-int/lit8 p2, p2, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic lastIndexOfAny$default(Ljava/lang/CharSequence;Ljava/util/Collection;IZILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
.line 1074
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
: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/StringsKt;->lastIndexOfAny(Ljava/lang/CharSequence;Ljava/util/Collection;IZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic lastIndexOfAny$default(Ljava/lang/CharSequence;[CIZILjava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
.line 955
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
: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/StringsKt;->lastIndexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lineSequence(Ljava/lang/CharSequence;)Lkotlin/sequences/Sequence;
|
||
|
.locals 9
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
")",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "\n"
|
||
|
|
||
|
const-string v1, "\r"
|
||
|
|
||
|
const-string v2, "\r\n"
|
||
|
|
||
|
.line 1394
|
||
|
filled-new-array {v2, v0, v1}, [Ljava/lang/String;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x6
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
move-object v3, p0
|
||
|
|
||
|
invoke-static/range {v3 .. v8}, Lkotlin/text/StringsKt;->splitToSequence$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final lines(Ljava/lang/CharSequence;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
")",
|
||
|
"Ljava/util/List<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1401
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->lineSequence(Ljava/lang/CharSequence;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/sequences/SequencesKt;->toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final matches(Ljava/lang/CharSequence;Lkotlin/text/Regex;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 814
|
||
|
invoke-virtual {p1, p0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final orEmpty(Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
const-string p0, ""
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final padEnd(Ljava/lang/CharSequence;IC)Ljava/lang/CharSequence;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-ltz p1, :cond_2
|
||
|
|
||
|
.line 254
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-gt p1, v0, :cond_0
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 255
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 257
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/StringBuilder;-><init>(I)V
|
||
|
|
||
|
.line 258
|
||
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 259
|
||
|
new-instance v1, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
sub-int/2addr p1, p0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
invoke-direct {v1, p0, p1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {p0}, Lkotlin/collections/IntIterator;->hasNext()Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
invoke-virtual {p0}, Lkotlin/collections/IntIterator;->nextInt()I
|
||
|
|
||
|
.line 260
|
||
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 261
|
||
|
:cond_1
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 253
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance p2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "Desired length "
|
||
|
|
||
|
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string p2, " is less than zero."
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final padEnd(Ljava/lang/String;IC)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 274
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->padEnd(Ljava/lang/CharSequence;IC)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 padEnd$default(Ljava/lang/CharSequence;ICILjava/lang/Object;)Ljava/lang/CharSequence;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/16 p2, 0x20
|
||
|
|
||
|
.line 251
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->padEnd(Ljava/lang/CharSequence;IC)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic padEnd$default(Ljava/lang/String;ICILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/16 p2, 0x20
|
||
|
|
||
|
.line 273
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->padEnd(Ljava/lang/String;IC)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final padStart(Ljava/lang/CharSequence;IC)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-ltz p1, :cond_2
|
||
|
|
||
|
.line 219
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-gt p1, v0, :cond_0
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 220
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 222
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/StringBuilder;-><init>(I)V
|
||
|
|
||
|
.line 223
|
||
|
new-instance v1, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
sub-int/2addr p1, v2
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
invoke-direct {v1, v2, p1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
||
|
|
||
|
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->iterator()Lkotlin/collections/IntIterator;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {p1}, Lkotlin/collections/IntIterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-virtual {p1}, Lkotlin/collections/IntIterator;->nextInt()I
|
||
|
|
||
|
.line 224
|
||
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 225
|
||
|
:cond_1
|
||
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 226
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 218
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance p2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "Desired length "
|
||
|
|
||
|
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string p2, " is less than zero."
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final padStart(Ljava/lang/String;IC)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 239
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->padStart(Ljava/lang/CharSequence;IC)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 padStart$default(Ljava/lang/CharSequence;ICILjava/lang/Object;)Ljava/lang/CharSequence;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/16 p2, 0x20
|
||
|
|
||
|
.line 216
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->padStart(Ljava/lang/CharSequence;IC)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic padStart$default(Ljava/lang/String;ICILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/16 p2, 0x20
|
||
|
|
||
|
.line 238
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->padStart(Ljava/lang/String;IC)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final rangesDelimitedBy$StringsKt__StringsKt(Ljava/lang/CharSequence;[CIZI)Lkotlin/sequences/Sequence;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"[CIZI)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Lkotlin/ranges/IntRange;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 1240
|
||
|
invoke-static {p4}, Lkotlin/text/StringsKt;->requireNonNegativeLimit(I)V
|
||
|
|
||
|
.line 1242
|
||
|
new-instance v0, Lkotlin/text/DelimitedRangesSequence;
|
||
|
|
||
|
new-instance v1, Lkotlin/text/StringsKt__StringsKt$rangesDelimitedBy$1;
|
||
|
|
||
|
invoke-direct {v1, p1, p3}, Lkotlin/text/StringsKt__StringsKt$rangesDelimitedBy$1;-><init>([CZ)V
|
||
|
|
||
|
check-cast v1, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-direct {v0, p0, p2, p4, v1}, Lkotlin/text/DelimitedRangesSequence;-><init>(Ljava/lang/CharSequence;IILkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final rangesDelimitedBy$StringsKt__StringsKt(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
|
||
|
|
||
|
.line 1263
|
||
|
invoke-static {p4}, Lkotlin/text/StringsKt;->requireNonNegativeLimit(I)V
|
||
|
|
||
|
.line 1264
|
||
|
invoke-static {p1}, Lkotlin/collections/ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
.line 1266
|
||
|
new-instance v0, Lkotlin/text/DelimitedRangesSequence;
|
||
|
|
||
|
new-instance v1, Lkotlin/text/StringsKt__StringsKt$rangesDelimitedBy$2;
|
||
|
|
||
|
invoke-direct {v1, p1, p3}, Lkotlin/text/StringsKt__StringsKt$rangesDelimitedBy$2;-><init>(Ljava/util/List;Z)V
|
||
|
|
||
|
check-cast v1, Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
invoke-direct {v0, p0, p2, p4, v1}, Lkotlin/text/DelimitedRangesSequence;-><init>(Ljava/lang/CharSequence;IILkotlin/jvm/functions/Function2;)V
|
||
|
|
||
|
check-cast v0, Lkotlin/sequences/Sequence;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic rangesDelimitedBy$StringsKt__StringsKt$default(Ljava/lang/CharSequence;[CIZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p6, p5, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p6, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p6, p5, 0x4
|
||
|
|
||
|
if-eqz p6, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
:cond_1
|
||
|
and-int/lit8 p5, p5, 0x8
|
||
|
|
||
|
if-eqz p5, :cond_2
|
||
|
|
||
|
move p4, v0
|
||
|
|
||
|
.line 1239
|
||
|
:cond_2
|
||
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/text/StringsKt__StringsKt;->rangesDelimitedBy$StringsKt__StringsKt(Ljava/lang/CharSequence;[CIZI)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic rangesDelimitedBy$StringsKt__StringsKt$default(Ljava/lang/CharSequence;[Ljava/lang/String;IZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p6, p5, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p6, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p6, p5, 0x4
|
||
|
|
||
|
if-eqz p6, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
:cond_1
|
||
|
and-int/lit8 p5, p5, 0x8
|
||
|
|
||
|
if-eqz p5, :cond_2
|
||
|
|
||
|
move p4, v0
|
||
|
|
||
|
.line 1262
|
||
|
:cond_2
|
||
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/text/StringsKt__StringsKt;->rangesDelimitedBy$StringsKt__StringsKt(Ljava/lang/CharSequence;[Ljava/lang/String;IZI)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "other"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-ltz p3, :cond_3
|
||
|
|
||
|
if-ltz p1, :cond_3
|
||
|
|
||
|
.line 821
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int/2addr v1, p4
|
||
|
|
||
|
if-gt p1, v1, :cond_3
|
||
|
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int/2addr v1, p4
|
||
|
|
||
|
if-le p3, v1, :cond_0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
move v1, v0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, p4, :cond_2
|
||
|
|
||
|
add-int v2, p1, v1
|
||
|
|
||
|
.line 826
|
||
|
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
add-int v3, p3, v1
|
||
|
|
||
|
invoke-interface {p2, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
invoke-static {v2, v3, p5}, Lkotlin/text/CharsKt;->equals(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 removePrefix(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
.line 593
|
||
|
invoke-static {p0, p1, v2, v0, v1}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 594
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 596
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-interface {p0, v2, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removePrefix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 604
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
invoke-static {v0, p1, v3, v1, v2}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 605
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "substring(...)"
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeRange(Ljava/lang/CharSequence;II)Ljava/lang/CharSequence;
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-lt p2, p1, :cond_1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-ne p2, p1, :cond_0
|
||
|
|
||
|
.line 553
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 555
|
||
|
:cond_0
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
sub-int v3, p2, p1
|
||
|
|
||
|
sub-int/2addr v2, v3
|
||
|
|
||
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(I)V
|
||
|
|
||
|
.line 556
|
||
|
invoke-virtual {v1, p0, v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string v0, "append(...)"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 557
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-virtual {v1, p0, p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 558
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
.line 550
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
|
||
|
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, "End index ("
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string v0, ") is less than start index ("
|
||
|
|
||
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string p2, ")."
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeRange(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/CharSequence;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 577
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
invoke-static {p0, v0, p1}, Lkotlin/text/StringsKt;->removeRange(Ljava/lang/CharSequence;II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final removeRange(Ljava/lang/String;II)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 570
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->removeRange(Ljava/lang/CharSequence;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 private static final removeRange(Ljava/lang/String;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 586
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/text/StringsKt;->removeRange(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)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 final removeSuffix(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "suffix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
.line 615
|
||
|
invoke-static {p0, p1, v2, v0, v1}, Lkotlin/text/StringsKt;->endsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 616
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
sub-int/2addr v0, p1
|
||
|
|
||
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 618
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-interface {p0, v2, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeSuffix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "suffix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 626
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
invoke-static {v0, p1, v3, v1, v2}, Lkotlin/text/StringsKt;->endsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 627
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
sub-int/2addr v0, p1
|
||
|
|
||
|
invoke-virtual {p0, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "substring(...)"
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeSurrounding(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 661
|
||
|
invoke-static {p0, p1, p1}, Lkotlin/text/StringsKt;->removeSurrounding(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeSurrounding(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "suffix"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 638
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
if-lt v0, v1, :cond_0
|
||
|
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-static {p0, p1, v2, v0, v1}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
invoke-static {p0, p2, v2, v0, v1}, Lkotlin/text/StringsKt;->endsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 639
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
sub-int/2addr v0, p2
|
||
|
|
||
|
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
.line 641
|
||
|
:cond_0
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-interface {p0, v2, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeSurrounding(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 668
|
||
|
invoke-static {p0, p1, p1}, Lkotlin/text/StringsKt;->removeSurrounding(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final removeSurrounding(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
|
.locals 5
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "suffix"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 650
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
add-int/2addr v1, v2
|
||
|
|
||
|
if-lt v0, v1, :cond_0
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x2
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
invoke-static {v0, p1, v1, v2, v3}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-eqz v4, :cond_0
|
||
|
|
||
|
invoke-static {v0, p2, v1, v2, v3}, Lkotlin/text/StringsKt;->endsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 651
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
sub-int/2addr v0, p2
|
||
|
|
||
|
invoke-virtual {p0, p1, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "substring(...)"
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final replace(Ljava/lang/CharSequence;Lkotlin/text/Regex;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 754
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->replace(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final replace(Ljava/lang/CharSequence;Lkotlin/text/Regex;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/text/Regex;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Lkotlin/text/MatchResult;",
|
||
|
"+",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 763
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->replace(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceAfter(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 693
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
if-ne p1, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
.line 694
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {v0, p1, p0, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceAfter(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 702
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, -0x1
|
||
|
|
||
|
if-ne v1, v2, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 703
|
||
|
:cond_0
|
||
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
add-int/2addr v1, p1
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {v0, v1, p0, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceAfter$default(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 692
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceAfter(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceAfter$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 701
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceAfter(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceAfterLast(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 720
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
if-ne p1, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
.line 721
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {v0, p1, p0, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceAfterLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 711
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, -0x1
|
||
|
|
||
|
if-ne v1, v2, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 712
|
||
|
:cond_0
|
||
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
add-int/2addr v1, p1
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {v0, v1, p0, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceAfterLast$default(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 719
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceAfterLast(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceAfterLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 710
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceAfterLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceBefore(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 675
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 676
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p3, p1, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceBefore(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 684
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 685
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p3, p1, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceBefore$default(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 674
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceBefore(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceBefore$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 683
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceBefore(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceBeforeLast(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 729
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 730
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p3, p1, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceBeforeLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 738
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 739
|
||
|
check-cast p2, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p3, p1, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
:goto_0
|
||
|
return-object p3
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceBeforeLast$default(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 728
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceBeforeLast(Ljava/lang/String;CLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic replaceBeforeLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
move-object p3, p0
|
||
|
|
||
|
.line 737
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceBeforeLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final replaceFirst(Ljava/lang/CharSequence;Lkotlin/text/Regex;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 771
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->replaceFirst(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final replaceFirstCharWithChar(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/String;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Character;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 788
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v0, :cond_0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Ljava/lang/Character;
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Character;->charValue()C
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string v0, "substring(...)"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1, p0}, 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
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final replaceFirstCharWithCharSequence(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/String;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"+",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "transform"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 806
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v0, :cond_0
|
||
|
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string v0, "substring(...)"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1, p0}, 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
|
||
|
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-lt p2, p1, :cond_0
|
||
|
|
||
|
.line 506
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 507
|
||
|
invoke-virtual {v0, p0, v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string v1, "append(...)"
|
||
|
|
||
|
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 508
|
||
|
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 509
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-virtual {v0, p0, p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 510
|
||
|
check-cast v0, Ljava/lang/CharSequence;
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 505
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
|
||
|
|
||
|
new-instance p3, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "End index ("
|
||
|
|
||
|
invoke-direct {p3, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string p3, ") is less than start index ("
|
||
|
|
||
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
const-string p2, ")."
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final replaceRange(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 529
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
invoke-static {p0, v0, p1, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final replaceRange(Ljava/lang/String;IILjava/lang/CharSequence;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 520
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;IILjava/lang/CharSequence;)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 private static final replaceRange(Ljava/lang/String;Lkotlin/ranges/IntRange;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "replacement"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 538
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->replaceRange(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;Ljava/lang/CharSequence;)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 final requireNonNegativeLimit(I)V
|
||
|
.locals 2
|
||
|
|
||
|
if-ltz p0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
.line 1271
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, "Limit must be non-negative, but was "
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
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;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method private static final split(Ljava/lang/CharSequence;Lkotlin/text/Regex;I)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/text/Regex;",
|
||
|
"I)",
|
||
|
"Ljava/util/List<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1375
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->split(Ljava/lang/CharSequence;I)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final split(Ljava/lang/CharSequence;[CZI)Ljava/util/List;
|
||
|
.locals 7
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"[CZI)",
|
||
|
"Ljava/util/List<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiters"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1330
|
||
|
array-length v0, p1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 1331
|
||
|
aget-char p1, p1, v0
|
||
|
|
||
|
invoke-static {p1}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt__StringsKt;->split$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v5, 0x2
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move-object v1, p1
|
||
|
|
||
|
move v3, p2
|
||
|
|
||
|
move v4, p3
|
||
|
|
||
|
.line 1334
|
||
|
invoke-static/range {v0 .. v6}, Lkotlin/text/StringsKt__StringsKt;->rangesDelimitedBy$StringsKt__StringsKt$default(Ljava/lang/CharSequence;[CIZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {p1}, Lkotlin/sequences/SequencesKt;->asIterable(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
.line 1631
|
||
|
new-instance p2, Ljava/util/ArrayList;
|
||
|
|
||
|
const/16 p3, 0xa
|
||
|
|
||
|
invoke-static {p1, p3}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
invoke-direct {p2, p3}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
check-cast p2, Ljava/util/Collection;
|
||
|
|
||
|
.line 1632
|
||
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
if-eqz p3, :cond_1
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
.line 1633
|
||
|
check-cast p3, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
.line 1334
|
||
|
invoke-static {p0, p3}, Lkotlin/text/StringsKt;->substring(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
.line 1633
|
||
|
invoke-interface {p2, p3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 1634
|
||
|
:cond_1
|
||
|
check-cast p2, Ljava/util/List;
|
||
|
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static final split(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-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiters"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1302
|
||
|
array-length v0, p1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 1303
|
||
|
aget-object v0, p1, v0
|
||
|
|
||
|
.line 1304
|
||
|
move-object v1, v0
|
||
|
|
||
|
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
|
||
|
|
||
|
.line 1305
|
||
|
:cond_0
|
||
|
invoke-static {p0, v0, p2, p3}, Lkotlin/text/StringsKt__StringsKt;->split$StringsKt__StringsKt(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v5, 0x2
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move-object v1, p1
|
||
|
|
||
|
move v3, p2
|
||
|
|
||
|
move v4, p3
|
||
|
|
||
|
.line 1309
|
||
|
invoke-static/range {v0 .. v6}, Lkotlin/text/StringsKt__StringsKt;->rangesDelimitedBy$StringsKt__StringsKt$default(Ljava/lang/CharSequence;[Ljava/lang/String;IZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {p1}, Lkotlin/sequences/SequencesKt;->asIterable(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
.line 1627
|
||
|
new-instance p2, Ljava/util/ArrayList;
|
||
|
|
||
|
const/16 p3, 0xa
|
||
|
|
||
|
invoke-static {p1, p3}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
invoke-direct {p2, p3}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
check-cast p2, Ljava/util/Collection;
|
||
|
|
||
|
.line 1628
|
||
|
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
|
||
|
|
||
|
.line 1629
|
||
|
check-cast p3, Lkotlin/ranges/IntRange;
|
||
|
|
||
|
.line 1309
|
||
|
invoke-static {p0, p3}, Lkotlin/text/StringsKt;->substring(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
.line 1629
|
||
|
invoke-interface {p2, p3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 1630
|
||
|
:cond_2
|
||
|
check-cast p2, Ljava/util/List;
|
||
|
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method private static final split$StringsKt__StringsKt(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
|
||
|
|
||
|
.line 1346
|
||
|
invoke-static {p3}, Lkotlin/text/StringsKt;->requireNonNegativeLimit(I)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 1349
|
||
|
invoke-static {p0, p1, v0, p2}, Lkotlin/text/StringsKt;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v2, -0x1
|
||
|
|
||
|
if-eq v1, v2, :cond_6
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
if-ne p3, v3, :cond_0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
if-lez p3, :cond_1
|
||
|
|
||
|
move v4, v3
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
move v4, v0
|
||
|
|
||
|
.line 1355
|
||
|
:goto_0
|
||
|
new-instance v5, Ljava/util/ArrayList;
|
||
|
|
||
|
const/16 v6, 0xa
|
||
|
|
||
|
if-eqz v4, :cond_2
|
||
|
|
||
|
invoke-static {p3, v6}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
:cond_2
|
||
|
invoke-direct {v5, v6}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
.line 1357
|
||
|
:cond_3
|
||
|
invoke-interface {p0, v0, v1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
.line 1358
|
||
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
if-eqz v4, :cond_4
|
||
|
|
||
|
.line 1360
|
||
|
invoke-virtual {v5}, Ljava/util/ArrayList;->size()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/lit8 v6, p3, -0x1
|
||
|
|
||
|
if-eq v1, v6, :cond_5
|
||
|
|
||
|
.line 1361
|
||
|
:cond_4
|
||
|
invoke-static {p0, p1, v0, p2}, Lkotlin/text/StringsKt;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-ne v1, v2, :cond_3
|
||
|
|
||
|
.line 1364
|
||
|
:cond_5
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
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
|
||
|
|
||
|
invoke-virtual {v5, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
.line 1365
|
||
|
check-cast v5, Ljava/util/List;
|
||
|
|
||
|
return-object v5
|
||
|
|
||
|
.line 1351
|
||
|
:cond_6
|
||
|
:goto_1
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic split$default(Ljava/lang/CharSequence;Lkotlin/text/Regex;IILjava/lang/Object;)Ljava/util/List;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
const-string p3, "<this>"
|
||
|
|
||
|
.line 1375
|
||
|
invoke-static {p0, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string p3, "regex"
|
||
|
|
||
|
invoke-static {p1, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->split(Ljava/lang/CharSequence;I)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic split$default(Ljava/lang/CharSequence;[CZIILjava/lang/Object;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1329
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->split(Ljava/lang/CharSequence;[CZI)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1301
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->split(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Ljava/util/List;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final splitToSequence(Ljava/lang/CharSequence;Lkotlin/text/Regex;I)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/text/Regex;",
|
||
|
"I)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "regex"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1387
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->splitToSequence(Ljava/lang/CharSequence;I)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final splitToSequence(Ljava/lang/CharSequence;[CZI)Lkotlin/sequences/Sequence;
|
||
|
.locals 8
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"[CZI)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiters"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v6, 0x2
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move v4, p2
|
||
|
|
||
|
move v5, p3
|
||
|
|
||
|
.line 1320
|
||
|
invoke-static/range {v1 .. v7}, Lkotlin/text/StringsKt__StringsKt;->rangesDelimitedBy$StringsKt__StringsKt$default(Ljava/lang/CharSequence;[CIZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
new-instance p2, Lkotlin/text/StringsKt__StringsKt$splitToSequence$2;
|
||
|
|
||
|
invoke-direct {p2, p0}, Lkotlin/text/StringsKt__StringsKt$splitToSequence$2;-><init>(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
check-cast p2, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p1, p2}, Lkotlin/sequences/SequencesKt;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final splitToSequence(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Lkotlin/sequences/Sequence;
|
||
|
.locals 8
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"[",
|
||
|
"Ljava/lang/String;",
|
||
|
"ZI)",
|
||
|
"Lkotlin/sequences/Sequence<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiters"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v6, 0x2
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move v4, p2
|
||
|
|
||
|
move v5, p3
|
||
|
|
||
|
.line 1288
|
||
|
invoke-static/range {v1 .. v7}, Lkotlin/text/StringsKt__StringsKt;->rangesDelimitedBy$StringsKt__StringsKt$default(Ljava/lang/CharSequence;[Ljava/lang/String;IZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
new-instance p2, Lkotlin/text/StringsKt__StringsKt$splitToSequence$1;
|
||
|
|
||
|
invoke-direct {p2, p0}, Lkotlin/text/StringsKt__StringsKt$splitToSequence$1;-><init>(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
check-cast p2, Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-static {p1, p2}, Lkotlin/sequences/SequencesKt;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic splitToSequence$default(Ljava/lang/CharSequence;Lkotlin/text/Regex;IILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
const-string p3, "<this>"
|
||
|
|
||
|
.line 1387
|
||
|
invoke-static {p0, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string p3, "regex"
|
||
|
|
||
|
invoke-static {p1, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1, p0, p2}, Lkotlin/text/Regex;->splitToSequence(Ljava/lang/CharSequence;I)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic splitToSequence$default(Ljava/lang/CharSequence;[CZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1319
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->splitToSequence(Ljava/lang/CharSequence;[CZI)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic splitToSequence$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Lkotlin/sequences/Sequence;
|
||
|
.locals 1
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
move p2, v0
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_1
|
||
|
|
||
|
move p3, v0
|
||
|
|
||
|
.line 1287
|
||
|
:cond_1
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->splitToSequence(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Lkotlin/sequences/Sequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final startsWith(Ljava/lang/CharSequence;CZ)Z
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 836
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-lez v0, :cond_0
|
||
|
|
||
|
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/CharsKt;->equals(CCZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
:cond_0
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method public static final startsWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)Z
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p3, :cond_0
|
||
|
|
||
|
.line 858
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
instance-of v0, p1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 859
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/String;
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
check-cast v2, Ljava/lang/String;
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x4
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move v3, p2
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/String;Ljava/lang/String;IZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
.line 861
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move v1, p2
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move v5, p3
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lkotlin/text/StringsKt;->regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final startsWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
||
|
.locals 6
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "prefix"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
if-nez p2, :cond_0
|
||
|
|
||
|
.line 848
|
||
|
instance-of v0, p0, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
instance-of v0, p1, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 849
|
||
|
check-cast p0, Ljava/lang/String;
|
||
|
|
||
|
check-cast p1, Ljava/lang/String;
|
||
|
|
||
|
const/4 p2, 0x2
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-static {p0, p1, v1, p2, v0}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
.line 851
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move v5, p2
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lkotlin/text/StringsKt;->regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic startsWith$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 835
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->startsWith(Ljava/lang/CharSequence;CZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic startsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_0
|
||
|
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
.line 857
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2, p3}, Lkotlin/text/StringsKt;->startsWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic startsWith$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 847
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->startsWith(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final subSequence(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/CharSequence;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 398
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final subSequence(Ljava/lang/String;II)Ljava/lang/CharSequence;
|
||
|
.locals 1
|
||
|
.annotation runtime Lkotlin/Deprecated;
|
||
|
message = "Use parameters named startIndex and endIndex."
|
||
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
||
|
expression = "subSequence(startIndex = start, endIndex = end)"
|
||
|
imports = {}
|
||
|
.end subannotation
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 409
|
||
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final substring(Ljava/lang/CharSequence;II)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 418
|
||
|
invoke-interface {p0, p1, p2}, 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 final substring(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 423
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
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 final substring(Ljava/lang/String;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "range"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 393
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
invoke-virtual {p0, v0, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "substring(...)"
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic substring$default(Ljava/lang/CharSequence;IIILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
.line 418
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
:cond_0
|
||
|
const-string p3, "<this>"
|
||
|
|
||
|
invoke-static {p0, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, 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 final substringAfter(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 448
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
.line 449
|
||
|
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 p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringAfter(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 457
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 458
|
||
|
: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 p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringAfter$default(Ljava/lang/String;CLjava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 447
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringAfter(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringAfter$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 456
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringAfter(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringAfterLast(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 484
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
.line 485
|
||
|
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 p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringAfterLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 493
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 494
|
||
|
: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 p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringAfterLast$default(Ljava/lang/String;CLjava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 483
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringAfterLast(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringAfterLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 492
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringAfterLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringBefore(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 430
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 431
|
||
|
invoke-virtual {p0, p2, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringBefore(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 439
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 440
|
||
|
invoke-virtual {p0, p2, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringBefore$default(Ljava/lang/String;CLjava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 429
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringBefore(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringBefore$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 438
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringBefore(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringBeforeLast(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 466
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 467
|
||
|
invoke-virtual {p0, p2, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static final substringBeforeLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "delimiter"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "missingDelimiterValue"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 475
|
||
|
move-object v1, p0
|
||
|
|
||
|
check-cast v1, Ljava/lang/CharSequence;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x6
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZILjava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
.line 476
|
||
|
invoke-virtual {p0, p2, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
const-string p0, "substring(...)"
|
||
|
|
||
|
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object p2
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringBeforeLast$default(Ljava/lang/String;CLjava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 465
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringBeforeLast(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic substringBeforeLast$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p3, p3, 0x2
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
move-object p2, p0
|
||
|
|
||
|
.line 474
|
||
|
:cond_0
|
||
|
invoke-static {p0, p1, p2}, Lkotlin/text/StringsKt;->substringBeforeLast(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toBooleanStrict(Ljava/lang/String;)Z
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "true"
|
||
|
|
||
|
.line 1467
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const-string v0, "false"
|
||
|
|
||
|
.line 1468
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p0
|
||
|
|
||
|
.line 1469
|
||
|
:cond_1
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v2, "The string doesn\'t represent a boolean value: "
|
||
|
|
||
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v1, p0}, 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
|
||
|
|
||
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public static final toBooleanStrictOrNull(Ljava/lang/String;)Ljava/lang/Boolean;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "true"
|
||
|
|
||
|
.line 1483
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const-string v0, "false"
|
||
|
|
||
|
.line 1484
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 5
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1587
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
if-gt v2, v0, :cond_4
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
move v4, v2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
move v4, v0
|
||
|
|
||
|
.line 1592
|
||
|
:goto_1
|
||
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
.line 176
|
||
|
invoke-static {v4}, Lkotlin/text/CharsKt;->isWhitespace(C)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
if-nez v4, :cond_1
|
||
|
|
||
|
move v3, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-nez v4, :cond_3
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
:goto_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
.line 1607
|
||
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final trim(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Ljava/lang/CharSequence;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 80
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
if-gt v2, v0, :cond_4
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
move v4, v2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
move v4, v0
|
||
|
|
||
|
.line 85
|
||
|
:goto_1
|
||
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
check-cast v4, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
if-nez v4, :cond_1
|
||
|
|
||
|
move v3, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-nez v4, :cond_3
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
:goto_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
.line 100
|
||
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs trim(Ljava/lang/CharSequence;[C)Ljava/lang/CharSequence;
|
||
|
.locals 5
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1520
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
if-gt v2, v0, :cond_4
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
move v4, v2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
move v4, v0
|
||
|
|
||
|
.line 1525
|
||
|
:goto_1
|
||
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
.line 146
|
||
|
invoke-static {p1, v4}, Lkotlin/collections/ArraysKt;->contains([CC)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
if-nez v4, :cond_1
|
||
|
|
||
|
move v3, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-nez v4, :cond_3
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
:goto_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
.line 1540
|
||
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final trim(Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 182
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->trim(Ljava/lang/CharSequence;)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 final trim(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/String;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 107
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1488
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
if-gt v2, v0, :cond_4
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
move v4, v2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
move v4, v0
|
||
|
|
||
|
.line 1493
|
||
|
:goto_1
|
||
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-static {v4}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
check-cast v4, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
if-nez v4, :cond_1
|
||
|
|
||
|
move v3, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-nez v4, :cond_3
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
:goto_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
.line 1508
|
||
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 107
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs trim(Ljava/lang/String;[C)Ljava/lang/String;
|
||
|
.locals 5
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1541
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1543
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
sub-int/2addr v0, v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
if-gt v2, v0, :cond_4
|
||
|
|
||
|
if-nez v3, :cond_0
|
||
|
|
||
|
move v4, v2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
move v4, v0
|
||
|
|
||
|
.line 1548
|
||
|
:goto_1
|
||
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
.line 151
|
||
|
invoke-static {p1, v4}, Lkotlin/collections/ArraysKt;->contains([CC)Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
if-nez v4, :cond_1
|
||
|
|
||
|
move v3, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
if-nez v4, :cond_3
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
:goto_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
.line 1563
|
||
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 1541
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final trimEnd(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1613
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
if-ltz v0, :cond_2
|
||
|
|
||
|
:goto_0
|
||
|
add-int/lit8 v1, v0, -0x1
|
||
|
|
||
|
.line 1614
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 198
|
||
|
invoke-static {v2}, Lkotlin/text/CharsKt;->isWhitespace(C)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 1615
|
||
|
invoke-interface {p0, v1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_0
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1617
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
:goto_2
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final trimEnd(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Ljava/lang/CharSequence;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 130
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
if-ltz v0, :cond_2
|
||
|
|
||
|
:goto_0
|
||
|
add-int/lit8 v1, v0, -0x1
|
||
|
|
||
|
.line 131
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 132
|
||
|
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 134
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs trimEnd(Ljava/lang/CharSequence;[C)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1575
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
if-ltz v0, :cond_2
|
||
|
|
||
|
:goto_0
|
||
|
add-int/lit8 v1, v0, -0x1
|
||
|
|
||
|
.line 1576
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 166
|
||
|
invoke-static {p1, v2}, Lkotlin/collections/ArraysKt;->contains([CC)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 1577
|
||
|
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_0
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1579
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
:goto_2
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final trimEnd(Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 204
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->trimEnd(Ljava/lang/CharSequence;)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 final trimEnd(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/String;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 141
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1514
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
if-ltz v0, :cond_2
|
||
|
|
||
|
:goto_0
|
||
|
add-int/lit8 v1, v0, -0x1
|
||
|
|
||
|
.line 1515
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 1516
|
||
|
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_0
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1518
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 141
|
||
|
:goto_2
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs trimEnd(Ljava/lang/String;[C)Ljava/lang/String;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1580
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1581
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
add-int/lit8 v0, v0, -0x1
|
||
|
|
||
|
if-ltz v0, :cond_2
|
||
|
|
||
|
:goto_0
|
||
|
add-int/lit8 v1, v0, -0x1
|
||
|
|
||
|
.line 1582
|
||
|
invoke-interface {p0, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 171
|
||
|
invoke-static {p1, v2}, Lkotlin/collections/ArraysKt;->contains([CC)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
.line 1583
|
||
|
invoke-interface {p0, p1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_0
|
||
|
if-gez v1, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
:goto_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1585
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1580
|
||
|
:goto_2
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final trimStart(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1608
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
.line 1609
|
||
|
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 187
|
||
|
invoke-static {v2}, Lkotlin/text/CharsKt;->isWhitespace(C)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 1610
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-interface {p0, v1, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1612
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
:goto_1
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final trimStart(Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Ljava/lang/CharSequence;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 113
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
.line 114
|
||
|
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 115
|
||
|
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
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 117
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs trimStart(Ljava/lang/CharSequence;[C)Ljava/lang/CharSequence;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1564
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
.line 1565
|
||
|
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 156
|
||
|
invoke-static {p1, v2}, Lkotlin/collections/ArraysKt;->contains([CC)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 1566
|
||
|
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
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1568
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
:goto_1
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static final trimStart(Ljava/lang/String;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 193
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
invoke-static {p0}, Lkotlin/text/StringsKt;->trimStart(Ljava/lang/CharSequence;)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 final trimStart(Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/String;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"-",
|
||
|
"Ljava/lang/Character;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;)",
|
||
|
"Ljava/lang/String;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "predicate"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 124
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1509
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
.line 1510
|
||
|
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Ljava/lang/Boolean;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 1511
|
||
|
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
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1513
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 124
|
||
|
:goto_1
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static final varargs trimStart(Ljava/lang/String;[C)Ljava/lang/String;
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "<this>"
|
||
|
|
||
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "chars"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 1569
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1570
|
||
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
.line 1571
|
||
|
invoke-interface {p0, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
.line 161
|
||
|
invoke-static {p1, v2}, Lkotlin/collections/ArraysKt;->contains([CC)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 1572
|
||
|
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
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p0, ""
|
||
|
|
||
|
.line 1574
|
||
|
check-cast p0, Ljava/lang/CharSequence;
|
||
|
|
||
|
.line 1569
|
||
|
:goto_1
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|