apkfuckery/com.discord/smali_classes2/kotlin/a/d$c.smali

181 lines
3.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lkotlin/a/d$c;
.super Lkotlin/a/d$b;
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/ListIterator;
.implements Lkotlin/jvm/internal/a/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/a/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/a/d<",
"TE;>.b;",
"Ljava/util/ListIterator<",
"TE;>;",
"Lkotlin/jvm/internal/a/a;"
}
.end annotation
# instance fields
2019-11-13 02:27:29 +00:00
.field final synthetic bgG:Lkotlin/a/d;
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Lkotlin/a/d;I)V
2019-10-09 23:16:36 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
2019-11-13 02:27:29 +00:00
iput-object p1, p0, Lkotlin/a/d$c;->bgG:Lkotlin/a/d;
2019-07-24 11:27:29 +00:00
invoke-direct {p0, p1}, Lkotlin/a/d$b;-><init>(Lkotlin/a/d;)V
2019-11-13 02:27:29 +00:00
sget-object v0, Lkotlin/a/d;->bgF:Lkotlin/a/d$a;
2019-07-24 11:27:29 +00:00
invoke-virtual {p1}, Lkotlin/a/d;->size()I
move-result p1
2019-10-09 23:16:36 +00:00
invoke-virtual {v0, p2, p1}, Lkotlin/a/d$a;->checkPositionIndex$kotlin_stdlib(II)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {p0, p2}, Lkotlin/a/d$c;->setIndex(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public final 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 final hasPrevious()Z
.locals 1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/a/d$c;->getIndex()I
move-result v0
2019-07-24 11:27:29 +00:00
if-lez v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final nextIndex()I
.locals 1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/a/d$c;->getIndex()I
move-result v0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public final previous()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TE;"
}
.end annotation
invoke-virtual {p0}, Lkotlin/a/d$c;->hasPrevious()Z
move-result v0
if-eqz v0, :cond_0
2019-11-13 02:27:29 +00:00
iget-object v0, p0, Lkotlin/a/d$c;->bgG:Lkotlin/a/d;
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/a/d$c;->getIndex()I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
add-int/lit8 v1, v1, -0x1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0, v1}, Lkotlin/a/d$c;->setIndex(I)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/a/d$c;->getIndex()I
move-result v1
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Lkotlin/a/d;->get(I)Ljava/lang/Object;
move-result-object v0
return-object v0
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
check-cast v0, Ljava/lang/Throwable;
throw v0
.end method
.method public final previousIndex()I
.locals 1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/a/d$c;->getIndex()I
move-result v0
2019-07-24 11:27:29 +00:00
add-int/lit8 v0, v0, -0x1
return v0
.end method
.method public final 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