apkfuckery/com.discord/smali/kotlin/a/j.smali

91 lines
2.3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Lkotlin/a/j;
.super Lkotlin/a/i;
.source "_ArraysJvm.kt"
# direct methods
2019-10-09 23:16:36 +00:00
.method public static final asList([Ljava/lang/Object;)Ljava/util/List;
.locals 1
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2019-10-09 23:16:36 +00:00
">([TT;)",
"Ljava/util/List<",
"TT;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-10-09 23:16:36 +00:00
const-string v0, "$this$asList"
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
const-string v0, "ArraysUtilJVM.asList(this)"
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return-object p0
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public static final sort([Ljava/lang/Object;)V
.locals 2
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2019-10-09 23:16:36 +00:00
">([TT;)V"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-10-09 23:16:36 +00:00
const-string v0, "$this$sort"
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
array-length v0, p0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
if-le v0, v1, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0}, Ljava/util/Arrays;->sort([Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
:cond_0
return-void
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public static final sortWith([Ljava/lang/Object;Ljava/util/Comparator;)V
2019-07-24 11:27:29 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2019-10-09 23:16:36 +00:00
">([TT;",
"Ljava/util/Comparator<",
"-TT;>;)V"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-10-09 23:16:36 +00:00
const-string v0, "$this$sortWith"
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
array-length v0, p0
const/4 v1, 0x1
if-le v0, v1, :cond_0
2019-10-09 23:16:36 +00:00
invoke-static {p0, p1}, Ljava/util/Arrays;->sort([Ljava/lang/Object;Ljava/util/Comparator;)V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method