2020-07-14 22:43:59 +00:00
|
|
|
.class public Li0/t/k;
|
|
|
|
.super Li0/t/j;
|
2020-07-10 04:01:33 +00:00
|
|
|
.source "StringsJVM.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-direct {p0}, Li0/t/j;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
.method public static final compareTo(Ljava/lang/String;Ljava/lang/String;Z)I
|
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p2, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->compareToIgnoreCase(Ljava/lang/String;)I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
.locals 6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
and-int/lit8 p3, p3, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 p2, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
sub-int v1, p2, p3
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v5, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-object v0, p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-object v2, p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Li0/t/k;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:goto_0
|
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p0, "suffix"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
throw p3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$endsWith"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
throw p3
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-nez p0, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_1
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
.method public static final isBlank(Ljava/lang/CharSequence;)Z
|
|
|
|
.locals 4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p0, :cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v1, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v2, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz v0, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
add-int/lit8 v3, v3, -0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-direct {v0, v1, v3}, Lkotlin/ranges/IntRange;-><init>(II)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
instance-of v3, v0, Ljava/util/Collection;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz v3, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-object v3, v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
check-cast v3, Ljava/util/Collection;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Collection;->isEmpty()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz v3, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz v3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-object v3, v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
check-cast v3, Li0/i/q;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-virtual {v3}, Li0/i/q;->nextInt()I
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {v3}, Li0/i/t;->isWhitespace(C)Z
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "$this$isBlank"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
if-nez p5, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Ljava/lang/String;->regionMatches(ILjava/lang/String;II)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
move-object v0, p0
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move v1, p5
|
|
|
|
|
|
|
|
move v2, p1
|
|
|
|
|
|
|
|
move-object v3, p2
|
|
|
|
|
|
|
|
move v4, p3
|
|
|
|
|
|
|
|
move v5, p4
|
|
|
|
|
|
|
|
invoke-virtual/range {v0 .. v5}, Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "other"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$regionMatches"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
.method public static replace$default(Ljava/lang/String;CCZI)Ljava/lang/String;
|
|
|
|
.locals 8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
and-int/lit8 p4, p4, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p4, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v4, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
move v4, p3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:goto_0
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result-object p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const-string p1, "(this as java.lang.Strin\u2026replace(oldChar, newChar)"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0, p1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p3, 0x1
|
|
|
|
|
|
|
|
new-array v2, p3, [C
|
|
|
|
|
|
|
|
aput-char p1, v2, v0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x2
|
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Li0/t/p;->d(Ljava/lang/CharSequence;[CIZII)Lkotlin/sequences/Sequence;
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
new-instance p3, Li0/t/o;
|
2020-07-10 04:01:33 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-direct {p3, p0}, Li0/t/o;-><init>(Ljava/lang/CharSequence;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p1, p3}, Li0/i/t;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v5, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v6, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/16 v7, 0x3e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static/range {v0 .. v7}, Li0/i/t;->joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result-object p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:goto_1
|
|
|
|
return-object p0
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
.method public static replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
|
|
|
|
.locals 10
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v0, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
and-int/2addr p4, v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v1, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p4, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 p3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p4, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 p4, 0x1
|
|
|
|
|
|
|
|
new-array p4, p4, [Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object p1, p4, v1
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0, p4, p3, v1, v0}, Li0/t/p;->splitToSequence$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Lkotlin/sequences/Sequence;
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/16 v9, 0x3e
|
|
|
|
|
|
|
|
move-object v3, p2
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static/range {v2 .. v9}, Li0/i/t;->joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "newValue"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
throw p4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-07-10 04:01:33 +00:00
|
|
|
const-string p0, "oldValue"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
throw p4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_3
|
2020-07-10 04:01:33 +00:00
|
|
|
const-string p0, "$this$replace"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
throw p4
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
.method public static final startsWith(Ljava/lang/String;Ljava/lang/String;IZ)Z
|
|
|
|
.locals 6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-nez p3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->startsWith(Ljava/lang/String;I)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-object v0, p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move v1, p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-object v2, p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move v5, p3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Li0/t/k;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "prefix"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$startsWith"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
throw v0
|
|
|
|
.end method
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
.method public static final startsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
.locals 6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
if-nez p2, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
const/4 v3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v2, p1
|
|
|
|
|
|
|
|
move v5, p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Li0/t/k;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "prefix"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$startsWith"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic startsWith$default(Ljava/lang/String;Ljava/lang/String;IZI)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0, p1, p2, p3}, Li0/t/k;->startsWith(Ljava/lang/String;Ljava/lang/String;IZ)Z
|
2020-07-10 04:01:33 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p0, p1, p2}, Li0/t/k;->startsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
move-result p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-10 04:01:33 +00:00
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|