apkfuckery/com.discord/smali_classes2/j0/j/b.smali

163 lines
2.9 KiB
Smali
Raw Normal View History

2020-07-20 19:00:44 +00:00
.class public abstract Lj0/j/b;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
.source "AbstractIterator.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-07-20 19:00:44 +00:00
.implements Ljava/util/Iterator;
.implements Lj0/o/c/v/a;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-07-20 19:00:44 +00:00
"Ljava/util/Iterator<",
"TT;>;",
"Lj0/o/c/v/a;"
2020-05-17 12:40:10 +00:00
}
.end annotation
# instance fields
2020-07-20 19:00:44 +00:00
.field public d:Lj0/j/u;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
.field public e:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-20 19:00:44 +00:00
.method public constructor <init>()V
.locals 1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
sget-object v0, Lj0/j/u;->e:Lj0/j/u;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
iput-object v0, p0, Lj0/j/b;->d:Lj0/j/u;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-20 19:00:44 +00:00
.method public abstract a()V
.end method
.method public hasNext()Z
.locals 5
sget-object v0, Lj0/j/u;->g:Lj0/j/u;
iget-object v1, p0, Lj0/j/b;->d:Lj0/j/u;
const/4 v2, 0x1
const/4 v3, 0x0
if-eq v1, v0, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_3
iget-object v1, p0, Lj0/j/b;->d:Lj0/j/u;
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
move-result v1
if-eqz v1, :cond_2
const/4 v4, 0x2
if-eq v1, v4, :cond_1
iput-object v0, p0, Lj0/j/b;->d:Lj0/j/u;
invoke-virtual {p0}, Lj0/j/b;->a()V
iget-object v0, p0, Lj0/j/b;->d:Lj0/j/u;
sget-object v1, Lj0/j/u;->d:Lj0/j/u;
if-ne v0, v1, :cond_1
goto :goto_1
:cond_1
const/4 v2, 0x0
:cond_2
:goto_1
return v2
:cond_3
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Failed requirement."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public next()Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"()TT;"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-20 19:00:44 +00:00
invoke-virtual {p0}, Lj0/j/b;->hasNext()Z
2020-05-17 12:40:10 +00:00
move-result v0
if-eqz v0, :cond_0
2020-07-20 19:00:44 +00:00
sget-object v0, Lj0/j/u;->e:Lj0/j/u;
iput-object v0, p0, Lj0/j/b;->d:Lj0/j/u;
iget-object v0, p0, Lj0/j/b;->e:Ljava/lang/Object;
return-object v0
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-20 19:00:44 +00:00
new-instance v0, Ljava/util/NoSuchElementException;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
throw v0
.end method
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
.method public remove()V
.locals 2
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Operation is not supported for read-only collection"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method