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

207 lines
4.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lkotlin/a/ai;
2019-07-31 00:08:31 +00:00
.super Lkotlin/a/e;
.source "ReversedViews.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lkotlin/a/e<",
"TT;>;"
}
.end annotation
# instance fields
2019-08-22 18:54:10 +00:00
.field private final bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/List;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"TT;>;)V"
}
.end annotation
const-string v0, "delegate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Lkotlin/a/e;-><init>()V
2019-08-22 18:54:10 +00:00
iput-object p1, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
return-void
.end method
# virtual methods
.method public final add(ILjava/lang/Object;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(ITT;)V"
}
.end annotation
2019-08-22 18:54:10 +00:00
iget-object v0, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v1
if-ltz p1, :cond_0
if-lt v1, p1, :cond_0
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v1
sub-int/2addr v1, p1
invoke-interface {v0, v1, p2}, Ljava/util/List;->add(ILjava/lang/Object;)V
return-void
:cond_0
new-instance p2, Ljava/lang/IndexOutOfBoundsException;
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Position index "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " must be in range ["
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-instance p1, Lkotlin/ranges/IntRange;
const/4 v1, 0x0
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v2
invoke-direct {p1, v1, v2}, Lkotlin/ranges/IntRange;-><init>(II)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, "]."
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
check-cast p2, Ljava/lang/Throwable;
throw p2
.end method
.method public final clear()V
.locals 1
2019-08-22 18:54:10 +00:00
iget-object v0, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
invoke-interface {v0}, Ljava/util/List;->clear()V
return-void
.end method
.method public final get(I)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TT;"
}
.end annotation
2019-08-22 18:54:10 +00:00
iget-object v0, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
invoke-static {p0, p1}, Lkotlin/a/u;->c(Ljava/util/List;I)I
move-result p1
invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public final getSize()I
.locals 1
2019-08-22 18:54:10 +00:00
iget-object v0, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
return v0
.end method
.method public final removeAt(I)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TT;"
}
.end annotation
2019-08-22 18:54:10 +00:00
iget-object v0, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
invoke-static {p0, p1}, Lkotlin/a/u;->c(Ljava/util/List;I)I
move-result p1
invoke-interface {v0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public final set(ILjava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(ITT;)TT;"
}
.end annotation
2019-08-22 18:54:10 +00:00
iget-object v0, p0, Lkotlin/a/ai;->bjW:Ljava/util/List;
2019-07-31 00:08:31 +00:00
invoke-static {p0, p1}, Lkotlin/a/u;->c(Ljava/util/List;I)I
move-result p1
invoke-interface {v0, p1, p2}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method