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

367 lines
7.6 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lj0/j/d;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
.source "Collections.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-07-20 19:00:44 +00:00
.implements Ljava/util/Collection;
2020-07-23 01:06:17 +00:00
.implements Lj0/o/c/v/a;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"<T:",
2020-05-17 12:40:10 +00:00
"Ljava/lang/Object;",
2020-07-20 19:00:44 +00:00
">",
2020-05-17 12:40:10 +00:00
"Ljava/lang/Object;",
2020-07-20 19:00:44 +00:00
"Ljava/util/Collection<",
"TT;>;",
2020-07-23 01:06:17 +00:00
"Lj0/o/c/v/a;"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-20 19:00:44 +00:00
# instance fields
.field public final d:[Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"[TT;"
}
.end annotation
.end field
.field public final e:Z
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-20 19:00:44 +00:00
.method public constructor <init>([Ljava/lang/Object;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"([TT;Z)V"
}
.end annotation
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-23 01:06:17 +00:00
iput-object p1, p0, Lj0/j/d;->d:[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-boolean p2, p0, Lj0/j/d;->e:Z
2020-05-17 12:40:10 +00:00
return-void
.end method
2020-07-20 19:00:44 +00:00
# virtual methods
.method public add(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
new-instance p1, Ljava/lang/UnsupportedOperationException;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const-string v0, "Operation is not supported for read-only collection"
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public addAll(Ljava/util/Collection;)Z
2020-05-17 12:40:10 +00:00
.locals 1
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+TT;>;)Z"
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
new-instance p1, Ljava/lang/UnsupportedOperationException;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
const-string v0, "Operation is not supported for read-only collection"
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public clear()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
.end method
.method public contains(Ljava/lang/Object;)Z
.locals 1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lj0/j/d;->d:[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v0, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v0, p1}, Lj0/f;->indexOf([Ljava/lang/Object;Ljava/lang/Object;)I
2020-05-17 12:40:10 +00:00
move-result p1
2020-07-20 19:00:44 +00:00
if-ltz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:goto_0
return p1
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:cond_1
const-string p1, "$this$contains"
2020-07-23 01:06:17 +00:00
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public containsAll(Ljava/util/Collection;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
if-eqz p1, :cond_3
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_0
goto :goto_0
:cond_0
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
2020-05-17 12:40:10 +00:00
:cond_1
2020-07-20 19:00:44 +00:00
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result v0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v0, :cond_2
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
2020-07-23 01:06:17 +00:00
invoke-virtual {p0, v0}, Lj0/j/d;->contains(Ljava/lang/Object;)Z
2020-07-20 19:00:44 +00:00
move-result v0
if-nez v0, :cond_1
const/4 v1, 0x0
:cond_2
:goto_0
return v1
:cond_3
const-string p1, "elements"
2020-07-23 01:06:17 +00:00
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public isEmpty()Z
.locals 1
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lj0/j/d;->d:[Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
array-length v0, v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
2020-05-17 12:40:10 +00:00
.end method
2020-07-20 19:00:44 +00:00
.method public iterator()Ljava/util/Iterator;
2020-05-17 12:40:10 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2020-07-20 19:00:44 +00:00
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lj0/j/d;->d:[Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Lj0/f;->iterator([Ljava/lang/Object;)Ljava/util/Iterator;
2020-07-20 19:00:44 +00:00
move-result-object v0
return-object v0
.end method
.method public remove(Ljava/lang/Object;)Z
.locals 1
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 removeAll(Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
2020-05-17 12:40:10 +00:00
"Ljava/lang/Object;",
2020-07-20 19:00:44 +00:00
">;)Z"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-20 19:00:44 +00:00
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 retainAll(Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.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 size()I
.locals 1
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lj0/j/d;->d:[Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
array-length v0, v0
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
.locals 3
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lj0/j/d;->d:[Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-07-23 01:06:17 +00:00
iget-boolean v1, p0, Lj0/j/d;->e:Z
2020-07-20 19:00:44 +00:00
const-class v2, [Ljava/lang/Object;
if-eqz v0, :cond_1
if-eqz v1, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
2020-07-23 01:06:17 +00:00
invoke-static {v1, v2}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-20 19:00:44 +00:00
move-result v1
if-eqz v1, :cond_0
goto :goto_0
:cond_0
array-length v1, v0
invoke-static {v0, v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
const-string v1, "java.util.Arrays.copyOf(\u2026 Array<Any?>::class.java)"
2020-07-23 01:06:17 +00:00
invoke-static {v0, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
:goto_0
2020-05-17 12:40:10 +00:00
return-object v0
2020-07-20 19:00:44 +00:00
:cond_1
const-string v0, "$this$copyToArrayOfAny"
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Lj0/o/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
const/4 v0, 0x0
throw v0
.end method
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
2020-07-23 01:06:17 +00:00
invoke-static {p0, p1}, Lj0/o/c/e;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
move-result-object p1
return-object p1
2020-05-17 12:40:10 +00:00
.end method