apkfuckery/com.discord/smali_classes2/w/q/a.smali

350 lines
7.1 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public abstract Lw/q/a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "AbstractCollection.kt"
# interfaces
.implements Ljava/util/Collection;
2020-02-20 19:33:18 +00:00
.implements Lw/u/b/z/a;
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"TE;>;",
2020-02-20 19:33:18 +00:00
"Lw/u/b/z/a;"
2019-07-24 11:27:29 +00:00
}
.end annotation
# direct methods
2019-10-09 23:16:36 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public add(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TE;)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<",
"+TE;>;)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
2019-12-06 03:29:40 +00:00
.locals 3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p0}, 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, 0x0
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 {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
2019-12-06 03:29:40 +00:00
:cond_1
2019-07-24 11:27:29 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2019-12-06 03:29:40 +00:00
move-result v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_2
2019-07-24 11:27:29 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v2, p1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_1
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
:cond_2
:goto_0
return v1
2019-07-24 11:27:29 +00:00
.end method
.method public containsAll(Ljava/util/Collection;)Z
2019-12-06 03:29:40 +00:00
.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-02-20 19:33:18 +00:00
invoke-virtual {p0, v0}, Lw/q/a;->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-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/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
.method public abstract getSize()I
.end method
.method public isEmpty()Z
.locals 1
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, Lw/q/a;->getSize()I
2019-07-24 11:27:29 +00:00
move-result 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
.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
2019-12-06 03:29:40 +00:00
.method public final bridge size()I
2019-07-24 11:27:29 +00:00
.locals 1
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, Lw/q/a;->getSize()I
2019-07-24 11:27:29 +00:00
move-result v0
return v0
.end method
.method public toArray()[Ljava/lang/Object;
.locals 1
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lw/u/b/e;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
.end method
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p0, p1}, Lw/u/b/e;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p1
if-eqz p1, :cond_0
return-object p1
:cond_0
2020-02-20 19:33:18 +00:00
new-instance p1, Lw/l;
2019-07-24 11:27:29 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
2020-02-20 19:33:18 +00:00
invoke-direct {p1, v0}, Lw/l;-><init>(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
throw p1
2019-12-06 03:29:40 +00:00
:cond_1
const-string p1, "array"
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
throw p1
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
.locals 8
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
new-instance v6, Lw/q/a$a;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v6, p0}, Lw/q/a$a;-><init>(Lw/q/a;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v1, ", "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v2, "["
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v3, "]"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
const/4 v5, 0x0
2019-12-06 03:29:40 +00:00
const/16 v7, 0x18
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-object v0, p0
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static/range {v0 .. v7}, Lw/q/l;->joinToString$default(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
.end method