apkfuckery/com.discord/smali_classes2/s0/x$e.smali
2020-09-16 23:45:23 +00:00

147 lines
3.3 KiB
Smali

.class public final Ls0/x$e;
.super Ls0/x;
.source "ParameterHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ls0/x;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "e"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ls0/x<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/reflect/Method;
.field public final b:I
.field public final c:Lokhttp3/Headers;
.field public final d:Ls0/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ls0/h<",
"TT;",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/reflect/Method;ILokhttp3/Headers;Ls0/h;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
"I",
"Lokhttp3/Headers;",
"Ls0/h<",
"TT;",
"Lokhttp3/RequestBody;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ls0/x;-><init>()V
iput-object p1, p0, Ls0/x$e;->a:Ljava/lang/reflect/Method;
iput p2, p0, Ls0/x$e;->b:I
iput-object p3, p0, Ls0/x$e;->c:Lokhttp3/Headers;
iput-object p4, p0, Ls0/x$e;->d:Ls0/h;
return-void
.end method
# virtual methods
.method public a(Ls0/z;Ljava/lang/Object;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ls0/z;",
"TT;)V"
}
.end annotation
if-nez p2, :cond_0
return-void
:cond_0
:try_start_0
iget-object v0, p0, Ls0/x$e;->d:Ls0/h;
invoke-interface {v0, p2}, Ls0/h;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lokhttp3/RequestBody;
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
iget-object p2, p0, Ls0/x$e;->c:Lokhttp3/Headers;
invoke-virtual {p1, p2, v0}, Ls0/z;->c(Lokhttp3/Headers;Lokhttp3/RequestBody;)V
return-void
:catch_0
move-exception p1
iget-object v0, p0, Ls0/x$e;->a:Ljava/lang/reflect/Method;
iget v1, p0, Ls0/x$e;->b:I
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Unable to convert "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p2, " to RequestBody"
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
aput-object p1, v2, v3
invoke-static {v0, v1, p2, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.end method