CoupleCount.smali
.class public final enum Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.super Ljava/lang/Enum;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;",
">;",
"Landroid/os/Parcelable;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.field public static final enum FOUR_COUPLES:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.field public static final enum ONE_COUPLE:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.field public static final enum THREE_COUPLES:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.field public static final enum TWO_COUPLES:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
# direct methods
.method static constructor <clinit>()V
.registers 4
const/4 v0, 0x4
new-array v0, v0, [Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
new-instance v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
const/4 v2, 0x0
const-string v3, "ONE_COUPLE"
invoke-direct {v1, v3, v2}, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;-><init>(Ljava/lang/String;I)V
sput-object v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->ONE_COUPLE:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
aput-object v1, v0, v2
new-instance v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
const/4 v2, 0x1
const-string v3, "TWO_COUPLES"
invoke-direct {v1, v3, v2}, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;-><init>(Ljava/lang/String;I)V
sput-object v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->TWO_COUPLES:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
aput-object v1, v0, v2
new-instance v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
const/4 v2, 0x2
const-string v3, "THREE_COUPLES"
invoke-direct {v1, v3, v2}, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;-><init>(Ljava/lang/String;I)V
sput-object v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->THREE_COUPLES:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
aput-object v1, v0, v2
new-instance v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
const/4 v2, 0x3
const-string v3, "FOUR_COUPLES"
invoke-direct {v1, v3, v2}, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;-><init>(Ljava/lang/String;I)V
sput-object v1, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->FOUR_COUPLES:Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
aput-object v1, v0, v2
sput-object v0, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->$VALUES:[Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
new-instance v0, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount$a;
invoke-direct {v0}, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount$a;-><init>()V
sput-object v0, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 10
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.registers 2
const-class v0, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
return-object p0
.end method
.method public static values()[Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
.registers 1
sget-object v0, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->$VALUES:[Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
invoke-virtual {v0}, [Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;
return-object v0
.end method
# virtual methods
.method public final describeContents()I
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public final getCount()I
.registers 3
.line 16
sget-object v0, Lcom/imo/android/imoim/chatroom/couple/data/b;->a:[I
invoke-virtual {p0}, Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;->ordinal()I
move-result v1
aget v0, v0, v1
const/4 v1, 0x1
if-eq v0, v1, :cond_1b
const/4 v1, 0x2
if-eq v0, v1, :cond_1b
const/4 v1, 0x3
if-eq v0, v1, :cond_1b
const/4 v1, 0x4
if-ne v0, v1, :cond_15
return v1
.line 20
:cond_15
new-instance v0, Lkotlin/NoWhenBranchMatchedException;
invoke-direct {v0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
throw v0
:cond_1b
return v1
.end method
.method public final writeToParcel(Landroid/os/Parcel;I)V
.registers 3
const-string p2, "parcel"
invoke-static {p1, p2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/lang/Enum;->name()Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return-void
.end method