.class public final enum Landroidx/lifecycle/Lifecycle$Event; .super Ljava/lang/Enum; .source "Lifecycle.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/lifecycle/Lifecycle; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x4019 name = "Event" .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/lifecycle/Lifecycle$Event$Companion;, Landroidx/lifecycle/Lifecycle$Event$WhenMappings; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum<", "Landroidx/lifecycle/Lifecycle$Event;", ">;" } .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u000b\u0008\u0086\u0001\u0018\u0000 \u000e2\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u000eB\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u00048F\u00a2\u0006\u0006\u001a\u0004\u0008\u0005\u0010\u0006j\u0002\u0008\u0007j\u0002\u0008\u0008j\u0002\u0008\tj\u0002\u0008\nj\u0002\u0008\u000bj\u0002\u0008\u000cj\u0002\u0008\r\u00a8\u0006\u000f" } d2 = { "Landroidx/lifecycle/Lifecycle$Event;", "", "(Ljava/lang/String;I)V", "targetState", "Landroidx/lifecycle/Lifecycle$State;", "getTargetState", "()Landroidx/lifecycle/Lifecycle$State;", "ON_CREATE", "ON_START", "ON_RESUME", "ON_PAUSE", "ON_STOP", "ON_DESTROY", "ON_ANY", "Companion", "lifecycle-common" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # static fields .field private static final synthetic $VALUES:[Landroidx/lifecycle/Lifecycle$Event; .field public static final Companion:Landroidx/lifecycle/Lifecycle$Event$Companion; .field public static final enum ON_ANY:Landroidx/lifecycle/Lifecycle$Event; .field public static final enum ON_CREATE:Landroidx/lifecycle/Lifecycle$Event; .field public static final enum ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event; .field public static final enum ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event; .field public static final enum ON_RESUME:Landroidx/lifecycle/Lifecycle$Event; .field public static final enum ON_START:Landroidx/lifecycle/Lifecycle$Event; .field public static final enum ON_STOP:Landroidx/lifecycle/Lifecycle$Event; # direct methods .method private static final synthetic $values()[Landroidx/lifecycle/Lifecycle$Event; .locals 7 sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event; sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event; sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event; sget-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event; sget-object v4, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event; sget-object v5, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event; sget-object v6, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event; filled-new-array/range {v0 .. v6}, [Landroidx/lifecycle/Lifecycle$Event; move-result-object v0 return-object v0 .end method .method static constructor ()V .locals 3 .line 98 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_CREATE" const/4 v2, 0x0 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event; .line 103 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_START" const/4 v2, 0x1 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event; .line 108 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_RESUME" const/4 v2, 0x2 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event; .line 113 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_PAUSE" const/4 v2, 0x3 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event; .line 118 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_STOP" const/4 v2, 0x4 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event; .line 123 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_DESTROY" const/4 v2, 0x5 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event; .line 128 new-instance v0, Landroidx/lifecycle/Lifecycle$Event; const-string v1, "ON_ANY" const/4 v2, 0x6 invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;->(Ljava/lang/String;I)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event; invoke-static {}, Landroidx/lifecycle/Lifecycle$Event;->$values()[Landroidx/lifecycle/Lifecycle$Event; move-result-object v0 sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->$VALUES:[Landroidx/lifecycle/Lifecycle$Event; new-instance v0, Landroidx/lifecycle/Lifecycle$Event$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Landroidx/lifecycle/Lifecycle$Event$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->Companion:Landroidx/lifecycle/Lifecycle$Event$Companion; return-void .end method .method private constructor (Ljava/lang/String;I)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation .line 94 invoke-direct {p0, p1, p2}, Ljava/lang/Enum;->(Ljava/lang/String;I)V return-void .end method .method public static final downFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->Companion:Landroidx/lifecycle/Lifecycle$Event$Companion; invoke-virtual {v0, p0}, Landroidx/lifecycle/Lifecycle$Event$Companion;->downFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; move-result-object p0 return-object p0 .end method .method public static final downTo(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->Companion:Landroidx/lifecycle/Lifecycle$Event$Companion; invoke-virtual {v0, p0}, Landroidx/lifecycle/Lifecycle$Event$Companion;->downTo(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; move-result-object p0 return-object p0 .end method .method public static final upFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->Companion:Landroidx/lifecycle/Lifecycle$Event$Companion; invoke-virtual {v0, p0}, Landroidx/lifecycle/Lifecycle$Event$Companion;->upFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; move-result-object p0 return-object p0 .end method .method public static final upTo(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->Companion:Landroidx/lifecycle/Lifecycle$Event$Companion; invoke-virtual {v0, p0}, Landroidx/lifecycle/Lifecycle$Event$Companion;->upTo(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event; move-result-object p0 return-object p0 .end method .method public static valueOf(Ljava/lang/String;)Landroidx/lifecycle/Lifecycle$Event; .locals 1 const-class v0, Landroidx/lifecycle/Lifecycle$Event; 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$Event; return-object p0 .end method .method public static values()[Landroidx/lifecycle/Lifecycle$Event; .locals 1 sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->$VALUES:[Landroidx/lifecycle/Lifecycle$Event; invoke-virtual {v0}, [Ljava/lang/Object;->clone()Ljava/lang/Object; move-result-object v0 check-cast v0, [Landroidx/lifecycle/Lifecycle$Event; return-object v0 .end method # virtual methods .method public final getTargetState()Landroidx/lifecycle/Lifecycle$State; .locals 2 .line 141 sget-object v0, Landroidx/lifecycle/Lifecycle$Event$WhenMappings;->$EnumSwitchMapping$0:[I invoke-virtual {p0}, Landroidx/lifecycle/Lifecycle$Event;->ordinal()I move-result v1 aget v0, v0, v1 packed-switch v0, :pswitch_data_0 .line 148 new-instance v0, Ljava/lang/IllegalArgumentException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 const-string v1, " has no target state" invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 .line 145 :pswitch_0 sget-object p0, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State; return-object p0 .line 144 :pswitch_1 sget-object p0, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State; return-object p0 .line 143 :pswitch_2 sget-object p0, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State; return-object p0 .line 142 :pswitch_3 sget-object p0, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State; return-object p0 :pswitch_data_0 .packed-switch 0x1 :pswitch_3 :pswitch_3 :pswitch_2 :pswitch_2 :pswitch_1 :pswitch_0 .end packed-switch .end method