2020-07-22 00:04:40 +00:00
|
|
|
.class public Li0/t/g;
|
|
|
|
.super Li0/t/f;
|
2020-07-20 19:00:44 +00:00
|
|
|
.source "Indent.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-direct {p0}, Li0/t/f;-><init>()V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Ljava/lang/String;)Lkotlin/jvm/functions/Function1;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
sget-object p0, Li0/t/g$a;->d:Li0/t/g$a;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-07-22 00:04:40 +00:00
|
|
|
new-instance v0, Li0/t/g$b;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-direct {v0, p0}, Li0/t/g$b;-><init>(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-object p0, v0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final trimIndent(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.locals 15
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_10
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/t/p;->lines(Ljava/lang/CharSequence;)Ljava/util/List;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
move-object v5, v4
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/String;
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v5}, Li0/t/k;->isBlank(Ljava/lang/CharSequence;)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
xor-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v2, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
const/16 v4, 0xa
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v2, v4}, Lf/i/a/b/i1/e;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
invoke-direct {v3, v4}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
const/4 v7, -0x1
|
|
|
|
|
|
|
|
if-ge v5, v6, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v8}, Li0/i/t;->isWhitespace(C)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
xor-int/lit8 v8, v8, 0x1
|
|
|
|
|
|
|
|
if-eqz v8, :cond_2
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v5, -0x1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-ne v5, v7, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_4
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
invoke-interface {v3, v4}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-lez v6, :cond_7
|
|
|
|
|
|
|
|
move-object v3, v4
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
:goto_5
|
|
|
|
check-cast v3, Ljava/lang/Integer;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
mul-int/lit8 v3, v3, 0x0
|
|
|
|
|
|
|
|
add-int/2addr v3, p0
|
|
|
|
|
|
|
|
const-string p0, ""
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/t/g;->a(Ljava/lang/String;)Lkotlin/jvm/functions/Function1;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v1}, Lf/i/a/b/i1/e;->getLastIndex(Ljava/util/List;)I
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
new-instance v6, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-eqz v7, :cond_f
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
add-int/lit8 v8, v5, 0x1
|
|
|
|
|
|
|
|
if-ltz v5, :cond_e
|
|
|
|
|
|
|
|
check-cast v7, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_a
|
|
|
|
|
|
|
|
if-ne v5, v4, :cond_b
|
|
|
|
|
|
|
|
:cond_a
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v7}, Li0/t/k;->isBlank(Ljava/lang/CharSequence;)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_b
|
|
|
|
|
|
|
|
move-object v7, v0
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_b
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v7, v2}, Li0/t/s;->drop(Ljava/lang/String;I)Ljava/lang/String;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {p0, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_c
|
|
|
|
|
|
|
|
move-object v7, v5
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
:goto_8
|
|
|
|
if-eqz v7, :cond_d
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
move v5, v8
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_e
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {}, Lf/i/a/b/i1/e;->throwIndexOverflow()V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p0, v3}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
const/16 v14, 0x7c
|
|
|
|
|
|
|
|
const-string v8, "\n"
|
|
|
|
|
|
|
|
move-object v7, p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static/range {v6 .. v14}, Li0/i/l;->joinTo$default(Ljava/lang/Iterable;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/Appendable;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string v0, "mapIndexedNotNull { inde\u2026\"\\n\")\n .toString()"
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0, v0}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
const-string p0, "$this$trimIndent"
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static trimMargin$default(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
.locals 13
|
|
|
|
|
|
|
|
and-int/lit8 p1, p2, 0x1
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const-string p1, "|"
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object p1, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz p0, :cond_d
|
|
|
|
|
|
|
|
if-eqz p1, :cond_c
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p1}, Li0/t/k;->isBlank(Ljava/lang/CharSequence;)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/t/p;->lines(Ljava/lang/CharSequence;)Ljava/util/List;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
mul-int/lit8 v1, v1, 0x0
|
|
|
|
|
|
|
|
add-int/2addr v1, p0
|
|
|
|
|
|
|
|
const-string p0, ""
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/t/g;->a(Ljava/lang/String;)Lkotlin/jvm/functions/Function1;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v0}, Lf/i/a/b/i1/e;->getLastIndex(Ljava/util/List;)I
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
new-instance v4, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_a
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
|
|
|
|
if-ltz v5, :cond_9
|
|
|
|
|
|
|
|
check-cast v6, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
|
|
|
|
if-ne v5, v3, :cond_2
|
|
|
|
|
|
|
|
:cond_1
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v6}, Li0/t/k;->isBlank(Ljava/lang/CharSequence;)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
|
|
|
|
move-object v6, p2
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {v6}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
const/4 v9, -0x1
|
|
|
|
|
|
|
|
if-ge v8, v5, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v6, v8}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v10}, Li0/i/t;->isWhitespace(C)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
xor-int/lit8 v10, v10, 0x1
|
|
|
|
|
|
|
|
if-eqz v10, :cond_3
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/4 v8, -0x1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-ne v8, v9, :cond_5
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const/4 v5, 0x4
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v6, p1, v8, v2, v5}, Li0/t/k;->startsWith$default(Ljava/lang/String;Ljava/lang/String;IZI)Z
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_6
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
add-int/2addr v5, v8
|
|
|
|
|
|
|
|
invoke-virtual {v6, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const-string v8, "(this as java.lang.String).substring(startIndex)"
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {v5, v8}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_4
|
|
|
|
move-object v5, p2
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
|
|
|
|
invoke-interface {p0, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
|
|
|
|
move-object v6, v5
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_6
|
|
|
|
if-eqz v6, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {v4, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
move v5, v7
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_9
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {}, Lf/i/a/b/i1/e;->throwIndexOverflow()V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
const/16 v12, 0x7c
|
|
|
|
|
|
|
|
const-string v6, "\n"
|
|
|
|
|
|
|
|
move-object v5, p0
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static/range {v4 .. v12}, Li0/i/l;->joinTo$default(Ljava/lang/Iterable;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/Appendable;
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "mapIndexedNotNull { inde\u2026\"\\n\")\n .toString()"
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0, p1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p1, "marginPrefix must be non-blank string."
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
const-string p0, "marginPrefix"
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
const-string p0, "$this$trimMargin"
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-07-20 19:00:44 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
.end method
|