CustomServiceConfig$CSQuitSuspendType.smali

.class public final enum Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;
.super Ljava/lang/Enum;
.source "CustomServiceConfig.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lio/rong/imlib/CustomServiceConfig;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4019
    name = "CSQuitSuspendType"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;",
        ">;"
    }
.end annotation


# static fields
.field private static final synthetic $VALUES:[Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

.field public static final enum NONE:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

.field public static final enum NO_SUSPEND:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

.field public static final enum SUSPEND:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;


# instance fields
.field private value:I


# direct methods
.method static constructor <clinit>()V
    .registers 5

    .line 1
    new-instance v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    const/4 v1, 0x0

    const-string v2, "NONE"

    const/4 v3, -0x1

    invoke-direct {v0, v2, v1, v3}, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;-><init>(Ljava/lang/String;II)V

    sput-object v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->NONE:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    .line 2
    new-instance v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    const/4 v2, 0x1

    const-string v3, "NO_SUSPEND"

    invoke-direct {v0, v3, v2, v1}, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;-><init>(Ljava/lang/String;II)V

    sput-object v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->NO_SUSPEND:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    .line 3
    new-instance v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    const/4 v3, 0x2

    const-string v4, "SUSPEND"

    invoke-direct {v0, v4, v3, v2}, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;-><init>(Ljava/lang/String;II)V

    sput-object v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->SUSPEND:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    const/4 v0, 0x3

    .line 4
    new-array v0, v0, [Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    sget-object v4, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->NONE:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    aput-object v4, v0, v1

    sget-object v1, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->NO_SUSPEND:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    aput-object v1, v0, v2

    sget-object v1, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->SUSPEND:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    aput-object v1, v0, v3

    sput-object v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->$VALUES:[Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;II)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    .line 2
    iput p3, p0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->value:I

    return-void
.end method

.method public static valueOf(I)Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;
    .registers 6

    .line 2
    invoke-static {}, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->values()[Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    move-result-object v0

    array-length v1, v0

    const/4 v2, 0x0

    :goto_6
    if-ge v2, v1, :cond_14

    aget-object v3, v0, v2

    .line 3
    invoke-virtual {v3}, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->getValue()I

    move-result v4

    if-ne p0, v4, :cond_11

    return-object v3

    :cond_11
    add-int/lit8 v2, v2, 0x1

    goto :goto_6

    .line 4
    :cond_14
    sget-object p0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->NONE:Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    return-object p0
.end method

.method public static valueOf(Ljava/lang/String;)Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;
    .registers 2

    .line 1
    const-class v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object p0

    check-cast p0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    return-object p0
.end method

.method public static values()[Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;
    .registers 1

    .line 1
    sget-object v0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->$VALUES:[Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    invoke-virtual {v0}, [Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;

    return-object v0
.end method


# virtual methods
.method public getValue()I
    .registers 2

    .line 1
    iget v0, p0, Lio/rong/imlib/CustomServiceConfig$CSQuitSuspendType;->value:I

    return v0
.end method