You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
.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 <init>(Ljava/lang/String;I)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 90 |
|
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 2 |
|
|
|
.prologue |
|
.line 92 |
|
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;->access$200(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
|
|
|