2020-11-09 00:01:03 +00:00
|
|
|
.class public final Lg0/x$a;
|
2020-11-09 19:03:49 +00:00
|
|
|
.super Lg0/x;
|
|
|
|
.source "ParameterHandler.java"
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
2020-11-09 19:03:49 +00:00
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lg0/x;
|
2020-07-23 01:06:17 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
2020-11-09 19:03:49 +00:00
|
|
|
name = "a"
|
2020-09-09 19:21:20 +00:00
|
|
|
.end annotation
|
2020-07-23 01:06:17 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-09 19:03:49 +00:00
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Lg0/x<",
|
|
|
|
"TT;>;"
|
2020-09-16 23:45:23 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
# instance fields
|
2020-11-09 19:03:49 +00:00
|
|
|
.field public final a:Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
.field public final b:I
|
|
|
|
|
|
|
|
.field public final c:Lg0/h;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lg0/h<",
|
|
|
|
"TT;",
|
|
|
|
"Lokhttp3/RequestBody;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2020-09-02 04:07:20 +00:00
|
|
|
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
# direct methods
|
2020-11-09 19:03:49 +00:00
|
|
|
.method public constructor <init>(Ljava/lang/reflect/Method;ILg0/h;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 0
|
2020-11-09 19:03:49 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/reflect/Method;",
|
|
|
|
"I",
|
|
|
|
"Lg0/h<",
|
|
|
|
"TT;",
|
|
|
|
"Lokhttp3/RequestBody;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lg0/x;-><init>()V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
iput-object p1, p0, Lg0/x$a;->a:Ljava/lang/reflect/Method;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
iput p2, p0, Lg0/x$a;->b:I
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
iput-object p3, p0, Lg0/x$a;->c:Lg0/h;
|
2020-07-23 01:06:17 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-11-09 19:03:49 +00:00
|
|
|
.method public a(Lg0/z;Ljava/lang/Object;)V
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lg0/z;",
|
|
|
|
"TT;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_start_0
|
2020-11-09 19:03:49 +00:00
|
|
|
iget-object v1, p0, Lg0/x$a;->c:Lg0/h;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-interface {v1, p2}, Lg0/h;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
move-result-object v1
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
check-cast v1, Lokhttp3/RequestBody;
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_end_0
|
2020-11-09 19:03:49 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
iput-object v1, p1, Lg0/z;->k:Lokhttp3/RequestBody;
|
|
|
|
|
|
|
|
return-void
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:catch_0
|
2020-11-09 19:03:49 +00:00
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
iget-object v1, p0, Lg0/x$a;->a:Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
iget v2, p0, Lg0/x$a;->b:I
|
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v4, "Unable to convert "
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p2, " to RequestBody"
|
|
|
|
|
|
|
|
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-static {v1, p1, v2, p2, v0}, Lg0/h0;->m(Ljava/lang/reflect/Method;Ljava/lang/Throwable;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object p1, p0, Lg0/x$a;->a:Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
iget p2, p0, Lg0/x$a;->b:I
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v1, "Body parameter value must not be null."
|
|
|
|
|
|
|
|
invoke-static {p1, p2, v1, v0}, Lg0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
throw p1
|
2020-07-23 01:06:17 +00:00
|
|
|
.end method
|