apkfuckery/com.discord/smali_classes2/k0/c.smali
2020-09-17 00:45:48 +00:00

151 lines
2.9 KiB
Smali

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