94 lines
2.5 KiB
Smali
94 lines
2.5 KiB
Smali
.class public final Lq0/t/a/a;
|
|
.super Lq0/e$a;
|
|
.source "GsonConverterFactory.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lcom/google/gson/Gson;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/gson/Gson;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lq0/e$a;-><init>()V
|
|
|
|
iput-object p1, p0, Lq0/t/a/a;->a:Lcom/google/gson/Gson;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;Lq0/p;)Lq0/e;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/reflect/Type;",
|
|
"[",
|
|
"Ljava/lang/annotation/Annotation;",
|
|
"[",
|
|
"Ljava/lang/annotation/Annotation;",
|
|
"Lq0/p;",
|
|
")",
|
|
"Lq0/e<",
|
|
"*",
|
|
"Lokhttp3/RequestBody;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p2, p0, Lq0/t/a/a;->a:Lcom/google/gson/Gson;
|
|
|
|
new-instance p3, Lcom/google/gson/reflect/TypeToken;
|
|
|
|
invoke-direct {p3, p1}, Lcom/google/gson/reflect/TypeToken;-><init>(Ljava/lang/reflect/Type;)V
|
|
|
|
invoke-virtual {p2, p3}, Lcom/google/gson/Gson;->f(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Lq0/t/a/b;
|
|
|
|
iget-object p3, p0, Lq0/t/a/a;->a:Lcom/google/gson/Gson;
|
|
|
|
invoke-direct {p2, p3, p1}, Lq0/t/a/b;-><init>(Lcom/google/gson/Gson;Lcom/google/gson/TypeAdapter;)V
|
|
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lq0/p;)Lq0/e;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/reflect/Type;",
|
|
"[",
|
|
"Ljava/lang/annotation/Annotation;",
|
|
"Lq0/p;",
|
|
")",
|
|
"Lq0/e<",
|
|
"Lokhttp3/ResponseBody;",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p2, p0, Lq0/t/a/a;->a:Lcom/google/gson/Gson;
|
|
|
|
new-instance p3, Lcom/google/gson/reflect/TypeToken;
|
|
|
|
invoke-direct {p3, p1}, Lcom/google/gson/reflect/TypeToken;-><init>(Ljava/lang/reflect/Type;)V
|
|
|
|
invoke-virtual {p2, p3}, Lcom/google/gson/Gson;->f(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Lq0/t/a/c;
|
|
|
|
iget-object p3, p0, Lq0/t/a/a;->a:Lcom/google/gson/Gson;
|
|
|
|
invoke-direct {p2, p3, p1}, Lq0/t/a/c;-><init>(Lcom/google/gson/Gson;Lcom/google/gson/TypeAdapter;)V
|
|
|
|
return-object p2
|
|
.end method
|