apkfuckery/com.discord/smali_classes2/c0/i/d.smali

350 lines
7.6 KiB
Smali
Raw Normal View History

2020-09-22 07:09:10 +00:00
.class public final Lc0/i/d;
2020-09-08 08:16:32 +00:00
.super Ljava/lang/Object;
.source "Collections.kt"
# interfaces
.implements Ljava/util/Collection;
2020-09-23 03:12:49 +00:00
.implements Lc0/n/c/x/a;
2020-09-08 08:16:32 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"TT;>;",
2020-09-23 03:12:49 +00:00
"Lc0/n/c/x/a;"
2020-09-08 08:16:32 +00:00
}
.end annotation
# 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
# direct methods
.method public constructor <init>([Ljava/lang/Object;Z)V
2020-09-16 23:45:23 +00:00
.locals 1
2020-09-08 08:16:32 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"([TT;Z)V"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "values"
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-09-22 07:09:10 +00:00
iput-object p1, p0, Lc0/i/d;->d:[Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
2020-09-22 07:09:10 +00:00
iput-boolean p2, p0, Lc0/i/d;->e:Z
2020-09-08 08:16:32 +00:00
return-void
.end method
# virtual methods
.method public add(Ljava/lang/Object;)Z
.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
.method public addAll(Ljava/util/Collection;)Z
.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
.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
2020-09-16 23:45:23 +00:00
.locals 2
2020-09-08 08:16:32 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
2020-09-16 23:45:23 +00:00
const-string v1, "$this$contains"
2020-09-23 03:12:49 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
invoke-static {v0, p1}, Lf/h/a/f/e/n/f;->indexOf([Ljava/lang/Object;Ljava/lang/Object;)I
2020-09-08 08:16:32 +00:00
move-result p1
2020-09-16 23:45:23 +00:00
if-ltz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
2020-09-08 08:16:32 +00:00
return 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
2020-09-16 23:45:23 +00:00
const-string v0, "elements"
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
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
:cond_1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_2
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
2020-09-22 07:09:10 +00:00
invoke-virtual {p0, v0}, Lc0/i/d;->contains(Ljava/lang/Object;)Z
2020-09-08 08:16:32 +00:00
move-result v0
if-nez v0, :cond_1
const/4 v1, 0x0
:cond_2
:goto_0
return v1
.end method
.method public isEmpty()Z
.locals 1
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object;
2020-09-08 08:16:32 +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
.end method
.method public iterator()Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
2020-09-22 07:09:10 +00:00
invoke-static {v0}, Lc0/j/a;->iterator([Ljava/lang/Object;)Ljava/util/Iterator;
2020-09-08 08:16:32 +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<",
"+",
"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 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-09-22 07:09:10 +00:00
iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
array-length v0, v0
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
.locals 4
2020-09-08 08:16:32 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v1, p0, Lc0/i/d;->e:Z
2020-09-08 08:16:32 +00:00
const-class v2, [Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
const-string v3, "$this$copyToArrayOfAny"
2020-09-23 03:12:49 +00:00
invoke-static {v0, v3}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
2020-09-23 03:12:49 +00:00
invoke-static {v1, v2}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-08 08:16:32 +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;
move-result-object v0
2020-09-16 21:45:36 +00:00
:goto_0
2020-09-16 23:45:23 +00:00
const-string v1, "if (isVarargs && this.ja\u2026 Array<Any?>::class.java)"
2020-09-16 21:45:36 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
return-object v0
2020-09-08 08:16:32 +00:00
.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-09-23 03:12:49 +00:00
invoke-static {p0, p1}, Lc0/n/c/f;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
move-result-object p1
return-object p1
.end method