j.smali

.class public final Lcom/google/gson/internal/j;
.super Ljava/lang/Object;
.source "SourceFile"


# direct methods
.method public static a(Lcom/google/gson/stream/a;)Lcom/google/gson/o;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/gson/s;
        }
    .end annotation

    .line 1
    :try_start_0
    invoke-virtual {p0}, Lcom/google/gson/stream/a;->i0()Lcom/google/gson/stream/b;
    :try_end_3
    .catch Ljava/io/EOFException; {:try_start_0 .. :try_end_3} :catch_22
    .catch Lcom/google/gson/stream/d; {:try_start_0 .. :try_end_3} :catch_1b
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_3} :catch_14
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_3} :catch_d

    const/4 v0, 0x0

    .line 2
    :try_start_4
    sget-object v1, Lcom/google/gson/internal/bind/TypeAdapters;->O:Lcom/google/gson/internal/bind/TypeAdapters$s;

    .line 3
    invoke-virtual {v1, p0}, Lcom/google/gson/internal/bind/TypeAdapters$s;->b(Lcom/google/gson/stream/a;)Lcom/google/gson/o;

    move-result-object p0
    :try_end_a
    .catch Ljava/io/EOFException; {:try_start_4 .. :try_end_a} :catch_b
    .catch Lcom/google/gson/stream/d; {:try_start_4 .. :try_end_a} :catch_1b
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_a} :catch_14
    .catch Ljava/lang/NumberFormatException; {:try_start_4 .. :try_end_a} :catch_d

    return-object p0

    :catch_b
    move-exception p0

    goto :goto_24

    :catch_d
    move-exception p0

    .line 4
    new-instance v0, Lcom/google/gson/x;

    invoke-direct {v0, p0}, Lcom/google/gson/x;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_14
    move-exception p0

    .line 5
    new-instance v0, Lcom/google/gson/p;

    invoke-direct {v0, p0}, Lcom/google/gson/p;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_1b
    move-exception p0

    .line 6
    new-instance v0, Lcom/google/gson/x;

    invoke-direct {v0, p0}, Lcom/google/gson/x;-><init>(Ljava/lang/Throwable;)V

    throw v0

    :catch_22
    move-exception p0

    const/4 v0, 0x1

    :goto_24
    if-eqz v0, :cond_29

    .line 7
    sget-object p0, Lcom/google/gson/q;->a:Lcom/google/gson/q;

    return-object p0

    .line 8
    :cond_29
    new-instance v0, Lcom/google/gson/x;

    invoke-direct {v0, p0}, Lcom/google/gson/x;-><init>(Ljava/lang/Throwable;)V

    throw v0
.end method

.method public static b(Lcom/google/gson/o;Lcom/google/gson/stream/c;)V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    sget-object v0, Lcom/google/gson/internal/bind/TypeAdapters;->O:Lcom/google/gson/internal/bind/TypeAdapters$s;

    invoke-virtual {v0, p1, p0}, Lcom/google/gson/internal/bind/TypeAdapters$s;->write(Lcom/google/gson/stream/c;Ljava/lang/Object;)V

    return-void
.end method