j$a.smali
.class Lcom/google/gson/j$a;
.super Lcom/google/gson/x;
.source "Gson.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/gson/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lcom/google/gson/x<",
"TT;>;"
}
.end annotation
# instance fields
.field private a:Lcom/google/gson/x;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/gson/x<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Lcom/google/gson/x;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/gson/stream/JsonReader;",
")TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 4
iget-object v0, p0, Lcom/google/gson/j$a;->a:Lcom/google/gson/x;
if-eqz v0, :cond_9
.line 5
invoke-virtual {v0, p1}, Lcom/google/gson/x;->a(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 6
:cond_9
new-instance p1, Ljava/lang/IllegalStateException;
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
throw p1
.end method
.method public a(Lcom/google/gson/stream/JsonWriter;Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/gson/stream/JsonWriter;",
"TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 7
iget-object v0, p0, Lcom/google/gson/j$a;->a:Lcom/google/gson/x;
if-eqz v0, :cond_8
.line 8
invoke-virtual {v0, p1, p2}, Lcom/google/gson/x;->a(Lcom/google/gson/stream/JsonWriter;Ljava/lang/Object;)V
return-void
.line 9
:cond_8
new-instance p1, Ljava/lang/IllegalStateException;
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
throw p1
.end method
.method public a(Lcom/google/gson/x;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/gson/x<",
"TT;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/google/gson/j$a;->a:Lcom/google/gson/x;
if-nez v0, :cond_7
.line 2
iput-object p1, p0, Lcom/google/gson/j$a;->a:Lcom/google/gson/x;
return-void
.line 3
:cond_7
new-instance p1, Ljava/lang/AssertionError;
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
throw p1
.end method