apkfuckery/com.discord/smali_classes2/q0/a.smali
2020-07-16 19:51:49 +00:00

145 lines
2.6 KiB
Smali

.class public final Lq0/a;
.super Lq0/e$a;
.source "BuiltInConverters.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lq0/a$d;,
Lq0/a$a;,
Lq0/a$c;,
Lq0/a$b;,
Lq0/a$e;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lq0/e$a;-><init>()V
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
const-class p2, Lokhttp3/RequestBody;
invoke-static {p1}, Lq0/r;->h(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object p1
invoke-virtual {p2, p1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result p1
if-eqz p1, :cond_0
sget-object p1, Lq0/a$b;->a:Lq0/a$b;
return-object p1
:cond_0
const/4 p1, 0x0
return-object p1
.end method
.method public b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lq0/p;)Lq0/e;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"Lq0/p;",
")",
"Lq0/e<",
"Lokhttp3/ResponseBody;",
"*>;"
}
.end annotation
const-class p3, Lokhttp3/ResponseBody;
if-ne p1, p3, :cond_3
const-class p1, Lq0/u/u;
array-length p3, p2
const/4 v0, 0x0
const/4 v1, 0x0
:goto_0
if-ge v1, p3, :cond_1
aget-object v2, p2, v1
invoke-virtual {p1, v2}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
const/4 v0, 0x1
goto :goto_1
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
:goto_1
if-eqz v0, :cond_2
sget-object p1, Lq0/a$c;->a:Lq0/a$c;
goto :goto_2
:cond_2
sget-object p1, Lq0/a$a;->a:Lq0/a$a;
:goto_2
return-object p1
:cond_3
const-class p2, Ljava/lang/Void;
if-ne p1, p2, :cond_4
sget-object p1, Lq0/a$e;->a:Lq0/a$e;
return-object p1
:cond_4
const/4 p1, 0x0
return-object p1
.end method