Rabbit-R1/android (non root)/smali/smali_classes3/kotlin/enums/EnumEntriesList.smali
2024-05-21 17:08:36 -04:00

320 lines
8 KiB
Smali

.class final Lkotlin/enums/EnumEntriesList;
.super Lkotlin/collections/AbstractList;
.source "EnumEntries.kt"
# interfaces
.implements Lkotlin/enums/EnumEntries;
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Enum<",
"TT;>;>",
"Lkotlin/collections/AbstractList<",
"TT;>;",
"Lkotlin/enums/EnumEntries<",
"TT;>;",
"Ljava/io/Serializable;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000:\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\t\n\u0002\u0010\u0000\n\u0000\u0008\u0003\u0018\u0000*\u000e\u0008\u0000\u0010\u0001*\u0008\u0012\u0004\u0012\u0002H\u00010\u00022\u0008\u0012\u0004\u0012\u0002H\u00010\u00032\u0008\u0012\u0004\u0012\u0002H\u00010\u00042\u00060\u0005j\u0002`\u0006B\u0013\u0012\u000c\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0008\u00a2\u0006\u0002\u0010\tJ\u0016\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010\u0012J\u0016\u0010\u0013\u001a\u00028\u00002\u0006\u0010\u0014\u001a\u00020\u000cH\u0096\u0002\u00a2\u0006\u0002\u0010\u0015J\u0015\u0010\u0016\u001a\u00020\u000c2\u0006\u0010\u0011\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\u0017J\u0015\u0010\u0018\u001a\u00020\u000c2\u0006\u0010\u0011\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\u0017J\u0008\u0010\u0019\u001a\u00020\u001aH\u0002R\u0016\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0008X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\nR\u0014\u0010\u000b\u001a\u00020\u000c8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\r\u0010\u000e\u00a8\u0006\u001b"
}
d2 = {
"Lkotlin/enums/EnumEntriesList;",
"T",
"",
"Lkotlin/enums/EnumEntries;",
"Lkotlin/collections/AbstractList;",
"Ljava/io/Serializable;",
"Lkotlin/io/Serializable;",
"entries",
"",
"([Ljava/lang/Enum;)V",
"[Ljava/lang/Enum;",
"size",
"",
"getSize",
"()I",
"contains",
"",
"element",
"(Ljava/lang/Enum;)Z",
"get",
"index",
"(I)Ljava/lang/Enum;",
"indexOf",
"(Ljava/lang/Enum;)I",
"lastIndexOf",
"writeReplace",
"",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final entries:[Ljava/lang/Enum;
.annotation system Ldalvik/annotation/Signature;
value = {
"[TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>([Ljava/lang/Enum;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"([TT;)V"
}
.end annotation
const-string v0, "entries"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 47
invoke-direct {p0}, Lkotlin/collections/AbstractList;-><init>()V
iput-object p1, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
return-void
.end method
.method private final writeReplace()Ljava/lang/Object;
.locals 1
.line 86
new-instance v0, Lkotlin/enums/EnumEntriesSerializationProxy;
iget-object p0, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
invoke-direct {v0, p0}, Lkotlin/enums/EnumEntriesSerializationProxy;-><init>([Ljava/lang/Enum;)V
return-object v0
.end method
# virtual methods
.method public contains(Ljava/lang/Enum;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
const-string v0, "element"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
.line 68
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result v0
invoke-static {p0, v0}, Lkotlin/collections/ArraysKt;->getOrNull([Ljava/lang/Object;I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Enum;
if-ne p0, p1, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public final bridge contains(Ljava/lang/Object;)Z
.locals 1
.line 46
instance-of v0, p1, Ljava/lang/Enum;
if-nez v0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
check-cast p1, Ljava/lang/Enum;
invoke-virtual {p0, p1}, Lkotlin/enums/EnumEntriesList;->contains(Ljava/lang/Enum;)Z
move-result p0
return p0
.end method
.method public get(I)Ljava/lang/Enum;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TT;"
}
.end annotation
.line 57
sget-object v0, Lkotlin/collections/AbstractList;->Companion:Lkotlin/collections/AbstractList$Companion;
iget-object v1, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
array-length v1, v1
invoke-virtual {v0, p1, v1}, Lkotlin/collections/AbstractList$Companion;->checkElementIndex$kotlin_stdlib(II)V
iget-object p0, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
.line 58
aget-object p0, p0, p1
return-object p0
.end method
.method public bridge synthetic get(I)Ljava/lang/Object;
.locals 0
.line 46
invoke-virtual {p0, p1}, Lkotlin/enums/EnumEntriesList;->get(I)Ljava/lang/Enum;
move-result-object p0
return-object p0
.end method
.method public getSize()I
.locals 0
iget-object p0, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
.line 54
array-length p0, p0
return p0
.end method
.method public indexOf(Ljava/lang/Enum;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)I"
}
.end annotation
const-string v0, "element"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 76
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result v0
iget-object p0, p0, Lkotlin/enums/EnumEntriesList;->entries:[Ljava/lang/Enum;
.line 77
invoke-static {p0, v0}, Lkotlin/collections/ArraysKt;->getOrNull([Ljava/lang/Object;I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Enum;
if-ne p0, p1, :cond_0
goto :goto_0
:cond_0
const/4 v0, -0x1
:goto_0
return v0
.end method
.method public final bridge indexOf(Ljava/lang/Object;)I
.locals 1
.line 46
instance-of v0, p1, Ljava/lang/Enum;
if-nez v0, :cond_0
const/4 p0, -0x1
return p0
:cond_0
check-cast p1, Ljava/lang/Enum;
invoke-virtual {p0, p1}, Lkotlin/enums/EnumEntriesList;->indexOf(Ljava/lang/Enum;)I
move-result p0
return p0
.end method
.method public lastIndexOf(Ljava/lang/Enum;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)I"
}
.end annotation
const-string v0, "element"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 81
invoke-virtual {p0, p1}, Lkotlin/enums/EnumEntriesList;->indexOf(Ljava/lang/Object;)I
move-result p0
return p0
.end method
.method public final bridge lastIndexOf(Ljava/lang/Object;)I
.locals 1
.line 46
instance-of v0, p1, Ljava/lang/Enum;
if-nez v0, :cond_0
const/4 p0, -0x1
return p0
:cond_0
check-cast p1, Ljava/lang/Enum;
invoke-virtual {p0, p1}, Lkotlin/enums/EnumEntriesList;->lastIndexOf(Ljava/lang/Enum;)I
move-result p0
return p0
.end method