apkfuckery/com.discord/smali/androidx/lifecycle/Lifecycle$State.smali

187 lines
5 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final enum Landroidx/lifecycle/Lifecycle$State;
.super Ljava/lang/Enum;
2019-02-04 20:29:01 +00:00
.source "Lifecycle.java"
2019-02-04 20:08:30 +00:00
# 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 static constructor <clinit>()V
.locals 7
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "DESTROYED"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v2, v1}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
2019-02-04 20:08:30 +00:00
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
const/4 v2, 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v3, "INITIALIZED"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v3, v2}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
2019-02-04 20:08:30 +00:00
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
const/4 v3, 0x2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4, "CREATED"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v4, v3}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
2019-02-04 20:08:30 +00:00
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
const/4 v4, 0x3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v5, "STARTED"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v5, v4}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
2019-02-04 20:08:30 +00:00
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
const/4 v5, 0x4
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v6, "RESUMED"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v6, v5}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
2019-02-04 20:08:30 +00:00
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
const/4 v0, 0x5
new-array v0, v0, [Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
sget-object v6, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object v6, v0, v1
2019-02-04 20:08:30 +00:00
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
aput-object v1, v0, v2
2019-02-04 20:08:30 +00:00
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
aput-object v1, v0, v3
2019-02-04 20:08:30 +00:00
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
aput-object v1, v0, v4
2019-02-04 20:08:30 +00:00
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
2019-05-03 18:53:54 +00:00
aput-object v1, v0, v5
2019-02-04 20:08:30 +00:00
sput-object v0, 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 final 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}, Landroidx/lifecycle/Lifecycle$State;->compareTo(Ljava/lang/Enum;)I
move-result p1
if-ltz p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method