1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- .class final enum Lcom/google/gson/FieldNamingPolicy$4;
- .super Lcom/google/gson/FieldNamingPolicy;
- .source ""
- # 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 <init>(Ljava/lang/String;I)V
- .locals 1
- const/4 v0, 0x0
- invoke-direct {p0, p1, p2, v0}, Lcom/google/gson/FieldNamingPolicy;-><init>(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 1
- invoke-virtual {p1}, Ljava/lang/reflect/Field;->getName()Ljava/lang/String;
- move-result-object p1
- const-string v0, "_"
- invoke-static {p1, v0}, Lcom/google/gson/FieldNamingPolicy;->separateCamelCase(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
- move-result-object p1
- sget-object v0, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;
- invoke-virtual {p1, v0}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
- move-result-object p1
- return-object p1
- .end method
|