93 lines
2.3 KiB
Smali
93 lines
2.3 KiB
Smali
.class public Lkotlin/a/t;
|
|
.super Lkotlin/a/s;
|
|
.source "ReversedViews.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final Y(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/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lkotlin/a/ah;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/a/ah;-><init>(Ljava/util/List;)V
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic c(Ljava/util/List;I)I
|
|
.locals 3
|
|
|
|
invoke-static {p0}, Lkotlin/a/l;->W(Ljava/util/List;)I
|
|
|
|
move-result v0
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
if-lt v0, p1, :cond_0
|
|
|
|
invoke-static {p0}, Lkotlin/a/l;->W(Ljava/util/List;)I
|
|
|
|
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/l;->W(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
|
|
.end method
|