.class public final enum Lcom/ea/nimble/IHttpRequest$Method; .super Ljava/lang/Enum; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/ea/nimble/IHttpRequest; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x4019 name = "Method" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum<", "Lcom/ea/nimble/IHttpRequest$Method;", ">;" } .end annotation # static fields .field private static final synthetic $VALUES:[Lcom/ea/nimble/IHttpRequest$Method; .field public static final enum DELETE:Lcom/ea/nimble/IHttpRequest$Method; .field public static final enum GET:Lcom/ea/nimble/IHttpRequest$Method; .field public static final enum HEAD:Lcom/ea/nimble/IHttpRequest$Method; .field public static final enum POST:Lcom/ea/nimble/IHttpRequest$Method; .field public static final enum PUT:Lcom/ea/nimble/IHttpRequest$Method; .field public static final enum UNRECOGNIZED:Lcom/ea/nimble/IHttpRequest$Method; # direct methods .method private static synthetic $values()[Lcom/ea/nimble/IHttpRequest$Method; .locals 6 sget-object v0, Lcom/ea/nimble/IHttpRequest$Method;->GET:Lcom/ea/nimble/IHttpRequest$Method; sget-object v1, Lcom/ea/nimble/IHttpRequest$Method;->HEAD:Lcom/ea/nimble/IHttpRequest$Method; sget-object v2, Lcom/ea/nimble/IHttpRequest$Method;->POST:Lcom/ea/nimble/IHttpRequest$Method; sget-object v3, Lcom/ea/nimble/IHttpRequest$Method;->PUT:Lcom/ea/nimble/IHttpRequest$Method; sget-object v4, Lcom/ea/nimble/IHttpRequest$Method;->DELETE:Lcom/ea/nimble/IHttpRequest$Method; sget-object v5, Lcom/ea/nimble/IHttpRequest$Method;->UNRECOGNIZED:Lcom/ea/nimble/IHttpRequest$Method; filled-new-array/range {v0 .. v5}, [Lcom/ea/nimble/IHttpRequest$Method; move-result-object v0 return-object v0 .end method .method static constructor ()V .locals 3 .line 11 new-instance v0, Lcom/ea/nimble/IHttpRequest$Method; const-string v1, "GET" const/4 v2, 0x0 invoke-direct {v0, v1, v2}, Lcom/ea/nimble/IHttpRequest$Method;->(Ljava/lang/String;I)V sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->GET:Lcom/ea/nimble/IHttpRequest$Method; .line 12 new-instance v0, Lcom/ea/nimble/IHttpRequest$Method; const-string v1, "HEAD" const/4 v2, 0x1 invoke-direct {v0, v1, v2}, Lcom/ea/nimble/IHttpRequest$Method;->(Ljava/lang/String;I)V sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->HEAD:Lcom/ea/nimble/IHttpRequest$Method; .line 13 new-instance v0, Lcom/ea/nimble/IHttpRequest$Method; const-string v1, "POST" const/4 v2, 0x2 invoke-direct {v0, v1, v2}, Lcom/ea/nimble/IHttpRequest$Method;->(Ljava/lang/String;I)V sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->POST:Lcom/ea/nimble/IHttpRequest$Method; .line 14 new-instance v0, Lcom/ea/nimble/IHttpRequest$Method; const-string v1, "PUT" const/4 v2, 0x3 invoke-direct {v0, v1, v2}, Lcom/ea/nimble/IHttpRequest$Method;->(Ljava/lang/String;I)V sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->PUT:Lcom/ea/nimble/IHttpRequest$Method; .line 15 new-instance v0, Lcom/ea/nimble/IHttpRequest$Method; const-string v1, "DELETE" const/4 v2, 0x4 invoke-direct {v0, v1, v2}, Lcom/ea/nimble/IHttpRequest$Method;->(Ljava/lang/String;I)V sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->DELETE:Lcom/ea/nimble/IHttpRequest$Method; .line 16 new-instance v0, Lcom/ea/nimble/IHttpRequest$Method; const-string v1, "UNRECOGNIZED" const/4 v2, 0x5 invoke-direct {v0, v1, v2}, Lcom/ea/nimble/IHttpRequest$Method;->(Ljava/lang/String;I)V sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->UNRECOGNIZED:Lcom/ea/nimble/IHttpRequest$Method; .line 9 invoke-static {}, Lcom/ea/nimble/IHttpRequest$Method;->$values()[Lcom/ea/nimble/IHttpRequest$Method; move-result-object v0 sput-object v0, Lcom/ea/nimble/IHttpRequest$Method;->$VALUES:[Lcom/ea/nimble/IHttpRequest$Method; return-void .end method .method private constructor (Ljava/lang/String;I)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation .line 9 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/ea/nimble/IHttpRequest$Method; .locals 1 const-class v0, Lcom/ea/nimble/IHttpRequest$Method; .line 9 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/ea/nimble/IHttpRequest$Method; return-object p0 .end method .method public static values()[Lcom/ea/nimble/IHttpRequest$Method; .locals 1 sget-object v0, Lcom/ea/nimble/IHttpRequest$Method;->$VALUES:[Lcom/ea/nimble/IHttpRequest$Method; .line 9 invoke-virtual {v0}, [Lcom/ea/nimble/IHttpRequest$Method;->clone()Ljava/lang/Object; move-result-object v0 check-cast v0, [Lcom/ea/nimble/IHttpRequest$Method; return-object v0 .end method # virtual methods .method public toString()Ljava/lang/String; .locals 2 .line 21 sget-object v0, Lcom/ea/nimble/IHttpRequest$1;->$SwitchMap$com$ea$nimble$IHttpRequest$Method:[I invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I move-result v1 aget v0, v0, v1 const/4 v1, 0x1 if-eq v0, v1, :cond_4 const/4 v1, 0x2 if-eq v0, v1, :cond_3 const/4 v1, 0x3 if-eq v0, v1, :cond_2 const/4 v1, 0x4 if-eq v0, v1, :cond_1 const/4 v1, 0x5 if-eq v0, v1, :cond_0 const/4 v0, 0x0 return-object v0 :cond_0 const-string v0, "DELETE" return-object v0 :cond_1 const-string v0, "PUT" return-object v0 :cond_2 const-string v0, "POST" return-object v0 :cond_3 const-string v0, "HEAD" return-object v0 :cond_4 const-string v0, "GET" return-object v0 .end method