LongSerializationPolicy$1.smali 938 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .class final enum Lcom/google/gson/LongSerializationPolicy$1;
  2. .super Lcom/google/gson/LongSerializationPolicy;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Lcom/google/gson/LongSerializationPolicy;
  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/LongSerializationPolicy;-><init>(Ljava/lang/String;ILcom/google/gson/LongSerializationPolicy$1;)V
  17. return-void
  18. .end method
  19. # virtual methods
  20. .method public serialize(Ljava/lang/Long;)Lcom/google/gson/JsonElement;
  21. .locals 1
  22. new-instance v0, Lcom/google/gson/JsonPrimitive;
  23. invoke-direct {v0, p1}, Lcom/google/gson/JsonPrimitive;-><init>(Ljava/lang/Number;)V
  24. return-object v0
  25. .end method