i$26.smali
.class final Lcom/google/gson/internal/bind/i$26;
.super Lcom/google/gson/t;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/gson/internal/bind/i;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/gson/t<",
"Ljava/lang/Number;",
">;"
}
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.line 196
invoke-direct {p0}, Lcom/google/gson/t;-><init>()V
return-void
.end method
.method private static b(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Number;
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 199
invoke-virtual {p0}, Lcom/google/gson/stream/JsonReader;->peek()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 200
invoke-virtual {p0}, Lcom/google/gson/stream/JsonReader;->nextNull()V
const/4 p0, 0x0
return-object p0
.line 204
:cond_d
:try_start_d
invoke-virtual {p0}, Lcom/google/gson/stream/JsonReader;->nextInt()I
move-result p0
int-to-short p0, p0
invoke-static {p0}, Ljava/lang/Short;->valueOf(S)Ljava/lang/Short;
move-result-object p0
:try_end_16
.catch Ljava/lang/NumberFormatException; {:try_start_d .. :try_end_16} :catch_17
return-object p0
:catch_17
move-exception p0
.line 206
new-instance v0, Lcom/google/gson/JsonSyntaxException;
invoke-direct {v0, p0}, Lcom/google/gson/JsonSyntaxException;-><init>(Ljava/lang/Throwable;)V
throw v0
.end method
# virtual methods
.method public final synthetic a(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 196
invoke-static {p1}, Lcom/google/gson/internal/bind/i$26;->b(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Number;
move-result-object p1
return-object p1
.end method
.method public final synthetic a(Lcom/google/gson/stream/JsonWriter;Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 196
check-cast p2, Ljava/lang/Number;
.line 1211
invoke-virtual {p1, p2}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/Number;)Lcom/google/gson/stream/JsonWriter;
return-void
.end method