apkfuckery/com.discord/smali/androidx/lifecycle/Lifecycle$State.smali
2020-11-21 22:11:07 +00:00

177 lines
4.5 KiB
Smali

.class public final enum Landroidx/lifecycle/Lifecycle$State;
.super Ljava/lang/Enum;
.source "Lifecycle.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/lifecycle/Lifecycle;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "State"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Landroidx/lifecycle/Lifecycle$State;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Landroidx/lifecycle/Lifecycle$State;
.field public static final enum CREATED:Landroidx/lifecycle/Lifecycle$State;
.field public static final enum DESTROYED:Landroidx/lifecycle/Lifecycle$State;
.field public static final enum INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
.field public static final enum RESUMED:Landroidx/lifecycle/Lifecycle$State;
.field public static final enum STARTED:Landroidx/lifecycle/Lifecycle$State;
# direct methods
.method public static constructor <clinit>()V
.locals 11
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
const-string v1, "DESTROYED"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
new-instance v1, Landroidx/lifecycle/Lifecycle$State;
const-string v3, "INITIALIZED"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
sput-object v1, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
new-instance v3, Landroidx/lifecycle/Lifecycle$State;
const-string v5, "CREATED"
const/4 v6, 0x2
invoke-direct {v3, v5, v6}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
sput-object v3, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
new-instance v5, Landroidx/lifecycle/Lifecycle$State;
const-string v7, "STARTED"
const/4 v8, 0x3
invoke-direct {v5, v7, v8}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
sput-object v5, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
new-instance v7, Landroidx/lifecycle/Lifecycle$State;
const-string v9, "RESUMED"
const/4 v10, 0x4
invoke-direct {v7, v9, v10}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
sput-object v7, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
const/4 v9, 0x5
new-array v9, v9, [Landroidx/lifecycle/Lifecycle$State;
aput-object v0, v9, v2
aput-object v1, v9, v4
aput-object v3, v9, v6
aput-object v5, v9, v8
aput-object v7, v9, v10
sput-object v9, Landroidx/lifecycle/Lifecycle$State;->$VALUES:[Landroidx/lifecycle/Lifecycle$State;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
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;)Landroidx/lifecycle/Lifecycle$State;
.locals 1
const-class v0, Landroidx/lifecycle/Lifecycle$State;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Landroidx/lifecycle/Lifecycle$State;
return-object p0
.end method
.method public static values()[Landroidx/lifecycle/Lifecycle$State;
.locals 1
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->$VALUES:[Landroidx/lifecycle/Lifecycle$State;
invoke-virtual {v0}, [Landroidx/lifecycle/Lifecycle$State;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Landroidx/lifecycle/Lifecycle$State;
return-object v0
.end method
# virtual methods
.method public isAtLeast(Landroidx/lifecycle/Lifecycle$State;)Z
.locals 0
.param p1 # Landroidx/lifecycle/Lifecycle$State;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-virtual {p0, p1}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
move-result p1
if-ltz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method