apkfuckery/com.discord/smali/com/google/gson/FieldNamingPolicy$3.smali
2019-02-04 21:05:16 +01:00

51 lines
1.3 KiB
Smali

.class final enum Lcom/google/gson/FieldNamingPolicy$3;
.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
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
.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$3;->separateCamelCase(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/google/gson/FieldNamingPolicy$3;->upperCaseFirstLetter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method