i$24.smali
.class final Lcom/google/gson/internal/bind/i$24;
.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/Boolean;",
">;"
}
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.line 156
invoke-direct {p0}, Lcom/google/gson/t;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic a(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object;
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1158
invoke-virtual {p1}, 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 1159
invoke-virtual {p1}, Lcom/google/gson/stream/JsonReader;->nextNull()V
const/4 p1, 0x0
return-object p1
.line 1162
:cond_d
invoke-virtual {p1}, Lcom/google/gson/stream/JsonReader;->nextString()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;
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 156
check-cast p2, Ljava/lang/Boolean;
if-nez p2, :cond_7
const-string p2, "null"
goto :goto_b
.line 1166
:cond_7
invoke-virtual {p2}, Ljava/lang/Boolean;->toString()Ljava/lang/String;
move-result-object p2
:goto_b
invoke-virtual {p1, p2}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/String;)Lcom/google/gson/stream/JsonWriter;
return-void
.end method