apkfuckery/com.discord/smali_classes2/y/q/e.smali

357 lines
7.5 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public final Ly/q/e;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "Collections.kt"
# interfaces
.implements Ljava/util/Collection;
2020-05-11 19:22:21 +00:00
.implements Ly/v/b/a0/a;
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"TT;>;",
2020-05-11 19:22:21 +00:00
"Ly/v/b/a0/a;"
2019-07-24 11:27:29 +00:00
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final d:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"[TT;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final e:Z
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>([Ljava/lang/Object;Z)V
2019-12-06 03:29:40 +00:00
.locals 0
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"([TT;Z)V"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Ly/q/e;->d:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iput-boolean p2, p0, Ly/q/e;->e:Z
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "values"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public add(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)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
2019-12-06 03:29:40 +00:00
.method public addAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+TT;>;)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
2019-12-06 03:29:40 +00:00
.method public clear()V
2019-07-24 11:27:29 +00:00
.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
2019-12-06 03:29:40 +00:00
.method public contains(Ljava/lang/Object;)Z
2019-10-09 23:16:36 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/q/e;->d:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v0, p1}, Lf/o/a/j/a;->contains([Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
move-result p1
return p1
.end method
2019-12-06 03:29:40 +00:00
.method public containsAll(Ljava/util/Collection;)Z
.locals 2
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2019-07-24 11:27:29 +00:00
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
2019-12-06 03:29:40 +00:00
:cond_1
2019-07-24 11:27:29 +00:00
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2019-07-24 11:27:29 +00:00
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
2020-05-11 19:22:21 +00:00
invoke-virtual {p0, v0}, Ly/q/e;->contains(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_2
:goto_0
return v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_3
const-string p1, "elements"
2019-10-09 23:16:36 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
throw p1
2019-10-09 23:16:36 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public isEmpty()Z
2019-07-24 11:27:29 +00:00
.locals 1
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/q/e;->d:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
array-length v0, v0
if-nez v0, :cond_0
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/q/e;->d:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v0}, Lf/o/a/j/a;->iterator([Ljava/lang/Object;)Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public remove(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.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
2019-12-06 03:29:40 +00:00
.method public removeAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.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
2019-12-06 03:29:40 +00:00
.method public retainAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.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
2019-10-09 23:16:36 +00:00
.method public final size()I
2019-07-24 11:27:29 +00:00
.locals 1
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/q/e;->d:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
array-length v0, v0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
.locals 3
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Ly/q/e;->d:[Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-05-11 19:22:21 +00:00
iget-boolean v1, p0, Ly/q/e;->e:Z
2019-12-06 03:29:40 +00:00
const-class v2, [Ljava/lang/Object;
if-eqz v0, :cond_1
if-eqz v1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v1, v2}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +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;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
const-string v1, "java.util.Arrays.copyOf(\u2026 Array<Any?>::class.java)"
2020-05-11 19:22:21 +00:00
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-object v0
2019-12-06 03:29:40 +00:00
:cond_1
const-string v0, "$this$copyToArrayOfAny"
2020-05-11 19:22:21 +00:00
invoke-static {v0}, Ly/v/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
throw v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
2020-05-11 19:22:21 +00:00
invoke-static {p0, p1}, Ly/v/b/e;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p1
return-object p1
.end method