apkfuckery/com.discord/smali_classes2/j0/c.smali
2020-11-05 20:51:11 +00:00

151 lines
2.9 KiB
Smali

.class public final Lj0/c;
.super Lj0/h$a;
.source "BuiltInConverters.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lj0/c$c;,
Lj0/c$a;,
Lj0/c$f;,
Lj0/c$e;,
Lj0/c$b;,
Lj0/c$d;
}
.end annotation
# instance fields
.field public a:Z
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lj0/h$a;-><init>()V
const/4 v0, 0x1
iput-boolean v0, p0, Lj0/c;->a:Z
return-void
.end method
# virtual methods
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;Lj0/d0;)Lj0/h;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"[",
"Ljava/lang/annotation/Annotation;",
"Lj0/d0;",
")",
"Lj0/h<",
"*",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
const-class p2, Lokhttp3/RequestBody;
invoke-static {p1}, Lj0/h0;->f(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, Lj0/c$b;->a:Lj0/c$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;Lj0/d0;)Lj0/h;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"Lj0/d0;",
")",
"Lj0/h<",
"Lokhttp3/ResponseBody;",
"*>;"
}
.end annotation
const-class p3, Lokhttp3/ResponseBody;
if-ne p1, p3, :cond_1
const-class p1, Lj0/k0/u;
invoke-static {p2, p1}, Lj0/h0;->i([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Z
move-result p1
if-eqz p1, :cond_0
sget-object p1, Lj0/c$c;->a:Lj0/c$c;
goto :goto_0
:cond_0
sget-object p1, Lj0/c$a;->a:Lj0/c$a;
:goto_0
return-object p1
:cond_1
const-class p2, Ljava/lang/Void;
if-ne p1, p2, :cond_2
sget-object p1, Lj0/c$f;->a:Lj0/c$f;
return-object p1
:cond_2
iget-boolean p2, p0, Lj0/c;->a:Z
if-eqz p2, :cond_3
:try_start_0
const-class p2, Lkotlin/Unit;
if-ne p1, p2, :cond_3
sget-object p1, Lj0/c$e;->a:Lj0/c$e;
:try_end_0
.catch Ljava/lang/NoClassDefFoundError; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
const/4 p1, 0x0
iput-boolean p1, p0, Lj0/c;->a:Z
:cond_3
const/4 p1, 0x0
return-object p1
.end method