apkfuckery/com.discord/smali_classes2/q0/a.smali

146 lines
2.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lq0/a;
2020-07-23 01:06:17 +00:00
.super Lq0/e$a;
.source "BuiltInConverters.java"
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-07-23 01:06:17 +00:00
Lq0/a$d;,
2020-07-08 16:44:49 +00:00
Lq0/a$a;,
2020-07-23 01:06:17 +00:00
Lq0/a$c;,
Lq0/a$b;,
Lq0/a$e;
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-23 01:06:17 +00:00
# direct methods
.method public constructor <init>()V
.locals 0
2020-07-16 19:51:49 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {p0}, Lq0/e$a;-><init>()V
2020-07-16 19:51:49 +00:00
2020-07-23 01:06:17 +00:00
return-void
.end method
2020-07-16 19:51:49 +00:00
2020-07-23 01:06:17 +00:00
# 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
2020-07-16 19:51:49 +00:00
2020-07-23 01:06:17 +00:00
const-class p2, Lokhttp3/RequestBody;
2020-07-16 19:51:49 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p1}, Lq0/r;->h(Ljava/lang/reflect/Type;)Ljava/lang/Class;
2020-07-16 19:51:49 +00:00
2020-07-23 01:06:17 +00:00
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
2020-05-17 12:40:10 +00:00
.end method