i$27.smali
.class final Lcom/google/gson/internal/bind/i$27;
.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 218
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 221
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 222
invoke-virtual {p0}, Lcom/google/gson/stream/JsonReader;->nextNull()V
const/4 p0, 0x0
return-object p0
.line 226
:cond_d
:try_start_d
invoke-virtual {p0}, Lcom/google/gson/stream/JsonReader;->nextInt()I
move-result p0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
:try_end_15
.catch Ljava/lang/NumberFormatException; {:try_start_d .. :try_end_15} :catch_16
return-object p0
:catch_16
move-exception p0
.line 228
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 218
invoke-static {p1}, Lcom/google/gson/internal/bind/i$27;->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 218
check-cast p2, Ljava/lang/Number;
.line 1233
invoke-virtual {p1, p2}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/Number;)Lcom/google/gson/stream/JsonWriter;
return-void
.end method