123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- .class final Lcom/google/gson/Gson$4;
- .super Lcom/google/gson/TypeAdapter;
- .source ""
- # annotations
- .annotation system Ldalvik/annotation/EnclosingMethod;
- value = Lcom/google/gson/Gson;->atomicLongAdapter(Lcom/google/gson/TypeAdapter;)Lcom/google/gson/TypeAdapter;
- .end annotation
- .annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x8
- name = null
- .end annotation
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Lcom/google/gson/TypeAdapter<",
- "Ljava/util/concurrent/atomic/AtomicLong;",
- ">;"
- }
- .end annotation
- # instance fields
- .field final synthetic val$longAdapter:Lcom/google/gson/TypeAdapter;
- # direct methods
- .method constructor <init>(Lcom/google/gson/TypeAdapter;)V
- .locals 0
- iput-object p1, p0, Lcom/google/gson/Gson$4;->val$longAdapter:Lcom/google/gson/TypeAdapter;
- invoke-direct {p0}, Lcom/google/gson/TypeAdapter;-><init>()V
- return-void
- .end method
- # virtual methods
- .method public bridge synthetic read(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object;
- .locals 0
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/io/IOException;
- }
- .end annotation
- invoke-virtual {p0, p1}, Lcom/google/gson/Gson$4;->read(Lcom/google/gson/stream/JsonReader;)Ljava/util/concurrent/atomic/AtomicLong;
- move-result-object p1
- return-object p1
- .end method
- .method public read(Lcom/google/gson/stream/JsonReader;)Ljava/util/concurrent/atomic/AtomicLong;
- .locals 3
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/io/IOException;
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/Gson$4;->val$longAdapter:Lcom/google/gson/TypeAdapter;
- invoke-virtual {v0, p1}, Lcom/google/gson/TypeAdapter;->read(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Ljava/lang/Number;
- new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
- invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
- move-result-wide v1
- invoke-direct {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V
- return-object v0
- .end method
- .method public bridge synthetic write(Lcom/google/gson/stream/JsonWriter;Ljava/lang/Object;)V
- .locals 0
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/io/IOException;
- }
- .end annotation
- check-cast p2, Ljava/util/concurrent/atomic/AtomicLong;
- invoke-virtual {p0, p1, p2}, Lcom/google/gson/Gson$4;->write(Lcom/google/gson/stream/JsonWriter;Ljava/util/concurrent/atomic/AtomicLong;)V
- return-void
- .end method
- .method public write(Lcom/google/gson/stream/JsonWriter;Ljava/util/concurrent/atomic/AtomicLong;)V
- .locals 3
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/io/IOException;
- }
- .end annotation
- iget-object v0, p0, Lcom/google/gson/Gson$4;->val$longAdapter:Lcom/google/gson/TypeAdapter;
- invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
- move-result-wide v1
- invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
- move-result-object p2
- invoke-virtual {v0, p1, p2}, Lcom/google/gson/TypeAdapter;->write(Lcom/google/gson/stream/JsonWriter;Ljava/lang/Object;)V
- return-void
- .end method
|