apkfuckery/com.discord/smali_classes2/y/h/c$b.smali

183 lines
3.4 KiB
Smali
Raw Normal View History

2020-11-13 19:18:44 +00:00
.class public Ly/h/c$b;
.super Ly/h/c$a;
2020-11-12 02:11:44 +00:00
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/ListIterator;
2020-11-13 19:18:44 +00:00
.implements Ly/m/c/x/a;
2020-11-12 02:11:44 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-11-13 19:18:44 +00:00
value = Ly/h/c;
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-13 19:18:44 +00:00
"Ly/h/c<",
2020-11-12 02:11:44 +00:00
"TE;>.a;",
"Ljava/util/ListIterator<",
"TE;>;",
2020-11-13 19:18:44 +00:00
"Ly/m/c/x/a;"
2020-11-12 02:11:44 +00:00
}
.end annotation
# instance fields
2020-11-13 19:18:44 +00:00
.field public final synthetic f:Ly/h/c;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public constructor <init>(Ly/h/c;I)V
2020-11-12 02:11:44 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
2020-11-13 19:18:44 +00:00
iput-object p1, p0, Ly/h/c$b;->f:Ly/h/c;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {p0, p1}, Ly/h/c$a;-><init>(Ly/h/c;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {p1}, Ly/h/a;->getSize()I
2020-11-12 02:11:44 +00:00
move-result p1
if-ltz p2, :cond_0
if-gt p2, p1, :cond_0
2020-11-13 19:18:44 +00:00
iput p2, p0, Ly/h/c$a;->d:I
2020-11-12 02:11:44 +00:00
return-void
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
const-string v1, "index: "
const-string v2, ", size: "
2020-11-13 19:18:44 +00:00
invoke-static {v1, p2, v2, p1}, Lf/e/c/a/a;->l(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public add(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TE;)V"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public hasPrevious()Z
.locals 1
2020-11-13 19:18:44 +00:00
iget v0, p0, Ly/h/c$a;->d:I
2020-11-12 02:11:44 +00:00
if-lez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public nextIndex()I
.locals 1
2020-11-13 19:18:44 +00:00
iget v0, p0, Ly/h/c$a;->d:I
2020-11-12 02:11:44 +00:00
return v0
.end method
.method public previous()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TE;"
}
.end annotation
2020-11-13 19:18:44 +00:00
invoke-virtual {p0}, Ly/h/c$b;->hasPrevious()Z
2020-11-12 02:11:44 +00:00
move-result v0
if-eqz v0, :cond_0
2020-11-13 19:18:44 +00:00
iget-object v0, p0, Ly/h/c$b;->f:Ly/h/c;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iget v1, p0, Ly/h/c$a;->d:I
2020-11-12 02:11:44 +00:00
add-int/lit8 v1, v1, -0x1
2020-11-13 19:18:44 +00:00
iput v1, p0, Ly/h/c$a;->d:I
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v1}, Ly/h/c;->get(I)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object v0
return-object v0
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
throw v0
.end method
.method public previousIndex()I
.locals 1
2020-11-13 19:18:44 +00:00
iget v0, p0, Ly/h/c$a;->d:I
2020-11-12 02:11:44 +00:00
add-int/lit8 v0, v0, -0x1
return v0
.end method
.method public set(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TE;)V"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method