apkfuckery/com.discord/smali/kotlin/text/t.smali
2019-05-04 04:59:52 +02:00

288 lines
6.3 KiB
Smali

.class public Lkotlin/text/t;
.super Lkotlin/text/s;
.source "StringsJVM.kt"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/text/s;-><init>()V
return-void
.end method
.method public static final a(Ljava/lang/String;CCZ)Ljava/lang/String;
.locals 0
const-string p3, "$this$replace"
invoke-static {p0, p3}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object p0
const-string p1, "(this as java.lang.Strin\u2026replace(oldChar, newChar)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final a(Ljava/lang/String;ILjava/lang/String;IIZ)Z
.locals 6
const-string v0, "$this$regionMatches"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "other"
invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
if-nez p5, :cond_0
invoke-virtual {p0, p1, p2, p3, p4}, Ljava/lang/String;->regionMatches(ILjava/lang/String;II)Z
move-result p0
return p0
:cond_0
move-object v0, p0
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
return p0
.end method
.method public static final ad(Ljava/lang/String;Ljava/lang/String;)Z
.locals 0
if-nez p0, :cond_1
if-nez p1, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
:cond_1
invoke-virtual {p0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result p0
return p0
.end method
.method public static final ae(Ljava/lang/String;Ljava/lang/String;)I
.locals 1
const-string v0, "$this$compareTo"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "other"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0, p1}, Ljava/lang/String;->compareToIgnoreCase(Ljava/lang/String;)I
move-result p0
return p0
.end method
.method public static final b(Ljava/lang/String;Ljava/lang/String;Z)Z
.locals 0
const-string p2, "$this$startsWith"
invoke-static {p0, p2}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string p2, "prefix"
invoke-static {p1, p2}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0, p1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result p0
return p0
.end method
.method public static final c(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
.locals 7
const-string p3, "$this$replace"
invoke-static {p0, p3}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string p3, "oldValue"
invoke-static {p1, p3}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string p3, "newValue"
invoke-static {p2, p3}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/lang/CharSequence;
const/4 p3, 0x1
new-array p3, p3, [Ljava/lang/String;
const/4 v0, 0x0
aput-object p1, p3, v0
const-string p1, "$this$splitToSequence"
invoke-static {p0, p1}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "delimiters"
invoke-static {p3, p1}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0, p3, v0, v0}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;[Ljava/lang/String;ZI)Lkotlin/sequences/Sequence;
move-result-object p1
new-instance p3, Lkotlin/text/u$c;
invoke-direct {p3, p0}, Lkotlin/text/u$c;-><init>(Ljava/lang/CharSequence;)V
check-cast p3, Lkotlin/jvm/functions/Function1;
invoke-static {p1, p3}, Lkotlin/sequences/i;->d(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object v0
move-object v1, p2
check-cast v1, Ljava/lang/CharSequence;
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/16 v6, 0x3e
invoke-static/range {v0 .. v6}, Lkotlin/sequences/i;->a(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;I)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static final c(Ljava/lang/String;Ljava/lang/String;Z)Z
.locals 0
const-string p2, "$this$endsWith"
invoke-static {p0, p2}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string p2, "suffix"
invoke-static {p1, p2}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result p0
return p0
.end method
.method public static final j(Ljava/lang/CharSequence;)Z
.locals 4
const-string v0, "$this$isBlank"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_3
invoke-static {p0}, Lkotlin/text/l;->k(Ljava/lang/CharSequence;)Lkotlin/ranges/IntRange;
move-result-object v0
check-cast v0, Ljava/lang/Iterable;
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
const/4 v3, 0x0
if-eqz v2, :cond_1
move-object v2, v0
check-cast v2, Lkotlin/a/aa;
invoke-virtual {v2}, Lkotlin/a/aa;->nextInt()I
move-result v2
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v2
invoke-static {v2}, Lkotlin/text/a;->isWhitespace(C)Z
move-result v2
if-nez v2, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_1
const/4 p0, 0x1
:goto_0
if-eqz p0, :cond_2
goto :goto_1
:cond_2
return v3
:cond_3
:goto_1
return v1
.end method