.class final enum Lcom/google/gson/FieldNamingPolicy$4; .super Lcom/google/gson/FieldNamingPolicy; .source "FieldNamingPolicy.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/gson/FieldNamingPolicy; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x4008 name = null .end annotation # direct methods .method constructor (Ljava/lang/String;I)V .locals 1 .prologue const/4 v0, 0x0 invoke-direct {p0, p1, p2, v0}, Lcom/google/gson/FieldNamingPolicy;->(Ljava/lang/String;ILcom/google/gson/FieldNamingPolicy$1;)V return-void .end method # virtual methods .method public translateName(Ljava/lang/reflect/Field;)Ljava/lang/String; .locals 2 .param p1, "f" # Ljava/lang/reflect/Field; .prologue invoke-virtual {p1}, Ljava/lang/reflect/Field;->getName()Ljava/lang/String; move-result-object v0 const-string v1, "_" invoke-static {v0, v1}, Lcom/google/gson/FieldNamingPolicy$4;->separateCamelCase(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object v0 sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale; invoke-virtual {v0, v1}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; move-result-object v0 return-object v0 .end method