SqlDateTypeAdapter$1.smali
.class public Lcom/google/gson/internal/bind/SqlDateTypeAdapter$1;
.super Ljava/lang/Object;
.source "SqlDateTypeAdapter.java"
# interfaces
.implements Lp5/s;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/gson/internal/bind/SqlDateTypeAdapter;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public create(Lcom/google/gson/Gson;Lv5/a;)Lcom/google/gson/TypeAdapter;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/gson/Gson;",
"Lv5/a<",
"TT;>;)",
"Lcom/google/gson/TypeAdapter<",
"TT;>;"
}
.end annotation
invoke-virtual {p2}, Lv5/a;->getRawType()Ljava/lang/Class;
move-result-object p1
const-class p2, Ljava/sql/Date;
if-ne p1, p2, :cond_e
new-instance p1, Lcom/google/gson/internal/bind/SqlDateTypeAdapter;
invoke-direct {p1}, Lcom/google/gson/internal/bind/SqlDateTypeAdapter;-><init>()V
goto :goto_f
:cond_e
const/4 p1, 0x0
:goto_f
return-object p1
.end method