apkfuckery/com.discord/smali_classes2/g0/s.smali

91 lines
1.9 KiB
Smali
Raw Normal View History

2020-11-14 03:19:56 +00:00
.class public final Lg0/s;
.super Lg0/h$a;
2020-11-13 19:18:44 +00:00
.source "OptionalConverterFactory.java"
2020-11-12 02:11:44 +00:00
# annotations
2020-11-13 19:18:44 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-11-14 03:19:56 +00:00
Lg0/s$a;
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-13 19:18:44 +00:00
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
# static fields
2020-11-14 03:19:56 +00:00
.field public static final a:Lg0/h$a;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public static constructor <clinit>()V
.locals 1
2020-11-14 03:19:56 +00:00
new-instance v0, Lg0/s;
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-direct {v0}, Lg0/s;-><init>()V
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
sput-object v0, Lg0/s;->a:Lg0/h$a;
2020-11-13 19:18:44 +00:00
return-void
.end method
.method public constructor <init>()V
2020-11-12 02:11:44 +00:00
.locals 0
2020-11-14 03:19:56 +00:00
invoke-direct {p0}, Lg0/h$a;-><init>()V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-14 03:19:56 +00:00
.method public responseBodyConverter(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lg0/b0;)Lg0/h;
2020-11-13 19:18:44 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
2020-11-14 03:19:56 +00:00
"Lg0/b0;",
2020-11-13 19:18:44 +00:00
")",
2020-11-14 03:19:56 +00:00
"Lg0/h<",
2020-11-13 19:18:44 +00:00
"Lokhttp3/ResponseBody;",
"*>;"
}
.end annotation
2020-11-14 03:19:56 +00:00
invoke-static {p1}, Lg0/h$a;->getRawType(Ljava/lang/reflect/Type;)Ljava/lang/Class;
2020-11-13 19:18:44 +00:00
move-result-object v0
const-class v1, Ljava/util/Optional;
if-eq v0, v1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 p1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-object p1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:cond_0
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast p1, Ljava/lang/reflect/ParameterizedType;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-static {v0, p1}, Lg0/h$a;->getParameterUpperBound(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {p3, p1, p2}, Lg0/b0;->d(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lg0/h;
2020-11-12 02:11:44 +00:00
move-result-object p1
2020-11-14 03:19:56 +00:00
new-instance p2, Lg0/s$a;
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-direct {p2, p1}, Lg0/s$a;-><init>(Lg0/h;)V
2020-11-13 19:18:44 +00:00
return-object p2
2020-11-12 02:11:44 +00:00
.end method