2020-04-27 20:53:11 +00:00
|
|
|
.class public final Le0/r$a;
|
2020-02-20 19:33:18 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ServiceMethod.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-04-27 20:53:11 +00:00
|
|
|
value = Le0/r;
|
2020-02-20 19:33:18 +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
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public final a:Le0/q;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public u:[Le0/l;
|
2020-02-20 19:33:18 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"[",
|
2020-04-27 20:53:11 +00:00
|
|
|
"Le0/l<",
|
2020-02-20 19:33:18 +00:00
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public v:Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-04-27 20:53:11 +00:00
|
|
|
"Le0/e<",
|
|
|
|
"Lb0/z;",
|
2020-02-20 19:33:18 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public w:Le0/c;
|
2020-02-20 19:33:18 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-04-27 20:53:11 +00:00
|
|
|
"Le0/c<",
|
2020-02-20 19:33:18 +00:00
|
|
|
"TT;TR;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public constructor <init>(Le0/q;Ljava/lang/reflect/Method;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p2, p0, Le0/r$a;->b:Ljava/lang/reflect/Method;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getGenericParameterTypes()[Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le0/r$a;->e:[Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getParameterAnnotations()[[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le0/r$a;->d:[[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-04-27 20:53:11 +00:00
|
|
|
.method public a()Le0/r;
|
2020-02-20 19:33:18 +00:00
|
|
|
.locals 19
|
|
|
|
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->b:Ljava/lang/reflect/Method;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/reflect/Method;->getGenericReturnType()Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2}, Le0/s;->d(Ljava/lang/reflect/Type;)Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->b:Ljava/lang/reflect/Method;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:try_start_0
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v6, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v6, v2, v0}, Le0/q;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/c;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v0, v1, Le0/r$a;->w:Le0/c;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->w:Le0/c;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v0}, Le0/c;->a()Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v0, v1, Le0/r$a;->f:Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->f:Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
const-class v2, Le0/o;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eq v0, v2, :cond_64
|
|
|
|
|
|
|
|
const-class v2, Lokhttp3/Response;
|
|
|
|
|
|
|
|
if-eq v0, v2, :cond_64
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->b:Ljava/lang/reflect/Method;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:try_start_1
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v6, v1, Le0/r$a;->f:Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v2, v6, v0}, Le0/q;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v0, v1, Le0/r$a;->v:Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
array-length v2, v0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v6, v2, :cond_11
|
|
|
|
|
|
|
|
aget-object v7, v0, v6
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/b;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/b;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/b;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "DELETE"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v5}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/e;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "GET"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v5}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_1
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/f;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_3
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/f;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/f;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "HEAD"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v5}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const-class v7, Ljava/lang/Void;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v8, v1, Le0/r$a;->f:Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/l;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/l;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/l;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "PATCH"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v4}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/m;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/m;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/m;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "POST"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v4}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/n;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/n;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/n;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "PUT"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v4}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_7
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/k;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "OPTIONS"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v7, v5}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/g;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_8
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/g;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/g;->method()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/g;->path()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/g;->hasBody()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v8, v9, v7}, Le0/r$a;->a(Ljava/lang/String;Ljava/lang/String;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_3
|
|
|
|
|
|
|
|
:cond_8
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v8, v7, Le0/v/i;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_e
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v7, Le0/v/i;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v7}, Le0/v/i;->value()[Ljava/lang/String;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v12, v1, Le0/r$a;->s:Lokhttp3/MediaType;
|
2020-02-20 19:33:18 +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"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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\""
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
invoke-virtual {v8}, Lokhttp3/Headers$a;->a()Lokhttp3/Headers;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v7, v1, Le0/r$a;->r:Lokhttp3/Headers;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
new-array v0, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "@Headers annotation is empty."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_e
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v7, v7, Le0/v/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_10
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v7, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v7, :cond_f
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v4, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
new-array v0, v5, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v2, "Only one encoding annotation is allowed."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
:goto_3
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_11
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->m:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_63
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->n:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_14
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_13
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +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)."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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)."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
:goto_4
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->d:[[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-array v2, v0, [Le0/l;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object v2, v1, Le0/r$a;->u:[Le0/l;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-ge v2, v0, :cond_5a
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v6, v1, Le0/r$a;->e:[Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
aget-object v6, v6, v2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->d(Ljava/lang/reflect/Type;)Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-nez v7, :cond_59
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v7, v1, Le0/r$a;->d:[[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
aget-object v7, v7, v2
|
|
|
|
|
|
|
|
const-string v8, "No Retrofit annotation found."
|
|
|
|
|
|
|
|
if-eqz v7, :cond_58
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v9, v1, Le0/r$a;->u:[Le0/l;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v14, v12, Le0/v/v;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const-string v15, "@Path parameters may not be used with @Url."
|
|
|
|
|
|
|
|
if-eqz v14, :cond_1b
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v12, v1, Le0/r$a;->l:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v12, :cond_1a
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v12, v1, Le0/r$a;->j:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v12, :cond_19
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v12, v1, Le0/r$a;->k:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v12, :cond_18
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v12, v1, Le0/r$a;->q:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v12, :cond_17
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v4, v1, Le0/r$a;->l:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
const-class v4, Lb0/u;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_16
|
|
|
|
:goto_7
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/l$l;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4}, Le0/l$l;-><init>()V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
new-array v0, v4, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v1, Le0/r$a;->m:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
aput-object v3, v0, v5
|
|
|
|
|
|
|
|
const-string v3, "@Url cannot be used with @%s URL"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
new-array v0, v5, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v15, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1b
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v5, v12, Le0/v/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 v14, 0x2
|
|
|
|
|
|
|
|
if-eqz v5, :cond_21
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v5, v1, Le0/r$a;->k:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v5, :cond_20
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v5, v1, Le0/r$a;->l:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v5, :cond_1f
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->q:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v5, :cond_1e
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v4, v1, Le0/r$a;->j:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/q;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v13, Le0/r;->n:Ljava/util/regex/Pattern;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v13, v1, Le0/r$a;->t:Ljava/util/Set;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
invoke-interface {v13, v5}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_1c
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v4, v6, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$g;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/q;->encoded()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v5, v4, v12}, Le0/l$g;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:goto_8
|
|
|
|
move-object v12, v13
|
|
|
|
|
|
|
|
goto/16 :goto_b
|
|
|
|
|
|
|
|
:cond_1c
|
|
|
|
new-array v0, v14, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v1, Le0/r$a;->q:Ljava/lang/String;
|
2020-02-20 19:33:18 +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}\"."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1d
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v3, v14, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v6, Le0/r;->m:Ljava/util/regex/Pattern;
|
2020-02-20 19:33:18 +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"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1e
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v3, v4, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v1, Le0/r$a;->m:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
aput-object v4, v3, v0
|
|
|
|
|
|
|
|
const-string v0, "@Path can only be used with relative url on @%s"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1f
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v15, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_21
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v5, v12, Le0/v/r;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const-string v14, "<String>)"
|
|
|
|
|
|
|
|
const-string v15, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
if-eqz v5, :cond_25
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/r;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/r;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/r;->encoded()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v4, v1, Le0/r$a;->k:Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v13, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v13, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v13, v4, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$h;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v5, v4, v12}, Le0/l$h;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v13}, Le0/j;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le0/r;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v13, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v13, v4, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$h;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v5, v4, v12}, Le0/l$h;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v13}, Le0/k;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:goto_9
|
|
|
|
move-object v12, v4
|
|
|
|
|
|
|
|
goto/16 :goto_b
|
|
|
|
|
|
|
|
:cond_24
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v4, v6, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$h;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v5, v4, v12}, Le0/l$h;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-object v4, v13
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_25
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v12, Le0/v/t;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_29
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/t;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/t;->encoded()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const/4 v12, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v12, v1, Le0/r$a;->k:Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v12, v5}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v12, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v12, v5, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/l$j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v5, v4}, Le0/l$j;-><init>(Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v12}, Le0/j;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5}, Le0/r;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v12, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v12, v5, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/l$j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v5, v4}, Le0/l$j;-><init>(Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v12}, Le0/k;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_28
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v5, v6, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/l$j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v5, v4}, Le0/l$j;-><init>(Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-object v4, v12
|
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_29
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v12, Le0/v/s;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const-string v5, "Map must include generic types (e.g., Map<String, String>)"
|
|
|
|
|
|
|
|
if-eqz v4, :cond_2d
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6, v4, v13}, Le0/s;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const-class v13, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v13, v5, :cond_2a
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v5, v4, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/l$i;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/s;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/s;->encoded()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v4, v12}, Le0/l$i;-><init>(Le0/e;Z)V
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2b
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v5, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2d
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v12, Le0/v/h;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_31
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/h;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/h;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v12, v5}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v12, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v12, v5, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/l$d;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v4, v5}, Le0/l$d;-><init>(Ljava/lang/String;Le0/e;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v12}, Le0/j;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5}, Le0/r;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v12, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v12, v5, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/l$d;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v4, v5}, Le0/l$d;-><init>(Ljava/lang/String;Le0/e;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v12}, Le0/k;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_30
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v5, v6, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/l$d;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v4, v5}, Le0/l$d;-><init>(Ljava/lang/String;Le0/e;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_b
|
|
|
|
|
|
|
|
:cond_31
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v12, Le0/v/c;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_36
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v4, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_35
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/c;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/c;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/c;->encoded()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const/4 v12, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v12, v1, Le0/r$a;->g:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v13, v12}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v13, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v13, v12, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$b;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v4, v12, v5}, Le0/l$b;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v13}, Le0/j;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v12}, Le0/r;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v13, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v13, v12, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$b;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v4, v12, v5}, Le0/l$b;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v13}, Le0/k;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_34
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v12, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v12, v6, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v13, Le0/l$b;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v13, v4, v12, v5}, Le0/l$b;-><init>(Ljava/lang/String;Le0/e;Z)V
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_36
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v12, Le0/v/d;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_3b
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v4, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_3a
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6, v4, v13}, Le0/s;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
const-class v13, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v13, v5, :cond_37
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v13, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v13, v4, v7}, Le0/q;->c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v5, v1, Le0/r$a;->g:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/l$c;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/d;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/d;->encoded()Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v4, v12}, Le0/l$c;-><init>(Le0/e;Z)V
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_38
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v5, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3b
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v4, v12, Le0/v/o;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_4a
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v4, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_49
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/o;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v4, v1, Le0/r$a;->h:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/o;->value()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v4, Le0/l$k;->a:Le0/l$k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v4}, Le0/j;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-object v4, v5
|
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_3c
|
|
|
|
new-array v0, v5, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v12, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v4, Le0/l$k;->a:Le0/l$k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v4}, Le0/k;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:goto_a
|
|
|
|
move-object v12, v5
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_3f
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v12, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object v5, Le0/l$k;->a:Le0/l$k;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v12, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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, "\""
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v10, v4, v8}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/o;->encoding()Ljava/lang/String;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v4}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v8, v1, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v5, v4, v7, v8}, Le0/q;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/l$e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v0, v4}, Le0/l$e;-><init>(Lokhttp3/Headers;Le0/e;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/j;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v5}, Le0/j;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_d
|
|
|
|
|
|
|
|
:cond_43
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v8, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4}, Le0/r;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v8, v1, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v5, v4, v7, v8}, Le0/q;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/l$e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v0, v4}, Le0/l$e;-><init>(Lokhttp3/Headers;Le0/e;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v12, Le0/k;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v12, v5}, Le0/k;-><init>(Le0/l;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto/16 :goto_d
|
|
|
|
|
|
|
|
:cond_46
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v8, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v4, v6, v7, v5}, Le0/q;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v5, Le0/l$e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v5, v0, v4}, Le0/l$e;-><init>(Lokhttp3/Headers;Le0/e;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-object v12, v5
|
|
|
|
|
|
|
|
goto/16 :goto_d
|
|
|
|
|
|
|
|
:cond_48
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v8, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4a
|
|
|
|
move/from16 v17, v0
|
|
|
|
|
|
|
|
move-object/from16 v18, v8
|
|
|
|
|
|
|
|
move/from16 v16, v10
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v0, v12, Le0/v/p;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_50
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_4f
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v0, v1, Le0/r$a;->h:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v6, v0, v4}, Le0/s;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4, v0}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-class v5, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v5, v4, :cond_4c
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v4, v0}, Le0/s;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v5, v1, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v4, v0, v7, v5}, Le0/q;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v12, Le0/v/p;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/l$f;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-interface {v12}, Le0/v/p;->encoding()Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v0, v5}, Le0/l$f;-><init>(Le0/e;Ljava/lang/String;)V
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4d
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v5, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_50
|
2020-04-27 20:53:11 +00:00
|
|
|
instance-of v0, v12, Le0/v/a;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_53
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_52
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_52
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->i:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_51
|
|
|
|
|
|
|
|
:try_start_2
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, v1, Le0/r$a;->a:Le0/q;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v4, v1, Le0/r$a;->c:[Ljava/lang/annotation/Annotation;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v0, v6, v7, v4}, Le0/q;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Le0/e;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean v4, v1, Le0/r$a;->i:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v4, Le0/l$a;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v4, v0}, Le0/l$a;-><init>(Le0/e;)V
|
2020-02-20 19:33:18 +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 #"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v5, v6}, Le/e/b/a/a;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v0, v2, v4}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v3, v0}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v2, v0, v3}, Le0/r$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5a
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, v1, Le0/r$a;->q:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v2, :cond_5c
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v2, v1, Le0/r$a;->l:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_5b
|
|
|
|
|
|
|
|
goto :goto_f
|
|
|
|
|
|
|
|
:cond_5b
|
|
|
|
new-array v2, v4, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v1, Le0/r$a;->m:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
aput-object v3, v2, v0
|
|
|
|
|
|
|
|
const-string v0, "Missing either @%s URL or @Url parameter."
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v0, v2}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5c
|
|
|
|
:goto_f
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_5e
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_5e
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->n:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_5e
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->i:Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5e
|
|
|
|
:goto_10
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->o:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_60
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->g:Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_60
|
|
|
|
:goto_11
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->p:Z
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_62
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-boolean v0, v1, Le0/r$a;->h:Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_62
|
|
|
|
:goto_12
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v0, Le0/r;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v0, v1}, Le0/r;-><init>(Le0/r$a;)V
|
2020-02-20 19:33:18 +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.)."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v3, v1, Le0/r$a;->f:Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
|
|
|
|
const-string v3, "Unable to create converter for %s"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v0, v3, v2}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_64
|
|
|
|
const-string v0, "\'"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v2, v1, Le0/r$a;->f:Ljava/lang/reflect/Type;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2}, Le0/s;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
2020-02-20 19:33:18 +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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v0, v2}, Le0/r$a;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v0, v2, v4}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v2, v0}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +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"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {v1, v3, v0, v4}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final varargs a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, " (parameter #"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p2, v0}, Le/e/b/a/a;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, p1, p3}, Le0/r$a;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v0, p1, p2}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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 "
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {p2, v0}, Le/e/b/a/a;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le0/r$a;->b:Ljava/lang/reflect/Method;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le0/r$a;->b:Ljava/lang/reflect/Method;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.method public final a(Ljava/lang/String;Ljava/lang/String;Z)V
|
|
|
|
.locals 4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iget-object v0, p0, Le0/r$a;->m:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p1, p0, Le0/r$a;->m:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-boolean p3, p0, Le0/r$a;->n:Z
|
2020-02-20 19:33:18 +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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p3, Le0/r;->m:Ljava/util/regex/Pattern;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v1, p1, p2}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p2, p0, Le0/r$a;->q:Ljava/lang/String;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
sget-object p1, Le0/r;->m:Ljava/util/regex/Pattern;
|
2020-02-20 19:33:18 +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
|
2020-04-27 20:53:11 +00:00
|
|
|
iput-object p2, p0, Le0/r$a;->t:Ljava/util/Set;
|
2020-02-20 19:33:18 +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."
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-virtual {p0, v1, p1, p2}, Le0/r$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|