apkfuckery/com.discord/smali_classes2/r0/a.smali
2020-09-16 21:45:36 +00:00

145 lines
2.6 KiB
Smali

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