apkfuckery/com.discord/smali_classes2/p0/a.smali
2020-07-14 22:43:59 +00:00

145 lines
2.6 KiB
Smali

.class public final Lp0/a;
.super Lp0/e$a;
.source "BuiltInConverters.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lp0/a$d;,
Lp0/a$a;,
Lp0/a$c;,
Lp0/a$b;,
Lp0/a$e;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lp0/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;Lp0/p;)Lp0/e;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"[",
"Ljava/lang/annotation/Annotation;",
"Lp0/p;",
")",
"Lp0/e<",
"*",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
const-class p2, Lokhttp3/RequestBody;
invoke-static {p1}, Lp0/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, Lp0/a$b;->a:Lp0/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;Lp0/p;)Lp0/e;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"Lp0/p;",
")",
"Lp0/e<",
"Lokhttp3/ResponseBody;",
"*>;"
}
.end annotation
const-class p3, Lokhttp3/ResponseBody;
if-ne p1, p3, :cond_3
const-class p1, Lp0/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, Lp0/a$c;->a:Lp0/a$c;
goto :goto_2
:cond_2
sget-object p1, Lp0/a$a;->a:Lp0/a$a;
:goto_2
return-object p1
:cond_3
const-class p2, Ljava/lang/Void;
if-ne p1, p2, :cond_4
sget-object p1, Lp0/a$e;->a:Lp0/a$e;
return-object p1
:cond_4
const/4 p1, 0x0
return-object p1
.end method