i$16.smali
.class final Lcom/google/gson/internal/bind/i$16;
.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/net/InetAddress;",
">;"
}
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.line 524
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 1527
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 1528
invoke-virtual {p1}, Lcom/google/gson/stream/JsonReader;->nextNull()V
const/4 p1, 0x0
return-object p1
.line 1532
:cond_d
invoke-virtual {p1}, Lcom/google/gson/stream/JsonReader;->nextString()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;
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 524
check-cast p2, Ljava/net/InetAddress;
if-nez p2, :cond_6
const/4 p2, 0x0
goto :goto_a
.line 1536
:cond_6
invoke-virtual {p2}, Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;
move-result-object p2
:goto_a
invoke-virtual {p1, p2}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/String;)Lcom/google/gson/stream/JsonWriter;
return-void
.end method