apkfuckery/com.discord/smali_classes2/i0/i/c$b.smali

183 lines
3.5 KiB
Smali
Raw Normal View History

2020-07-22 00:04:40 +00:00
.class public Li0/i/c$b;
.super Li0/i/c$a;
2020-05-17 12:40:10 +00:00
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/ListIterator;
2020-07-22 00:04:40 +00:00
.implements Li0/n/c/v/a;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-07-22 00:04:40 +00:00
value = Li0/i/c;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
2020-07-08 16:44:49 +00:00
name = "b"
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-22 00:04:40 +00:00
"Li0/i/c<",
2020-07-08 16:44:49 +00:00
"TE;>.a;",
2020-05-17 12:40:10 +00:00
"Ljava/util/ListIterator<",
"TE;>;",
2020-07-22 00:04:40 +00:00
"Li0/n/c/v/a;"
2020-05-17 12:40:10 +00:00
}
.end annotation
# instance fields
2020-07-22 00:04:40 +00:00
.field public final synthetic f:Li0/i/c;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-22 00:04:40 +00:00
.method public constructor <init>(Li0/i/c;I)V
2020-07-08 16:44:49 +00:00
.locals 3
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
2020-07-22 00:04:40 +00:00
iput-object p1, p0, Li0/i/c$b;->f:Li0/i/c;
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
invoke-direct {p0, p1}, Li0/i/c$a;-><init>(Li0/i/c;)V
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
invoke-virtual {p1}, Li0/i/a;->getSize()I
2020-05-17 12:40:10 +00:00
move-result p1
2020-07-08 16:44:49 +00:00
if-ltz p2, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-gt p2, p1, :cond_0
2020-07-22 00:04:40 +00:00
iput p2, p0, Li0/i/c$a;->d:I
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
const-string v1, "index: "
const-string v2, ", size: "
invoke-static {v1, p2, v2, p1}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.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-07-22 00:04:40 +00:00
iget v0, p0, Li0/i/c$a;->d:I
2020-05-17 12:40:10 +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-07-22 00:04:40 +00:00
iget v0, p0, Li0/i/c$a;->d:I
2020-05-17 12:40:10 +00:00
return v0
.end method
.method public previous()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TE;"
}
.end annotation
2020-07-22 00:04:40 +00:00
invoke-virtual {p0}, Li0/i/c$b;->hasPrevious()Z
2020-05-17 12:40:10 +00:00
move-result v0
if-eqz v0, :cond_0
2020-07-22 00:04:40 +00:00
iget-object v0, p0, Li0/i/c$b;->f:Li0/i/c;
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
iget v1, p0, Li0/i/c$a;->d:I
2020-05-17 12:40:10 +00:00
add-int/lit8 v1, v1, -0x1
2020-07-22 00:04:40 +00:00
iput v1, p0, Li0/i/c$a;->d:I
2020-05-17 12:40:10 +00:00
2020-07-22 00:04:40 +00:00
invoke-virtual {v0, v1}, Li0/i/c;->get(I)Ljava/lang/Object;
2020-05-17 12:40:10 +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-07-22 00:04:40 +00:00
iget v0, p0, Li0/i/c$a;->d:I
2020-05-17 12:40:10 +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