d$2.smali

.class final Lcom/google/gson/d$2;
.super Lcom/google/gson/n;
.source "Gson.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/google/gson/d;
.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 302
    invoke-direct {p0}, Lcom/google/gson/n;-><init>()V

    return-void
.end method


# virtual methods
.method public final synthetic a(Lcom/google/gson/stream/a;)Ljava/lang/Object;
    .registers 4

    .prologue
    .line 302
    .line 1304
    invoke-virtual {p1}, 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 1305
    invoke-virtual {p1}, Lcom/google/gson/stream/a;->nextNull()V

    .line 1306
    const/4 v0, 0x0

    :goto_c
    return-object v0

    .line 1308
    :cond_d
    invoke-virtual {p1}, Lcom/google/gson/stream/a;->nextDouble()D

    move-result-wide v0

    double-to-float v0, v0

    invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v0

    goto :goto_c
.end method

.method public final synthetic a(Lcom/google/gson/stream/b;Ljava/lang/Object;)V
    .registers 5

    .prologue
    .line 302
    check-cast p2, Ljava/lang/Number;

    .line 1311
    if-nez p2, :cond_8

    .line 1312
    invoke-virtual {p1}, Lcom/google/gson/stream/b;->AA()Lcom/google/gson/stream/b;

    .line 1313
    :goto_7
    return-void

    .line 1315
    :cond_8
    invoke-virtual {p2}, Ljava/lang/Number;->floatValue()F

    move-result v0

    .line 1316
    float-to-double v0, v0

    invoke-static {v0, v1}, Lcom/google/gson/d;->o(D)V

    .line 1317
    invoke-virtual {p1, p2}, Lcom/google/gson/stream/b;->c(Ljava/lang/Number;)Lcom/google/gson/stream/b;

    goto :goto_7
.end method