apkfuckery/com.discord/smali_classes2/kotlin/a/u.smali

182 lines
4.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Lkotlin/a/u;
.super Lkotlin/a/t;
2019-07-31 00:08:31 +00:00
.source "ReversedViews.kt"
2019-07-24 11:27:29 +00:00
# direct methods
2019-10-09 23:16:36 +00:00
.method public static final synthetic access$reverseElementIndex(Ljava/util/List;I)I
.locals 3
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0}, Lkotlin/a/m;->getLastIndex(Ljava/util/List;)I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
if-ltz p1, :cond_0
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
if-lt v0, p1, :cond_0
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p0}, Lkotlin/a/m;->getLastIndex(Ljava/util/List;)I
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
move-result p0
sub-int/2addr p0, p1
return p0
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "Element index "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " must be in range ["
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-instance p1, Lkotlin/ranges/IntRange;
const/4 v2, 0x0
invoke-static {p0}, Lkotlin/a/m;->getLastIndex(Ljava/util/List;)I
move-result p0
invoke-direct {p1, v2, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p0, "]."
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
2019-07-31 00:08:31 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public static final synthetic access$reversePositionIndex(Ljava/util/List;I)I
2019-07-31 00:08:31 +00:00
.locals 3
2019-10-09 23:16:36 +00:00
invoke-interface {p0}, Ljava/util/List;->size()I
2019-07-31 00:08:31 +00:00
move-result v0
if-ltz p1, :cond_0
if-lt v0, p1, :cond_0
2019-10-09 23:16:36 +00:00
invoke-interface {p0}, Ljava/util/List;->size()I
2019-07-31 00:08:31 +00:00
move-result p0
sub-int/2addr p0, p1
return p0
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
new-instance v1, Ljava/lang/StringBuilder;
2019-10-09 23:16:36 +00:00
const-string v2, "Position index "
2019-07-31 00:08:31 +00:00
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " must be in range ["
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-instance p1, Lkotlin/ranges/IntRange;
const/4 v2, 0x0
2019-10-09 23:16:36 +00:00
invoke-interface {p0}, Ljava/util/List;->size()I
2019-07-31 00:08:31 +00:00
move-result p0
invoke-direct {p1, v2, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p0, "]."
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public static final asReversed(Ljava/util/List;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$asReversed"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lkotlin/a/aj;
invoke-direct {v0, p0}, Lkotlin/a/aj;-><init>(Ljava/util/List;)V
check-cast v0, Ljava/util/List;
return-object v0
.end method
.method public static final asReversedMutable(Ljava/util/List;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$asReversed"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lkotlin/a/ai;
invoke-direct {v0, p0}, Lkotlin/a/ai;-><init>(Ljava/util/List;)V
check-cast v0, Ljava/util/List;
return-object v0
.end method