apkfuckery/com.discord/smali_classes2/kotlin/a/n.smali
2019-11-20 23:09:14 +01:00

75 lines
2 KiB
Smali

.class public Lkotlin/a/n;
.super Ljava/lang/Object;
.source "CollectionsJVM.kt"
# direct methods
.method public static final copyToArrayOfAny([Ljava/lang/Object;Z)[Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;Z)[",
"Ljava/lang/Object;"
}
.end annotation
const-string v0, "$this$copyToArrayOfAny"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
const-class v0, [Ljava/lang/Object;
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
return-object p0
:cond_0
array-length p1, p0
const-class v0, [Ljava/lang/Object;
invoke-static {p0, p1, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
move-result-object p0
const-string p1, "java.util.Arrays.copyOf(\u2026 Array<Any?>::class.java)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final listOf(Ljava/lang/Object;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
invoke-static {p0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
const-string v0, "java.util.Collections.singletonList(element)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method