Rabbit-R1/switch port/smali/smali_classes3/kotlin/enums/EnumEntriesSerializationProxy.smali
2024-05-21 17:08:36 -04:00

140 lines
4 KiB
Smali

.class public final Lkotlin/enums/EnumEntriesSerializationProxy;
.super Ljava/lang/Object;
.source "EnumEntriesSerializationProxy.kt"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/enums/EnumEntriesSerializationProxy$Companion;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Enum<",
"TE;>;>",
"Ljava/lang/Object;",
"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\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\u0008\u0002\u0008\u0000\u0018\u0000 \u000c*\u000e\u0008\u0000\u0010\u0001*\u0008\u0012\u0004\u0012\u0002H\u00010\u00022\u00060\u0003j\u0002`\u0004:\u0001\u000cB\u0013\u0012\u000c\u0010\u0005\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0006\u00a2\u0006\u0002\u0010\u0007J\u0008\u0010\n\u001a\u00020\u000bH\u0002R\u0014\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00028\u00000\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r"
}
d2 = {
"Lkotlin/enums/EnumEntriesSerializationProxy;",
"E",
"",
"Ljava/io/Serializable;",
"Lkotlin/io/Serializable;",
"entries",
"",
"([Ljava/lang/Enum;)V",
"c",
"Ljava/lang/Class;",
"readResolve",
"",
"Companion",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# static fields
.field private static final Companion:Lkotlin/enums/EnumEntriesSerializationProxy$Companion;
.field private static final serialVersionUID:J
# instance fields
.field private final c:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"TE;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lkotlin/enums/EnumEntriesSerializationProxy$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lkotlin/enums/EnumEntriesSerializationProxy$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lkotlin/enums/EnumEntriesSerializationProxy;->Companion:Lkotlin/enums/EnumEntriesSerializationProxy$Companion;
return-void
.end method
.method public constructor <init>([Ljava/lang/Enum;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"([TE;)V"
}
.end annotation
const-string v0, "entries"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 10
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 12
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
move-result-object p1
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
iput-object p1, p0, Lkotlin/enums/EnumEntriesSerializationProxy;->c:Ljava/lang/Class;
return-void
.end method
.method private final readResolve()Ljava/lang/Object;
.locals 1
iget-object p0, p0, Lkotlin/enums/EnumEntriesSerializationProxy;->c:Ljava/lang/Class;
.line 20
invoke-virtual {p0}, Ljava/lang/Class;->getEnumConstants()[Ljava/lang/Object;
move-result-object p0
const-string v0, "getEnumConstants(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, [Ljava/lang/Enum;
invoke-static {p0}, Lkotlin/enums/EnumEntriesKt;->enumEntries([Ljava/lang/Enum;)Lkotlin/enums/EnumEntries;
move-result-object p0
return-object p0
.end method