r$31.smali
.class final Lcom/google/gson/internal/a/r$31;
.super Lcom/google/gson/n;
.source "TypeAdapters.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/gson/internal/a/r;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/gson/n",
"<",
"Ljava/lang/Number;",
">;"
}
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.prologue
.line 172
invoke-direct {p0}, Lcom/google/gson/n;-><init>()V
return-void
.end method
.method private static g(Lcom/google/gson/stream/a;)Ljava/lang/Number;
.registers 3
.prologue
.line 175
invoke-virtual {p0}, Lcom/google/gson/stream/a;->Aj()Lcom/google/gson/stream/JsonToken;
move-result-object v0
sget-object v1, Lcom/google/gson/stream/JsonToken;->NULL:Lcom/google/gson/stream/JsonToken;
if-ne v0, v1, :cond_d
.line 176
invoke-virtual {p0}, Lcom/google/gson/stream/a;->nextNull()V
.line 177
const/4 v0, 0x0
.line 181
:goto_c
return-object v0
.line 180
:cond_d
:try_start_d
invoke-virtual {p0}, Lcom/google/gson/stream/a;->nextInt()I
move-result v0
.line 181
int-to-byte v0, v0
invoke-static {v0}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
:try_end_15
.catch Ljava/lang/NumberFormatException; {:try_start_d .. :try_end_15} :catch_17
move-result-object v0
goto :goto_c
.line 182
:catch_17
move-exception v0
.line 183
new-instance v1, Lcom/google/gson/JsonSyntaxException;
invoke-direct {v1, v0}, Lcom/google/gson/JsonSyntaxException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
# virtual methods
.method public final synthetic a(Lcom/google/gson/stream/a;)Ljava/lang/Object;
.registers 3
.prologue
.line 172
invoke-static {p1}, Lcom/google/gson/internal/a/r$31;->g(Lcom/google/gson/stream/a;)Ljava/lang/Number;
move-result-object v0
return-object v0
.end method
.method public final synthetic a(Lcom/google/gson/stream/b;Ljava/lang/Object;)V
.registers 3
.prologue
.line 172
check-cast p2, Ljava/lang/Number;
.line 1188
invoke-virtual {p1, p2}, Lcom/google/gson/stream/b;->c(Ljava/lang/Number;)Lcom/google/gson/stream/b;
.line 172
return-void
.end method