162 lines
4.2 KiB
Smali
162 lines
4.2 KiB
Smali
.class public final enum Lcom/tencent/mmkv/MMKVLogLevel;
|
|
.super Ljava/lang/Enum;
|
|
.source "MMKVLogLevel.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lcom/tencent/mmkv/MMKVLogLevel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.field public static final enum LevelDebug:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.field public static final enum LevelError:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.field public static final enum LevelInfo:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.field public static final enum LevelNone:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.field public static final enum LevelWarning:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 7
|
|
|
|
.line 4
|
|
new-instance v0, Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
const-string v1, "LevelDebug"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/tencent/mmkv/MMKVLogLevel;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->LevelDebug:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.line 5
|
|
new-instance v0, Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
const-string v1, "LevelInfo"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-direct {v0, v1, v3}, Lcom/tencent/mmkv/MMKVLogLevel;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->LevelInfo:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.line 6
|
|
new-instance v0, Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
const-string v1, "LevelWarning"
|
|
|
|
const/4 v4, 0x2
|
|
|
|
invoke-direct {v0, v1, v4}, Lcom/tencent/mmkv/MMKVLogLevel;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->LevelWarning:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.line 7
|
|
new-instance v0, Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
const-string v1, "LevelError"
|
|
|
|
const/4 v5, 0x3
|
|
|
|
invoke-direct {v0, v1, v5}, Lcom/tencent/mmkv/MMKVLogLevel;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->LevelError:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
.line 8
|
|
new-instance v0, Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
const-string v1, "LevelNone"
|
|
|
|
const/4 v6, 0x4
|
|
|
|
invoke-direct {v0, v1, v6}, Lcom/tencent/mmkv/MMKVLogLevel;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->LevelNone:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
const/4 v0, 0x5
|
|
|
|
.line 3
|
|
new-array v0, v0, [Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
sget-object v1, Lcom/tencent/mmkv/MMKVLogLevel;->LevelDebug:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lcom/tencent/mmkv/MMKVLogLevel;->LevelInfo:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
sget-object v1, Lcom/tencent/mmkv/MMKVLogLevel;->LevelWarning:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
sget-object v1, Lcom/tencent/mmkv/MMKVLogLevel;->LevelError:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
aput-object v1, v0, v5
|
|
|
|
sget-object v1, Lcom/tencent/mmkv/MMKVLogLevel;->LevelNone:Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
sput-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->$VALUES:[Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 3
|
|
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/tencent/mmkv/MMKVLogLevel;
|
|
.locals 1
|
|
|
|
.line 3
|
|
const-class v0, Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
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/tencent/mmkv/MMKVLogLevel;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lcom/tencent/mmkv/MMKVLogLevel;
|
|
.locals 1
|
|
|
|
.line 3
|
|
sget-object v0, Lcom/tencent/mmkv/MMKVLogLevel;->$VALUES:[Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
invoke-virtual {v0}, [Lcom/tencent/mmkv/MMKVLogLevel;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lcom/tencent/mmkv/MMKVLogLevel;
|
|
|
|
return-object v0
|
|
.end method
|