FieldNamingPolicy$2.smali 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .class final enum Lcom/google/gson/FieldNamingPolicy$2;
  2. .super Lcom/google/gson/FieldNamingPolicy;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Lcom/google/gson/FieldNamingPolicy;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0x4008
  10. name = null
  11. .end annotation
  12. # direct methods
  13. .method constructor <init>(Ljava/lang/String;I)V
  14. .locals 1
  15. const/4 v0, 0x0
  16. invoke-direct {p0, p1, p2, v0}, Lcom/google/gson/FieldNamingPolicy;-><init>(Ljava/lang/String;ILcom/google/gson/FieldNamingPolicy$1;)V
  17. return-void
  18. .end method
  19. # virtual methods
  20. .method public translateName(Ljava/lang/reflect/Field;)Ljava/lang/String;
  21. .locals 0
  22. invoke-virtual {p1}, Ljava/lang/reflect/Field;->getName()Ljava/lang/String;
  23. move-result-object p1
  24. invoke-static {p1}, Lcom/google/gson/FieldNamingPolicy;->upperCaseFirstLetter(Ljava/lang/String;)Ljava/lang/String;
  25. move-result-object p1
  26. return-object p1
  27. .end method