2020-09-10 21:23:57 +00:00
|
|
|
.class public abstract Ls0/e0;
|
2020-09-09 19:21:20 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ServiceMethod.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
.method public static a(Ls0/d0;Ljava/lang/reflect/Method;)Ls0/e0;
|
2020-09-09 19:21:20 +00:00
|
|
|
.locals 23
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2020-09-10 21:23:57 +00:00
|
|
|
"Ls0/d0;",
|
2020-09-09 19:21:20 +00:00
|
|
|
"Ljava/lang/reflect/Method;",
|
|
|
|
")",
|
2020-09-10 21:23:57 +00:00
|
|
|
"Ls0/e0<",
|
2020-09-09 19:21:20 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v2, Ls0/a0$a;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v2, v0, v1}, Ls0/a0$a;-><init>(Ls0/d0;Ljava/lang/reflect/Method;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
array-length v4, v3
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string v7, "HEAD"
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
if-ge v6, v4, :cond_f
|
|
|
|
|
|
|
|
aget-object v9, v3, v6
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v10, v9, Ls0/k0/b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v10, :cond_0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/b;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "DELETE"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v8, v7, v5}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v10, v9, Ls0/k0/e;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v10, :cond_1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/e;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/e;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "GET"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v8, v7, v5}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v10, v9, Ls0/k0/f;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v10, :cond_2
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/f;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/f;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v7, v8, v5}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_2
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/l;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/l;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/l;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v9, "PATCH"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v9, v7, v8}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/m;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/m;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/m;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v9, "POST"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v9, v7, v8}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/n;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_5
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/n;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/n;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v9, "PUT"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v9, v7, v8}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/k;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_6
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/k;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/k;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "OPTIONS"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v8, v7, v5}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/g;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_7
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/g;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/g;->method()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/g;->path()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/g;->hasBody()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v7, v8, v9}, Ls0/a0$a;->b(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/i;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_c
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v9, Ls0/k0/i;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v9}, Ls0/k0/i;->value()[Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
array-length v9, v7
|
|
|
|
|
|
|
|
if-eqz v9, :cond_b
|
|
|
|
|
|
|
|
new-instance v9, Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
invoke-direct {v9}, Lokhttp3/Headers$a;-><init>()V
|
|
|
|
|
|
|
|
array-length v10, v7
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v11, v10, :cond_a
|
|
|
|
|
|
|
|
aget-object v12, v7, v11
|
|
|
|
|
|
|
|
const/16 v13, 0x3a
|
|
|
|
|
|
|
|
invoke-virtual {v12, v13}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
const/4 v14, -0x1
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_9
|
|
|
|
|
|
|
|
if-eqz v13, :cond_9
|
|
|
|
|
|
|
|
invoke-virtual {v12}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v14
|
|
|
|
|
|
|
|
sub-int/2addr v14, v8
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_9
|
|
|
|
|
|
|
|
invoke-virtual {v12, v5, v13}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v14
|
|
|
|
|
|
|
|
add-int/lit8 v13, v13, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {v12, v13}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
invoke-virtual {v12}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
const-string v13, "Content-Type"
|
|
|
|
|
|
|
|
invoke-virtual {v13, v14}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_8
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-static {v12}, Lokhttp3/MediaType;->c(Ljava/lang/String;)Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-object v13, v2, Ls0/a0$a;->t:Lokhttp3/MediaType;
|
2020-09-09 19:21:20 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v2, v8, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v12, v2, v5
|
|
|
|
|
|
|
|
const-string v3, "Malformed content type: %s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v0, v3, v2}, Ls0/h0;->k(Ljava/lang/reflect/Method;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {v9, v14, v12}, Lokhttp3/Headers$a;->a(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_9
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v8, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v12, v1, v5
|
|
|
|
|
|
|
|
const-string v2, "@Headers value must be in the form \"Name: Value\". Found: \"%s\""
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
invoke-virtual {v9}, Lokhttp3/Headers$a;->c()Lokhttp3/Headers;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-object v7, v2, Ls0/a0$a;->s:Lokhttp3/Headers;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_b
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@Headers annotation is empty."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_c
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v7, v9, Ls0/k0/j;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_e
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v7, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v7, :cond_d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v8, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_d
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Only one encoding annotation is allowed."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
:goto_3
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_f
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->n:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_72
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->o:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_12
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_11
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_10
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_10
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "FormUrlEncoded can only be specified on HTTP methods with request body (e.g., @POST)."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_11
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Multipart can only be specified on HTTP methods with request body (e.g., @POST)."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
:goto_4
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->d:[[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
array-length v3, v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-array v4, v3, [Ls0/x;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-object v4, v2, Ls0/a0$a;->v:[Ls0/x;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
add-int/lit8 v4, v3, -0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-ge v5, v3, :cond_5d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v6, v2, Ls0/a0$a;->v:[Ls0/x;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->e:[Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
aget-object v14, v8, v5
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->d:[[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
aget-object v15, v8, v5
|
|
|
|
|
|
|
|
if-ne v5, v4, :cond_13
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/16 v16, 0x1
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/16 v16, 0x0
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
if-eqz v15, :cond_5a
|
|
|
|
|
|
|
|
array-length v13, v15
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
move-object/from16 v17, v9
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
if-ge v12, v13, :cond_59
|
|
|
|
|
|
|
|
aget-object v8, v15, v12
|
|
|
|
|
|
|
|
const-class v9, Ljava/lang/String;
|
|
|
|
|
|
|
|
const-class v10, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v11, v8, Ls0/k0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move/from16 v18, v3
|
|
|
|
|
|
|
|
const-string v3, "@Path parameters may not be used with @Url."
|
|
|
|
|
|
|
|
if-eqz v11, :cond_1c
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v8, v2, Ls0/a0$a;->m:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v8, :cond_1b
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v8, v2, Ls0/a0$a;->i:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v8, :cond_1a
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->j:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_19
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->k:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_18
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->l:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_17
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->r:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v3, :cond_16
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v3, v2, Ls0/a0$a;->m:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const-class v3, Lo0/y;
|
|
|
|
|
|
|
|
if-eq v14, v3, :cond_15
|
|
|
|
|
|
|
|
if-eq v14, v9, :cond_15
|
|
|
|
|
|
|
|
const-class v3, Ljava/net/URI;
|
|
|
|
|
|
|
|
if-eq v14, v3, :cond_15
|
|
|
|
|
|
|
|
instance-of v3, v14, Ljava/lang/Class;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_14
|
|
|
|
|
|
|
|
const-string v3, "android.net.Uri"
|
|
|
|
|
|
|
|
move-object v8, v14
|
|
|
|
|
|
|
|
check-cast v8, Ljava/lang/Class;
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_14
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_14
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@Url must be okhttp3.HttpUrl, String, java.net.URI, or android.net.Uri type."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
:goto_8
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v3, Ls0/x$l;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v3, v8, v5}, Ls0/x$l;-><init>(Ljava/lang/reflect/Method;I)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move/from16 v19, v4
|
|
|
|
|
|
|
|
move/from16 v21, v12
|
|
|
|
|
|
|
|
move/from16 v20, v13
|
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_16
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v2, v2, Ls0/a0$a;->n:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
|
|
|
const-string v2, "@Url cannot be used with @%s URL"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "A @Url parameter must not come after a @QueryMap."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "A @Url parameter must not come after a @QueryName."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "A @Url parameter must not come after a @Query."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1a
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v3, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1b
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Multiple @Url method annotations found."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1c
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v11, v8, Ls0/k0/q;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move/from16 v19, v4
|
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
if-eqz v11, :cond_24
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v9, v2, Ls0/a0$a;->j:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v9, :cond_23
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v9, v2, Ls0/a0$a;->k:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v9, :cond_22
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v9, v2, Ls0/a0$a;->l:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v9, :cond_21
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v9, v2, Ls0/a0$a;->m:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v9, :cond_20
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->r:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_1f
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v3, v2, Ls0/a0$a;->i:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/q;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/q;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
sget-object v3, Ls0/a0$a;->y:Ljava/util/regex/Pattern;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v11}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1e
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->u:Ljava/util/Set;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-interface {v3, v11}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v3, v14, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/x$g;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/q;->encoded()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v20
|
|
|
|
|
|
|
|
move-object v8, v4
|
|
|
|
|
|
|
|
move v10, v5
|
|
|
|
|
|
|
|
move/from16 v21, v12
|
|
|
|
|
|
|
|
move-object v12, v3
|
|
|
|
|
|
|
|
move v3, v13
|
|
|
|
|
|
|
|
move/from16 v13, v20
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct/range {v8 .. v13}, Ls0/x$g;-><init>(Ljava/lang/reflect/Method;ILjava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_1d
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v4, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v2, v2, Ls0/a0$a;->r:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aput-object v11, v1, v2
|
|
|
|
|
|
|
|
const-string v2, "URL \"%s\" does not contain \"{%s}\"."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1e
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v2, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v3, v4, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
sget-object v4, Ls0/a0$a;->x:Ljava/util/regex/Pattern;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/util/regex/Pattern;->pattern()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
aput-object v4, v3, v0
|
|
|
|
|
|
|
|
aput-object v11, v3, v1
|
|
|
|
|
|
|
|
const-string v0, "@Path parameter name must match %s. Found: %s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v2, v5, v0, v3}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1f
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v2, v2, Ls0/a0$a;->n:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
aput-object v2, v1, v0
|
|
|
|
|
|
|
|
const-string v0, "@Path can only be used with relative url on @%s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v3, v5, v0, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_20
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v3, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_21
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "A @Path parameter must not come after a @QueryMap."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_22
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "A @Path parameter must not come after a @QueryName."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_23
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "A @Path parameter must not come after a @Query."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_24
|
|
|
|
move/from16 v21, v12
|
|
|
|
|
|
|
|
move v3, v13
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/r;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const-string v11, "<String>)"
|
|
|
|
|
|
|
|
const-string v12, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
if-eqz v4, :cond_28
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/r;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/r;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/r;->encoded()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
const/4 v10, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v10, v2, Ls0/a0$a;->j:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const-class v10, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-eqz v10, :cond_26
|
|
|
|
|
|
|
|
instance-of v10, v14, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v10, :cond_25
|
|
|
|
|
|
|
|
move-object v9, v14
|
|
|
|
|
|
|
|
check-cast v9, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v10, v9}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v10, v9, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v10, Ls0/x$h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v10, v4, v9, v8}, Ls0/x$h;-><init>(Ljava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v10}, Ls0/v;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_25
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v9, v1, v12, v11}, Lf/e/b/a/a;->h(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_26
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-eqz v10, :cond_27
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v9}, Ls0/a0$a;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v10, v9, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v10, Ls0/x$h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v10, v4, v9, v8}, Ls0/x$h;-><init>(Ljava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/w;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v10}, Ls0/w;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_27
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v14, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v10, Ls0/x$h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v10, v4, v9, v8}, Ls0/x$h;-><init>(Ljava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_a
|
|
|
|
|
|
|
|
:cond_28
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/t;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_2c
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/t;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/t;->encoded()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v9, v2, Ls0/a0$a;->k:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const-class v9, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_2a
|
|
|
|
|
|
|
|
instance-of v9, v14, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v9, :cond_29
|
|
|
|
|
|
|
|
move-object v8, v14
|
|
|
|
|
|
|
|
check-cast v8, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v9, v8}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v8, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$j;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v8, v4}, Ls0/x$j;-><init>(Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v9}, Ls0/v;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_29
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v8, v1, v12, v11}, Lf/e/b/a/a;->h(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2a
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_2b
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v8}, Ls0/a0$a;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v8, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$j;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v8, v4}, Ls0/x$j;-><init>(Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/w;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v9}, Ls0/w;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_2b
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v8, v14, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$j;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v8, v4}, Ls0/x$j;-><init>(Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:goto_9
|
|
|
|
move/from16 v20, v3
|
|
|
|
|
|
|
|
move-object v3, v9
|
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_2c
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/s;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const-string v13, "Map must include generic types (e.g., Map<String, String>)"
|
|
|
|
|
|
|
|
if-eqz v4, :cond_30
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const/4 v10, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v10, v2, Ls0/a0$a;->l:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const-class v11, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v11, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
if-eqz v11, :cond_2f
|
|
|
|
|
|
|
|
const-class v11, Ljava/util/Map;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14, v4, v11}, Ls0/h0;->g(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
instance-of v11, v4, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v11, :cond_2e
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v11, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v11, v4}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
|
|
|
if-ne v9, v11, :cond_2d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v10, v4}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v4, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$i;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/s;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/s;->encoded()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v10, v5, v4, v8}, Ls0/x$i;-><init>(Ljava/lang/reflect/Method;ILs0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_2d
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "@QueryMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2e
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v13, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2f
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@QueryMap parameter type must be Map."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_30
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_34
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/h;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
const-class v9, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_32
|
|
|
|
|
|
|
|
instance-of v9, v14, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v9, :cond_31
|
|
|
|
|
|
|
|
move-object v8, v14
|
|
|
|
|
|
|
|
check-cast v8, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v9, v8}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v8, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$d;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v4, v8}, Ls0/x$d;-><init>(Ljava/lang/String;Ls0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v9}, Ls0/v;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_31
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v8, v1, v12, v11}, Lf/e/b/a/a;->h(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_32
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_33
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v8}, Ls0/a0$a;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v8, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$d;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v4, v8}, Ls0/x$d;-><init>(Ljava/lang/String;Ls0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/w;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v9}, Ls0/w;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_33
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v8, v14, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$d;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v4, v8}, Ls0/x$d;-><init>(Ljava/lang/String;Ls0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_34
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/c;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_39
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v4, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_38
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/c;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/c;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/c;->encoded()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v9, v2, Ls0/a0$a;->f:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
const-class v10, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-eqz v10, :cond_36
|
|
|
|
|
|
|
|
instance-of v10, v14, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v10, :cond_35
|
|
|
|
|
|
|
|
move-object v9, v14
|
|
|
|
|
|
|
|
check-cast v9, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v10, v9}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v10, v9, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v10, Ls0/x$b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v10, v4, v9, v8}, Ls0/x$b;-><init>(Ljava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v10}, Ls0/v;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_35
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v9, v1, v12, v11}, Lf/e/b/a/a;->h(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_36
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-eqz v10, :cond_37
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v9}, Ls0/a0$a;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v10, v9, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v10, Ls0/x$b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v10, v4, v9, v8}, Ls0/x$b;-><init>(Ljava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/w;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v10}, Ls0/w;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_c
|
|
|
|
|
|
|
|
:cond_37
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v9, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v9, v14, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v10, Ls0/x$b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v10, v4, v9, v8}, Ls0/x$b;-><init>(Ljava/lang/String;Ls0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:goto_a
|
|
|
|
move/from16 v20, v3
|
|
|
|
|
|
|
|
move-object v3, v10
|
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_38
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@Field parameters can only be used with form encoding."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_39
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/d;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_3e
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v4, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_3d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-class v10, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-eqz v10, :cond_3c
|
|
|
|
|
|
|
|
const-class v10, Ljava/util/Map;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14, v4, v10}, Ls0/h0;->g(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
instance-of v10, v4, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v10, :cond_3b
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v10, v4}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v10
|
|
|
|
|
|
|
|
if-ne v9, v10, :cond_3a
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v9, v4}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v10, v4, v15}, Ls0/d0;->e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v9, v2, Ls0/a0$a;->f:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/x$c;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v10, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/d;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/d;->encoded()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v10, v5, v4, v8}, Ls0/x$c;-><init>(Ljava/lang/reflect/Method;ILs0/h;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_3a
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "@FieldMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3b
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v13, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3c
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@FieldMap parameter type must be Map."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3d
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@FieldMap parameters can only be used with form encoding."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3e
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v4, v8, Ls0/k0/o;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_4d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v4, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_4c
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/o;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v4, v2, Ls0/a0$a;->g:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/o;->value()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_45
|
|
|
|
|
|
|
|
const-class v4, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v4, v9}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const-string v8, "@Part annotation must supply a name or use MultipartBody.Part parameter type."
|
|
|
|
|
|
|
|
if-eqz v4, :cond_41
|
|
|
|
|
|
|
|
instance-of v4, v14, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_40
|
|
|
|
|
|
|
|
move-object v4, v14
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v9, v4}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v4}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v10, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_3f
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
sget-object v4, Ls0/x$k;->a:Ls0/x$k;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v8, Ls0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v8, v4}, Ls0/v;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:goto_b
|
|
|
|
move/from16 v20, v3
|
|
|
|
|
|
|
|
move-object v3, v8
|
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_3f
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v9, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v8, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_40
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v9, v1, v12, v11}, Lf/e/b/a/a;->h(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_41
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_43
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v10, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_42
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
sget-object v4, Ls0/x$k;->a:Ls0/x$k;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v8, Ls0/w;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v8, v4}, Ls0/w;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_42
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v8, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_43
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_44
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
sget-object v4, Ls0/x$k;->a:Ls0/x$k;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:goto_c
|
|
|
|
move/from16 v20, v3
|
|
|
|
|
|
|
|
:goto_d
|
|
|
|
move-object v3, v4
|
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_44
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v4, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v8, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_45
|
|
|
|
const/4 v13, 0x4
|
|
|
|
|
|
|
|
new-array v13, v13, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v22, "Content-Disposition"
|
|
|
|
|
|
|
|
const/16 v20, 0x0
|
|
|
|
|
|
|
|
aput-object v22, v13, v20
|
|
|
|
|
|
|
|
move/from16 v20, v3
|
|
|
|
|
|
|
|
const-string v3, "form-data; name=\""
|
|
|
|
|
|
|
|
const-string v1, "\""
|
|
|
|
|
|
|
|
invoke-static {v3, v4, v1}, Lf/e/b/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
aput-object v1, v13, v3
|
|
|
|
|
|
|
|
const-string v1, "Content-Transfer-Encoding"
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
aput-object v1, v13, v3
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/o;->encoding()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
aput-object v3, v13, v1
|
|
|
|
|
|
|
|
sget-object v1, Lokhttp3/Headers;->e:Lokhttp3/Headers$b;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v13}, Lokhttp3/Headers$b;->c([Ljava/lang/String;)Lokhttp3/Headers;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-class v3, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v9}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const-string v4, "@Part parameters using the MultipartBody.Part must not include a part name in the annotation."
|
|
|
|
|
|
|
|
if-eqz v3, :cond_48
|
|
|
|
|
|
|
|
instance-of v3, v14, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_47
|
|
|
|
|
|
|
|
move-object v3, v14
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v8, v3}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v3}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v10, v8}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_46
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v4, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v4, v3, v15, v8}, Ls0/d0;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/x$e;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v8, v5, v1, v3}, Ls0/x$e;-><init>(Ljava/lang/reflect/Method;ILokhttp3/Headers;Ls0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v3, Ls0/v;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v3, v4}, Ls0/v;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_46
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v4, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_47
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v9, v1, v12, v11}, Lf/e/b/a/a;->h(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v1, v2}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_48
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_4a
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v3}, Ls0/a0$a;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v10, v3}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_49
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v4, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v4, v3, v15, v8}, Ls0/d0;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/x$e;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v8, v5, v1, v3}, Ls0/x$e;-><init>(Ljava/lang/reflect/Method;ILokhttp3/Headers;Ls0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v3, Ls0/w;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v3, v4}, Ls0/w;-><init>(Ls0/x;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_49
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v4, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4a
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_4b
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v4, v2, Ls0/a0$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v3, v14, v15, v4}, Ls0/d0;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v4, Ls0/x$e;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v8, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v4, v8, v5, v1, v3}, Ls0/x$e;-><init>(Ljava/lang/reflect/Method;ILokhttp3/Headers;Ls0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_d
|
|
|
|
|
|
|
|
:cond_4b
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v4, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4c
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@Part parameters can only be used with multipart encoding."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4d
|
|
|
|
move/from16 v20, v3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v1, v8, Ls0/k0/p;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_53
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_52
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v1, v2, Ls0/a0$a;->g:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_51
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14, v1, v3}, Ls0/h0;->g(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
instance-of v3, v1, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_50
|
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v3, v1}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-ne v9, v3, :cond_4f
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v3, v1}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v10, v3}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_4e
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v4, v2, Ls0/a0$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v3, v1, v15, v4}, Ls0/d0;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v8, Ls0/k0/p;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v3, Ls0/x$f;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v4, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v8}, Ls0/k0/p;->encoding()Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v3, v4, v5, v1, v8}, Ls0/x$f;-><init>(Ljava/lang/reflect/Method;ILs0/h;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_4e
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@PartMap values cannot be MultipartBody.Part. Use @Part List<Part> or a different value type instead."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4f
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v4, "@PartMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_50
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v13, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_51
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@PartMap parameter type must be Map."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_52
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@PartMap parameters can only be used with multipart encoding."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_53
|
2020-09-10 21:23:57 +00:00
|
|
|
instance-of v1, v8, Ls0/k0/a;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_56
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v2, v5, v14}, Ls0/a0$a;->c(ILjava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_55
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_55
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->h:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_54
|
|
|
|
|
|
|
|
:try_start_1
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->a:Ls0/d0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v3, v2, Ls0/a0$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v1, v14, v15, v3}, Ls0/d0;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v3, v2, Ls0/a0$a;->h:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v3, Ls0/x$a;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v4, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v3, v4, v5, v1}, Ls0/x$a;-><init>(Ljava/lang/reflect/Method;ILs0/h;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_e
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v14, v2, v3
|
|
|
|
|
|
|
|
const-string v3, "Unable to create @Body converter for %s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v0, v5, v3, v2}, Ls0/h0;->m(Ljava/lang/reflect/Method;Ljava/lang/Throwable;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_54
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Multiple @Body method annotations found."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_55
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@Body parameters cannot be used with form or multi-part encoding."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v5, v2, v0}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_56
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_e
|
|
|
|
if-nez v3, :cond_57
|
|
|
|
|
|
|
|
goto :goto_f
|
|
|
|
|
|
|
|
:cond_57
|
|
|
|
if-nez v17, :cond_58
|
|
|
|
|
|
|
|
move-object/from16 v17, v3
|
|
|
|
|
|
|
|
:goto_f
|
|
|
|
add-int/lit8 v12, v21, 0x1
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
move/from16 v3, v18
|
|
|
|
|
|
|
|
move/from16 v4, v19
|
|
|
|
|
|
|
|
move/from16 v13, v20
|
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:cond_58
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Multiple Retrofit annotations found, only one allowed."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_59
|
|
|
|
move/from16 v18, v3
|
|
|
|
|
|
|
|
move/from16 v19, v4
|
|
|
|
|
|
|
|
goto :goto_10
|
|
|
|
|
|
|
|
:cond_5a
|
|
|
|
move/from16 v18, v3
|
|
|
|
|
|
|
|
move/from16 v19, v4
|
|
|
|
|
|
|
|
const/16 v17, 0x0
|
|
|
|
|
|
|
|
:goto_10
|
|
|
|
if-nez v17, :cond_5c
|
|
|
|
|
|
|
|
if-eqz v16, :cond_5b
|
|
|
|
|
|
|
|
:try_start_2
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v14}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-class v3, Lkotlin/coroutines/Continuation;
|
|
|
|
|
|
|
|
if-ne v1, v3, :cond_5b
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iput-boolean v1, v2, Ls0/a0$a;->w:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
:try_end_2
|
|
|
|
.catch Ljava/lang/NoClassDefFoundError; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
|
|
|
|
const/16 v17, 0x0
|
|
|
|
|
|
|
|
goto :goto_11
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
:cond_5b
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "No Retrofit annotation found."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v5, v2, v1}, Ls0/h0;->l(Ljava/lang/reflect/Method;ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5c
|
|
|
|
:goto_11
|
|
|
|
aput-object v17, v6, v5
|
|
|
|
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
move/from16 v3, v18
|
|
|
|
|
|
|
|
move/from16 v4, v19
|
|
|
|
|
|
|
|
goto/16 :goto_5
|
|
|
|
|
|
|
|
:cond_5d
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->r:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_5f
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->m:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_5e
|
|
|
|
|
|
|
|
goto :goto_12
|
|
|
|
|
|
|
|
:cond_5e
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v2, v2, Ls0/a0$a;->n:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
|
|
|
const-string v2, "Missing either @%s URL or @Url parameter."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5f
|
|
|
|
:goto_12
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_61
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_61
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->o:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_61
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->h:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_60
|
|
|
|
|
|
|
|
goto :goto_13
|
|
|
|
|
|
|
|
:cond_60
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Non-body HTTP method cannot contain @Body."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_61
|
|
|
|
:goto_13
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->p:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_63
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v1, v2, Ls0/a0$a;->f:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_62
|
|
|
|
|
|
|
|
goto :goto_14
|
|
|
|
|
|
|
|
:cond_62
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Form-encoded method must contain at least one @Field."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_63
|
|
|
|
:goto_14
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->q:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_65
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v3, v2, Ls0/a0$a;->g:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_64
|
|
|
|
|
|
|
|
goto :goto_15
|
|
|
|
|
|
|
|
:cond_64
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Multipart method must contain at least one @Part."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, v2, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_65
|
|
|
|
:goto_15
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v3, Ls0/a0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v3, v2}, Ls0/a0;-><init>(Ls0/a0$a;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/reflect/Method;->getGenericReturnType()Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1}, Ls0/h0;->h(Ljava/lang/reflect/Type;)Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_71
|
|
|
|
|
|
|
|
sget-object v2, Ljava/lang/Void;->TYPE:Ljava/lang/Class;
|
|
|
|
|
|
|
|
if-eq v1, v2, :cond_70
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const-class v1, Ls0/b0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-boolean v2, v3, Ls0/a0;->k:Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
if-eqz v2, :cond_69
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/reflect/Method;->getGenericParameterTypes()[Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
array-length v6, v5
|
|
|
|
|
|
|
|
add-int/lit8 v6, v6, -0x1
|
|
|
|
|
|
|
|
aget-object v5, v5, v6
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-interface {v5}, Ljava/lang/reflect/ParameterizedType;->getActualTypeArguments()[Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
aget-object v5, v5, v6
|
|
|
|
|
|
|
|
instance-of v8, v5, Ljava/lang/reflect/WildcardType;
|
|
|
|
|
|
|
|
if-eqz v8, :cond_66
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/reflect/WildcardType;
|
|
|
|
|
|
|
|
invoke-interface {v5}, Ljava/lang/reflect/WildcardType;->getLowerBounds()[Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
aget-object v5, v5, v6
|
|
|
|
|
|
|
|
:cond_66
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v5}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
if-ne v8, v1, :cond_67
|
|
|
|
|
|
|
|
instance-of v8, v5, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v8, :cond_67
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v5}, Ls0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
goto :goto_16
|
|
|
|
|
|
|
|
:cond_67
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
:goto_16
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v9, Ls0/h0$b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const-class v10, Ls0/d;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v11, 0x1
|
|
|
|
|
|
|
|
new-array v12, v11, [Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
aput-object v5, v12, v6
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v9, v5, v10, v12}, Ls0/h0$b;-><init>(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const-class v5, Ls0/f0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v4, v5}, Ls0/h0;->i([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_68
|
|
|
|
|
|
|
|
goto :goto_17
|
|
|
|
|
|
|
|
:cond_68
|
|
|
|
array-length v5, v4
|
|
|
|
|
|
|
|
add-int/2addr v5, v11
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/annotation/Annotation;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
sget-object v10, Ls0/g0;->a:Ls0/f0;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
aput-object v10, v5, v6
|
|
|
|
|
|
|
|
array-length v10, v4
|
|
|
|
|
|
|
|
invoke-static {v4, v6, v5, v11, v10}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
|
|
|
|
move-object v4, v5
|
|
|
|
|
|
|
|
goto :goto_17
|
|
|
|
|
|
|
|
:cond_69
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/reflect/Method;->getGenericReturnType()Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
:goto_17
|
|
|
|
:try_start_3
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v0, v9, v4}, Ls0/d0;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/e;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
:try_end_3
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_3 .. :try_end_3} :catch_4
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-interface {v5}, Ls0/e;->a()Ljava/lang/reflect/Type;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-class v6, Lokhttp3/Response;
|
|
|
|
|
|
|
|
if-eq v4, v6, :cond_6f
|
|
|
|
|
|
|
|
if-eq v4, v1, :cond_6e
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v3, Ls0/a0;->c:Ljava/lang/String;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_6b
|
|
|
|
|
|
|
|
const-class v1, Ljava/lang/Void;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_6a
|
|
|
|
|
|
|
|
goto :goto_18
|
|
|
|
|
|
|
|
:cond_6a
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v1, "HEAD method must use Void as response type."
|
|
|
|
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v1, v0}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_6b
|
|
|
|
:goto_18
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:try_start_4
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v0, v4, v1}, Ls0/d0;->d(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ls0/h;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
:try_end_4
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_4 .. :try_end_4} :catch_3
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v0, v0, Ls0/d0;->b:Lo0/f$a;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
if-nez v2, :cond_6c
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v1, Ls0/j$a;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v1, v3, v0, v4, v5}, Ls0/j$a;-><init>(Ls0/a0;Lo0/f$a;Ls0/h;Ls0/e;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_19
|
|
|
|
|
|
|
|
:cond_6c
|
|
|
|
if-eqz v8, :cond_6d
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v1, Ls0/j$c;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct {v1, v3, v0, v4, v5}, Ls0/j$c;-><init>(Ls0/a0;Lo0/f$a;Ls0/h;Ls0/e;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
goto :goto_19
|
|
|
|
|
|
|
|
:cond_6d
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v7, Ls0/j$b;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
move-object v1, v7
|
|
|
|
|
|
|
|
move-object v2, v3
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-direct/range {v1 .. v6}, Ls0/j$b;-><init>(Ls0/a0;Lo0/f$a;Ls0/h;Ls0/e;Z)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
:goto_19
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catch_3
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aput-object v4, v0, v2
|
|
|
|
|
|
|
|
const-string v2, "Unable to create converter for %s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v1, v2, v0}, Ls0/h0;->k(Ljava/lang/reflect/Method;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_6e
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v1, "Response must include generic type (e.g., Response<String>)"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v1, v0}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_6f
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
|
|
|
const-string v0, "\'"
|
|
|
|
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v4}, Ls0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "\' is not a valid response body type. Did you mean ResponseBody?"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v0, v1}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catch_4
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v9, v2, v0
|
|
|
|
|
|
|
|
const-string v0, "Unable to create call adapter for %s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v1, v0, v2}, Ls0/h0;->k(Ljava/lang/reflect/Method;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_70
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v1, "Service methods cannot return void."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v1, v0}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_71
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v1, v2, v0
|
|
|
|
|
|
|
|
const-string v0, "Method return type must not include a type variable or wildcard: %s"
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v6, v0, v2}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_72
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v2, Ls0/a0$a;->b:Ljava/lang/reflect/Method;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "HTTP method annotation is required (e.g., @GET, @POST, etc.)."
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v1, v2, v0}, Ls0/h0;->j(Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|