.class public final enum Lcom/google/common/util/concurrent/Service$State; .super Ljava/lang/Enum; .source "Service.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/util/concurrent/Service; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x4019 name = "State" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum<", "Lcom/google/common/util/concurrent/Service$State;", ">;" } .end annotation # static fields .field private static final synthetic $VALUES:[Lcom/google/common/util/concurrent/Service$State; .field public static final enum FAILED:Lcom/google/common/util/concurrent/Service$State; .field public static final enum NEW:Lcom/google/common/util/concurrent/Service$State; .field public static final enum RUNNING:Lcom/google/common/util/concurrent/Service$State; .field public static final enum STARTING:Lcom/google/common/util/concurrent/Service$State; .field public static final enum STOPPING:Lcom/google/common/util/concurrent/Service$State; .field public static final enum TERMINATED:Lcom/google/common/util/concurrent/Service$State; # direct methods .method private static synthetic $values()[Lcom/google/common/util/concurrent/Service$State; .locals 3 const/4 v0, 0x6 new-array v0, v0, [Lcom/google/common/util/concurrent/Service$State; .line 1 sget-object v1, Lcom/google/common/util/concurrent/Service$State;->NEW:Lcom/google/common/util/concurrent/Service$State; const/4 v2, 0x0 aput-object v1, v0, v2 sget-object v1, Lcom/google/common/util/concurrent/Service$State;->STARTING:Lcom/google/common/util/concurrent/Service$State; const/4 v2, 0x1 aput-object v1, v0, v2 sget-object v1, Lcom/google/common/util/concurrent/Service$State;->RUNNING:Lcom/google/common/util/concurrent/Service$State; const/4 v2, 0x2 aput-object v1, v0, v2 sget-object v1, Lcom/google/common/util/concurrent/Service$State;->STOPPING:Lcom/google/common/util/concurrent/Service$State; const/4 v2, 0x3 aput-object v1, v0, v2 sget-object v1, Lcom/google/common/util/concurrent/Service$State;->TERMINATED:Lcom/google/common/util/concurrent/Service$State; const/4 v2, 0x4 aput-object v1, v0, v2 sget-object v1, Lcom/google/common/util/concurrent/Service$State;->FAILED:Lcom/google/common/util/concurrent/Service$State; const/4 v2, 0x5 aput-object v1, v0, v2 return-object v0 .end method .method public static constructor ()V .locals 3 .line 1 new-instance v0, Lcom/google/common/util/concurrent/Service$State; const-string v1, "NEW" const/4 v2, 0x0 invoke-direct {v0, v1, v2}, Lcom/google/common/util/concurrent/Service$State;->(Ljava/lang/String;I)V sput-object v0, Lcom/google/common/util/concurrent/Service$State;->NEW:Lcom/google/common/util/concurrent/Service$State; .line 2 new-instance v0, Lcom/google/common/util/concurrent/Service$State; const-string v1, "STARTING" const/4 v2, 0x1 invoke-direct {v0, v1, v2}, Lcom/google/common/util/concurrent/Service$State;->(Ljava/lang/String;I)V sput-object v0, Lcom/google/common/util/concurrent/Service$State;->STARTING:Lcom/google/common/util/concurrent/Service$State; .line 3 new-instance v0, Lcom/google/common/util/concurrent/Service$State; const-string v1, "RUNNING" const/4 v2, 0x2 invoke-direct {v0, v1, v2}, Lcom/google/common/util/concurrent/Service$State;->(Ljava/lang/String;I)V sput-object v0, Lcom/google/common/util/concurrent/Service$State;->RUNNING:Lcom/google/common/util/concurrent/Service$State; .line 4 new-instance v0, Lcom/google/common/util/concurrent/Service$State; const-string v1, "STOPPING" const/4 v2, 0x3 invoke-direct {v0, v1, v2}, Lcom/google/common/util/concurrent/Service$State;->(Ljava/lang/String;I)V sput-object v0, Lcom/google/common/util/concurrent/Service$State;->STOPPING:Lcom/google/common/util/concurrent/Service$State; .line 5 new-instance v0, Lcom/google/common/util/concurrent/Service$State; const-string v1, "TERMINATED" const/4 v2, 0x4 invoke-direct {v0, v1, v2}, Lcom/google/common/util/concurrent/Service$State;->(Ljava/lang/String;I)V sput-object v0, Lcom/google/common/util/concurrent/Service$State;->TERMINATED:Lcom/google/common/util/concurrent/Service$State; .line 6 new-instance v0, Lcom/google/common/util/concurrent/Service$State; const-string v1, "FAILED" const/4 v2, 0x5 invoke-direct {v0, v1, v2}, Lcom/google/common/util/concurrent/Service$State;->(Ljava/lang/String;I)V sput-object v0, Lcom/google/common/util/concurrent/Service$State;->FAILED:Lcom/google/common/util/concurrent/Service$State; .line 7 invoke-static {}, Lcom/google/common/util/concurrent/Service$State;->$values()[Lcom/google/common/util/concurrent/Service$State; move-result-object v0 sput-object v0, Lcom/google/common/util/concurrent/Service$State;->$VALUES:[Lcom/google/common/util/concurrent/Service$State; return-void .end method .method private constructor (Ljava/lang/String;I)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation .line 1 invoke-direct {p0, p1, p2}, Ljava/lang/Enum;->(Ljava/lang/String;I)V return-void .end method .method public static valueOf(Ljava/lang/String;)Lcom/google/common/util/concurrent/Service$State; .locals 1 .line 1 const-class v0, Lcom/google/common/util/concurrent/Service$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, Lcom/google/common/util/concurrent/Service$State; return-object p0 .end method .method public static values()[Lcom/google/common/util/concurrent/Service$State; .locals 1 .line 1 sget-object v0, Lcom/google/common/util/concurrent/Service$State;->$VALUES:[Lcom/google/common/util/concurrent/Service$State; invoke-virtual {v0}, [Lcom/google/common/util/concurrent/Service$State;->clone()Ljava/lang/Object; move-result-object v0 check-cast v0, [Lcom/google/common/util/concurrent/Service$State; return-object v0 .end method