.class public final enum Lcom/facebook/HttpMethod; .super Ljava/lang/Enum; .source "HttpMethod.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum", "<", "Lcom/facebook/HttpMethod;", ">;" } .end annotation # static fields .field private static final synthetic $VALUES:[Lcom/facebook/HttpMethod; .field public static final enum DELETE:Lcom/facebook/HttpMethod; .field public static final enum GET:Lcom/facebook/HttpMethod; .field public static final enum POST:Lcom/facebook/HttpMethod; # direct methods .method static constructor ()V .locals 5 .prologue const/4 v4, 0x2 const/4 v3, 0x1 const/4 v2, 0x0 .line 30 new-instance v0, Lcom/facebook/HttpMethod; const-string v1, "GET" invoke-direct {v0, v1, v2}, Lcom/facebook/HttpMethod;->(Ljava/lang/String;I)V sput-object v0, Lcom/facebook/HttpMethod;->GET:Lcom/facebook/HttpMethod; .line 35 new-instance v0, Lcom/facebook/HttpMethod; const-string v1, "POST" invoke-direct {v0, v1, v3}, Lcom/facebook/HttpMethod;->(Ljava/lang/String;I)V sput-object v0, Lcom/facebook/HttpMethod;->POST:Lcom/facebook/HttpMethod; .line 40 new-instance v0, Lcom/facebook/HttpMethod; const-string v1, "DELETE" invoke-direct {v0, v1, v4}, Lcom/facebook/HttpMethod;->(Ljava/lang/String;I)V sput-object v0, Lcom/facebook/HttpMethod;->DELETE:Lcom/facebook/HttpMethod; .line 26 const/4 v0, 0x3 new-array v0, v0, [Lcom/facebook/HttpMethod; sget-object v1, Lcom/facebook/HttpMethod;->GET:Lcom/facebook/HttpMethod; aput-object v1, v0, v2 sget-object v1, Lcom/facebook/HttpMethod;->POST:Lcom/facebook/HttpMethod; aput-object v1, v0, v3 sget-object v1, Lcom/facebook/HttpMethod;->DELETE:Lcom/facebook/HttpMethod; aput-object v1, v0, v4 sput-object v0, Lcom/facebook/HttpMethod;->$VALUES:[Lcom/facebook/HttpMethod; return-void .end method .method private constructor (Ljava/lang/String;I)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation .prologue .line 26 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/facebook/HttpMethod; .locals 1 .prologue .line 26 const-class v0, Lcom/facebook/HttpMethod; invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; move-result-object v0 check-cast v0, Lcom/facebook/HttpMethod; return-object v0 .end method .method public static values()[Lcom/facebook/HttpMethod; .locals 1 .prologue .line 26 sget-object v0, Lcom/facebook/HttpMethod;->$VALUES:[Lcom/facebook/HttpMethod; invoke-virtual {v0}, [Lcom/facebook/HttpMethod;->clone()Ljava/lang/Object; move-result-object v0 check-cast v0, [Lcom/facebook/HttpMethod; return-object v0 .end method