Log$Level.smali
.class public final enum Lcom/j256/ormlite/logger/Log$Level;
.super Ljava/lang/Enum;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/j256/ormlite/logger/Log;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "Level"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/j256/ormlite/logger/Log$Level;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/j256/ormlite/logger/Log$Level;
.field public static final enum DEBUG:Lcom/j256/ormlite/logger/Log$Level;
.field public static final enum ERROR:Lcom/j256/ormlite/logger/Log$Level;
.field public static final enum FATAL:Lcom/j256/ormlite/logger/Log$Level;
.field public static final enum INFO:Lcom/j256/ormlite/logger/Log$Level;
.field public static final enum TRACE:Lcom/j256/ormlite/logger/Log$Level;
.field public static final enum WARNING:Lcom/j256/ormlite/logger/Log$Level;
# instance fields
.field private level:I
# direct methods
.method static constructor <clinit>()V
.registers 9
new-instance v0, Lcom/j256/ormlite/logger/Log$Level;
const-string v1, "TRACE"
const/4 v2, 0x0
const/4 v3, 0x1
invoke-direct {v0, v1, v2, v3}, Lcom/j256/ormlite/logger/Log$Level;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/j256/ormlite/logger/Log$Level;->TRACE:Lcom/j256/ormlite/logger/Log$Level;
new-instance v0, Lcom/j256/ormlite/logger/Log$Level;
const-string v1, "DEBUG"
const/4 v4, 0x2
invoke-direct {v0, v1, v3, v4}, Lcom/j256/ormlite/logger/Log$Level;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/j256/ormlite/logger/Log$Level;->DEBUG:Lcom/j256/ormlite/logger/Log$Level;
new-instance v0, Lcom/j256/ormlite/logger/Log$Level;
const-string v1, "INFO"
const/4 v5, 0x3
invoke-direct {v0, v1, v4, v5}, Lcom/j256/ormlite/logger/Log$Level;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/j256/ormlite/logger/Log$Level;->INFO:Lcom/j256/ormlite/logger/Log$Level;
new-instance v0, Lcom/j256/ormlite/logger/Log$Level;
const-string v1, "WARNING"
const/4 v6, 0x4
invoke-direct {v0, v1, v5, v6}, Lcom/j256/ormlite/logger/Log$Level;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/j256/ormlite/logger/Log$Level;->WARNING:Lcom/j256/ormlite/logger/Log$Level;
new-instance v0, Lcom/j256/ormlite/logger/Log$Level;
const-string v1, "ERROR"
const/4 v7, 0x5
invoke-direct {v0, v1, v6, v7}, Lcom/j256/ormlite/logger/Log$Level;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/j256/ormlite/logger/Log$Level;->ERROR:Lcom/j256/ormlite/logger/Log$Level;
new-instance v0, Lcom/j256/ormlite/logger/Log$Level;
const-string v1, "FATAL"
const/4 v8, 0x6
invoke-direct {v0, v1, v7, v8}, Lcom/j256/ormlite/logger/Log$Level;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/j256/ormlite/logger/Log$Level;->FATAL:Lcom/j256/ormlite/logger/Log$Level;
new-array v1, v8, [Lcom/j256/ormlite/logger/Log$Level;
sget-object v8, Lcom/j256/ormlite/logger/Log$Level;->TRACE:Lcom/j256/ormlite/logger/Log$Level;
aput-object v8, v1, v2
sget-object v2, Lcom/j256/ormlite/logger/Log$Level;->DEBUG:Lcom/j256/ormlite/logger/Log$Level;
aput-object v2, v1, v3
sget-object v2, Lcom/j256/ormlite/logger/Log$Level;->INFO:Lcom/j256/ormlite/logger/Log$Level;
aput-object v2, v1, v4
sget-object v2, Lcom/j256/ormlite/logger/Log$Level;->WARNING:Lcom/j256/ormlite/logger/Log$Level;
aput-object v2, v1, v5
sget-object v2, Lcom/j256/ormlite/logger/Log$Level;->ERROR:Lcom/j256/ormlite/logger/Log$Level;
aput-object v2, v1, v6
aput-object v0, v1, v7
sput-object v1, Lcom/j256/ormlite/logger/Log$Level;->$VALUES:[Lcom/j256/ormlite/logger/Log$Level;
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
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput p3, p0, Lcom/j256/ormlite/logger/Log$Level;->level:I
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/j256/ormlite/logger/Log$Level;
.registers 2
const-class v0, Lcom/j256/ormlite/logger/Log$Level;
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/j256/ormlite/logger/Log$Level;
return-object p0
.end method
.method public static values()[Lcom/j256/ormlite/logger/Log$Level;
.registers 1
sget-object v0, Lcom/j256/ormlite/logger/Log$Level;->$VALUES:[Lcom/j256/ormlite/logger/Log$Level;
invoke-virtual {v0}, [Lcom/j256/ormlite/logger/Log$Level;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/j256/ormlite/logger/Log$Level;
return-object v0
.end method
# virtual methods
.method public isEnabled(Lcom/j256/ormlite/logger/Log$Level;)Z
.registers 3
iget v0, p0, Lcom/j256/ormlite/logger/Log$Level;->level:I
iget p1, p1, Lcom/j256/ormlite/logger/Log$Level;->level:I
if-gt v0, p1, :cond_8
const/4 p1, 0x1
goto :goto_9
:cond_8
const/4 p1, 0x0
:goto_9
return p1
.end method