apkfuckery/com.discord/smali_classes2/a0/r$a.smali

2998 lines
67 KiB
Smali
Raw Normal View History

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