apkfuckery/com.discord/smali_classes2/kotlin/a/f.smali

353 lines
7.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lkotlin/a/f;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Collections.kt"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/util/Collection;
.implements Lkotlin/jvm/internal/a/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"TT;>;",
"Lkotlin/jvm/internal/a/a;"
}
.end annotation
# instance fields
2019-05-03 18:53:54 +00:00
.field private final beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"[TT;"
}
.end annotation
.end field
2019-05-03 18:53:54 +00:00
.field private final beS:Z
2019-02-04 20:08:30 +00:00
# direct methods
2019-03-27 01:10:13 +00:00
.method public constructor <init>([Ljava/lang/Object;Z)V
2019-02-04 20:08:30 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
2019-03-27 01:10:13 +00:00
"([TT;Z)V"
2019-02-04 20:08:30 +00:00
}
.end annotation
const-string v0, "values"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lkotlin/a/f;->beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-boolean p2, p0, Lkotlin/a/f;->beS:Z
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method public final 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 final 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 final 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 final contains(Ljava/lang/Object;)Z
.locals 2
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lkotlin/a/f;->beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v1, "$this$contains"
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p1}, Lkotlin/a/g;->b([Ljava/lang/Object;Ljava/lang/Object;)I
move-result p1
if-ltz p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final containsAll(Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Ljava/lang/Iterable;
move-object v0, p1
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p0, v0}, Lkotlin/a/f;->contains(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
:cond_1
const/4 p1, 0x1
return p1
.end method
.method public final isEmpty()Z
.locals 1
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lkotlin/a/f;->beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
array-length v0, v0
if-nez v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final iterator()Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lkotlin/a/f;->beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-static {v0}, Lkotlin/jvm/internal/b;->l([Ljava/lang/Object;)Ljava/util/Iterator;
2019-02-04 20:08:30 +00:00
move-result-object v0
return-object v0
.end method
.method public final 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 final 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 final 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 bridge size()I
.locals 1
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lkotlin/a/f;->beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
array-length v0, v0
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
.locals 3
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lkotlin/a/f;->beR:[Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-boolean v1, p0, Lkotlin/a/f;->beS:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "$this$copyToArrayOfAny"
2019-02-04 20:08:30 +00:00
invoke-static {v0, v2}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz v1, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
const-class v2, [Ljava/lang/Object;
2019-02-04 20:32:01 +00:00
invoke-static {v1, v2}, Lkotlin/jvm/internal/j;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
move-result v1
if-eqz v1, :cond_0
return-object v0
:cond_0
array-length v1, v0
const-class v2, [Ljava/lang/Object;
invoke-static {v0, v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
move-result-object v0
const-string v1, "java.util.Arrays.copyOf(\u2026 Array<Any?>::class.java)"
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method
.method public final toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
invoke-static {p0, p1}, Lkotlin/jvm/internal/f;->a(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
return-object p1
.end method