apkfuckery/com.discord/smali_classes2/t/a0/n.smali

98 lines
2.1 KiB
Smali
Raw Normal View History

2019-12-18 09:41:56 +00:00
.class public Lt/a0/n;
.super Lt/a0/m;
2019-07-24 11:27:29 +00:00
.source "StringBuilder.kt"
# direct methods
.method public constructor <init>()V
.locals 0
2019-12-18 09:41:56 +00:00
invoke-direct {p0}, Lt/a0/m;-><init>()V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-10-09 23:16:36 +00:00
.method public static final appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
2019-12-06 03:29:40 +00:00
.locals 0
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Appendable;",
"TT;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Ljava/lang/CharSequence;",
">;)V"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_4
2019-07-24 11:27:29 +00:00
if-eqz p2, :cond_0
invoke-interface {p2, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/CharSequence;
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_0
if-eqz p1, :cond_1
instance-of p2, p1, Ljava/lang/CharSequence;
goto :goto_0
:cond_1
const/4 p2, 0x1
:goto_0
if-eqz p2, :cond_2
check-cast p1, Ljava/lang/CharSequence;
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_2
instance-of p2, p1, Ljava/lang/Character;
if-eqz p2, :cond_3
check-cast p1, Ljava/lang/Character;
invoke-virtual {p1}, Ljava/lang/Character;->charValue()C
move-result p1
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_3
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2019-12-06 03:29:40 +00:00
:goto_1
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_4
const-string p0, "$this$appendElement"
2019-12-18 09:41:56 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-07-24 11:27:29 +00:00
.end method