2019-02-04 20:08:30 +00:00
|
|
|
.class final Lb/o$a;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lb/o;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-02-04 20:20:43 +00:00
|
|
|
.field bZC:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field bZz:Lokhttp3/MediaType;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clH:Lb/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lb/c<",
|
|
|
|
"TT;TR;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clI:Lb/e;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lb/e<",
|
|
|
|
"Lokhttp3/x;",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clJ:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clK:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clL:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clM:[Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"[",
|
|
|
|
"Lb/j<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field final clN:Lb/n;
|
|
|
|
|
|
|
|
.field final clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field final clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field final clQ:[[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field final clR:[Ljava/lang/reflect/Type;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clS:Ljava/lang/reflect/Type;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clT:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
.field clU:Z
|
|
|
|
|
|
|
|
.field clV:Z
|
|
|
|
|
|
|
|
.field clW:Z
|
|
|
|
|
|
|
|
.field clX:Z
|
|
|
|
|
|
|
|
.field clY:Z
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clZ:Ljava/util/Set;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
.field clo:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field clr:Z
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lb/n;Ljava/lang/reflect/Method;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p2, p0, Lb/o$a;->clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p1, p0, Lb/o$a;->clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getGenericParameterTypes()[Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p1, p0, Lb/o$a;->clR:[Ljava/lang/reflect/Type;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getParameterAnnotations()[[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p1, p0, Lb/o$a;->clQ:[[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(ILjava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljava/lang/annotation/Annotation;)Lb/j;
|
|
|
|
.locals 8
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(I",
|
|
|
|
"Ljava/lang/reflect/Type;",
|
|
|
|
"[",
|
|
|
|
"Ljava/lang/annotation/Annotation;",
|
|
|
|
"Ljava/lang/annotation/Annotation;",
|
|
|
|
")",
|
|
|
|
"Lb/j<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
instance-of v0, p4, Lb/c/x;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean p3, p0, Lb/o$a;->clY:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p3, :cond_5
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean p3, p0, Lb/o$a;->clW:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p3, :cond_4
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean p3, p0, Lb/o$a;->clX:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p3, :cond_3
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p3, p0, Lb/o$a;->clo:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p3, :cond_2
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clY:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-class p3, Lokhttp3/s;
|
|
|
|
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
|
|
|
|
const-class p3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
|
|
|
|
const-class p3, Ljava/net/URI;
|
|
|
|
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
|
|
|
|
instance-of p3, p2, Ljava/lang/Class;
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const-string p3, "android.net.Uri"
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/Class;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Url must be okhttp3.HttpUrl, String, java.net.URI, or android.net.Uri type."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
new-instance p1, Lb/j$m;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lb/j$m;-><init>()V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-array p2, v1, [Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p3, p0, Lb/o$a;->clJ:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput-object p3, p2, v2
|
|
|
|
|
|
|
|
const-string p3, "@Url cannot be used with @%s URL"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "A @Url parameter must not come after a @Query"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Path parameters may not be used with @Url."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Multiple @Url method annotations found."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
instance-of v0, p4, Lb/c/s;
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean v0, p0, Lb/o$a;->clX:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_b
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean v0, p0, Lb/o$a;->clY:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_a
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clo:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clW:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
check-cast p4, Lb/c/s;
|
|
|
|
|
|
|
|
invoke-interface {p4}, Lb/c/s;->value()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
sget-object v4, Lb/o;->clG:Ljava/util/regex/Pattern;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v4, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v4, p0, Lb/o$a;->clZ:Ljava/util/Set;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v4, v0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$h;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/s;->Kq()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p3}, Lb/j$h;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
new-array p2, v3, [Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p3, p0, Lb/o$a;->clo:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput-object p3, p2, v2
|
|
|
|
|
|
|
|
aput-object v0, p2, v1
|
|
|
|
|
|
|
|
const-string p3, "URL \"%s\" does not contain \"{%s}\"."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
new-array p2, v3, [Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
sget-object p3, Lb/o;->clF:Ljava/util/regex/Pattern;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p3}, Ljava/util/regex/Pattern;->pattern()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
aput-object p3, p2, v2
|
|
|
|
|
|
|
|
aput-object v0, p2, v1
|
|
|
|
|
|
|
|
const-string p3, "@Path parameter name must match %s. Found: %s"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
new-array p2, v1, [Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p3, p0, Lb/o$a;->clJ:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput-object p3, p2, v2
|
|
|
|
|
|
|
|
const-string p3, "@Path can only be used with relative url on @%s"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Path parameters may not be used with @Url."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "A @Path parameter must not come after a @Query."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
instance-of v0, p4, Lb/c/t;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_10
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/t;
|
|
|
|
|
|
|
|
invoke-interface {p4}, Lb/c/t;->value()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/t;->Kq()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p4
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clX:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-class v1, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_e
|
|
|
|
|
|
|
|
instance-of v1, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_d
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$i;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p4}, Lb/j$i;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$i;->Kf()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "<String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_f
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lb/o;->ao(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$i;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p4}, Lb/j$i;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$i;->Kg()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_f
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$i;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p4}, Lb/j$i;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
instance-of v0, p4, Lb/c/v;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_14
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/v;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/v;->Kq()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p4
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clX:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-class v1, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_12
|
|
|
|
|
|
|
|
instance-of v1, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_11
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$k;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1, p4}, Lb/j$k;-><init>(Lb/e;Z)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$k;->Kf()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "<String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_13
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lb/o;->ao(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$k;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1, p4}, Lb/j$k;-><init>(Lb/e;Z)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$k;->Kg()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_13
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$k;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1, p4}, Lb/j$k;-><init>(Lb/e;Z)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
instance-of v0, p4, Lb/c/u;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_18
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_17
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-static {p2, v0, v3}, Lb/p;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
instance-of v0, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_16
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v3, v0, :cond_15
|
|
|
|
|
|
|
|
invoke-static {v1, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$j;
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/u;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/u;->Kq()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-direct {p2, p1, p3}, Lb/j$j;-><init>(Lb/e;Z)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p3, "@QueryMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_16
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Map must include generic types (e.g., Map<String, String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@QueryMap parameter type must be Map."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
instance-of v0, p4, Lb/c/i;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1c
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/i;
|
|
|
|
|
|
|
|
invoke-interface {p4}, Lb/c/i;->value()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v1, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1a
|
|
|
|
|
|
|
|
instance-of v1, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_19
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$d;
|
|
|
|
|
|
|
|
invoke-direct {p2, p4, p1}, Lb/j$d;-><init>(Ljava/lang/String;Lb/e;)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$d;->Kf()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "<String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1a
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1b
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lb/o;->ao(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$d;
|
|
|
|
|
|
|
|
invoke-direct {p2, p4, p1}, Lb/j$d;-><init>(Ljava/lang/String;Lb/e;)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$d;->Kg()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_1b
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$d;
|
|
|
|
|
|
|
|
invoke-direct {p2, p4, p1}, Lb/j$d;-><init>(Ljava/lang/String;Lb/e;)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_1c
|
|
|
|
instance-of v0, p4, Lb/c/j;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_20
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
|
|
|
const-class v0, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1f
|
|
|
|
|
|
|
|
const-class v0, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-static {p2, p4, v0}, Lb/p;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
instance-of p4, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1e
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
|
|
|
const-class v0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v0, p4, :cond_1d
|
|
|
|
|
|
|
|
invoke-static {v1, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$e;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1}, Lb/j$e;-><init>(Lb/e;)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_1d
|
|
|
|
invoke-static {p4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p3, "@HeaderMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1e
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Map must include generic types (e.g., Map<String, String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1f
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@HeaderMap parameter type must be Map."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_20
|
|
|
|
instance-of v0, p4, Lb/c/c;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_25
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean v0, p0, Lb/o$a;->clK:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_24
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/c;
|
|
|
|
|
|
|
|
invoke-interface {p4}, Lb/c/c;->value()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/c;->Kq()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p4
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clT:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-class v3, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_22
|
|
|
|
|
|
|
|
instance-of v3, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_21
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$b;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p4}, Lb/j$b;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$b;->Kf()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_21
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "<String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_22
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_23
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lb/o;->ao(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$b;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p4}, Lb/j$b;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$b;->Kg()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_23
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$b;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0, p1, p4}, Lb/j$b;-><init>(Ljava/lang/String;Lb/e;Z)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_24
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Field parameters can only be used with form encoding."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_25
|
|
|
|
instance-of v0, p4, Lb/c/d;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2a
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean v0, p0, Lb/o$a;->clK:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_29
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_28
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-static {p2, v0, v3}, Lb/p;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
instance-of v0, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_27
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v3, v0, :cond_26
|
|
|
|
|
|
|
|
invoke-static {v1, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clT:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p2, Lb/j$c;
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/d;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/d;->Kq()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-direct {p2, p1, p3}, Lb/j$c;-><init>(Lb/e;Z)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_26
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p3, "@FieldMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_27
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Map must include generic types (e.g., Map<String, String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_28
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@FieldMap parameter type must be Map."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_29
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@FieldMap parameters can only be used with form encoding."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2a
|
|
|
|
instance-of v0, p4, Lb/c/q;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_39
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean v0, p0, Lb/o$a;->clL:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_38
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/q;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clU:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {p4}, Lb/c/q;->value()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_31
|
|
|
|
|
|
|
|
const-class p3, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {p3, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
if-eqz p3, :cond_2d
|
|
|
|
|
|
|
|
instance-of p3, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz p3, :cond_2c
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-class p3, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2b
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
sget-object p1, Lb/j$l;->cll:Lb/j$l;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p1}, Lb/j$l;->Kf()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_2b
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part annotation must supply a name or use MultipartBody.Part parameter type."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2c
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "<String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2d
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2f
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-class p3, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2e
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
sget-object p1, Lb/j$l;->cll:Lb/j$l;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p1}, Lb/j$l;->Kg()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_2e
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part annotation must supply a name or use MultipartBody.Part parameter type."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2f
|
|
|
|
const-class p2, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-virtual {p2, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_30
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
sget-object p1, Lb/j$l;->cll:Lb/j$l;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_30
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part annotation must supply a name or use MultipartBody.Part parameter type."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_31
|
|
|
|
const/4 v5, 0x4
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v6, "Content-Disposition"
|
|
|
|
|
|
|
|
aput-object v6, v5, v2
|
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v7, "form-data; name=\""
|
|
|
|
|
|
|
|
invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, "\""
|
|
|
|
|
|
|
|
invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
aput-object v0, v5, v1
|
|
|
|
|
|
|
|
const-string v0, "Content-Transfer-Encoding"
|
|
|
|
|
|
|
|
aput-object v0, v5, v3
|
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/q;->Kt()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
|
|
|
aput-object p4, v5, v0
|
|
|
|
|
|
|
|
invoke-static {v5}, Lokhttp3/Headers;->f([Ljava/lang/String;)Lokhttp3/Headers;
|
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
|
|
|
const-class v0, Ljava/lang/Iterable;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_34
|
|
|
|
|
|
|
|
instance-of v0, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_33
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-class v0, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_32
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3, v0}, Lb/n;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$f;
|
|
|
|
|
|
|
|
invoke-direct {p2, p4, p1}, Lb/j$f;-><init>(Lokhttp3/Headers;Lb/e;)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$f;->Kf()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_32
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part parameters using the MultipartBody.Part must not include a part name in the annotation."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_33
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, " must include generic type (e.g., "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "<String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_34
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->isArray()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_36
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/o;->ao(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-class v0, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_35
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3, v0}, Lb/n;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$f;
|
|
|
|
|
|
|
|
invoke-direct {p2, p4, p1}, Lb/j$f;-><init>(Lokhttp3/Headers;Lb/e;)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p2}, Lb/j$f;->Kg()Lb/j;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_35
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part parameters using the MultipartBody.Part must not include a part name in the annotation."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_36
|
|
|
|
const-class v0, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_37
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3, v0}, Lb/n;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$f;
|
|
|
|
|
|
|
|
invoke-direct {p2, p4, p1}, Lb/j$f;-><init>(Lokhttp3/Headers;Lb/e;)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_37
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part parameters using the MultipartBody.Part must not include a part name in the annotation."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_38
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Part parameters can only be used with multipart encoding."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_39
|
|
|
|
instance-of v0, p4, Lb/c/r;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3f
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean v0, p0, Lb/o$a;->clL:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_3e
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clU:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_3d
|
|
|
|
|
|
|
|
const-class v3, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-static {p2, v0, v3}, Lb/p;->b(Ljava/lang/reflect/Type;Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
instance-of v0, p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3c
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/reflect/ParameterizedType;
|
|
|
|
|
|
|
|
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-class v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-ne v3, v0, :cond_3b
|
|
|
|
|
|
|
|
invoke-static {v1, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-class v0, Lokhttp3/MultipartBody$Part;
|
|
|
|
|
|
|
|
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_3a
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p1, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3, v0}, Lb/n;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p4, Lb/c/r;
|
|
|
|
|
|
|
|
new-instance p2, Lb/j$g;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-interface {p4}, Lb/c/r;->Kt()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-direct {p2, p1, p3}, Lb/j$g;-><init>(Lb/e;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_3a
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@PartMap values cannot be MultipartBody.Part. Use @Part List<Part> or a different value type instead."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3b
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p3, "@PartMap keys must be of type String: "
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array p3, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3c
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Map must include generic types (e.g., Map<String, String>)"
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3d
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@PartMap parameter type must be Map."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3e
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@PartMap parameters can only be used with multipart encoding."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3f
|
|
|
|
instance-of p4, p4, Lb/c/a;
|
|
|
|
|
|
|
|
if-eqz p4, :cond_42
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean p4, p0, Lb/o$a;->clK:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p4, :cond_41
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean p4, p0, Lb/o$a;->clL:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p4, :cond_41
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-boolean p4, p0, Lb/o$a;->clV:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p4, :cond_40
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p4, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clP:[Ljava/lang/annotation/Annotation;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p4, p2, p3, v0}, Lb/n;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean v1, p0, Lb/o$a;->clV:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Lb/j$a;
|
|
|
|
|
|
|
|
invoke-direct {p1, p3}, Lb/j$a;-><init>(Lb/e;)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p3
|
|
|
|
|
|
|
|
new-array p4, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object p2, p4, v2
|
|
|
|
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v0, "Unable to create @Body converter for %s"
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, " (parameter #"
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p1, ")"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p3, p1, p4}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_40
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Multiple @Body method annotations found."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_41
|
|
|
|
new-array p2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "@Body parameters cannot be used with form or multi-part encoding."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_42
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:17:36 +00:00
|
|
|
.method final Km()Lb/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 8
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lb/c<",
|
|
|
|
"TT;TR;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/reflect/Method;->getGenericReturnType()Ljava/lang/reflect/Type;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Lb/p;->k(Ljava/lang/reflect/Type;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
|
|
|
|
sget-object v1, Ljava/lang/Void;->TYPE:Ljava/lang/Class;
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v1, p0, Lb/o$a;->clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v5, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v6, "returnType == null"
|
|
|
|
|
|
|
|
invoke-static {v0, v6}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v6, "annotations == null"
|
|
|
|
|
|
|
|
invoke-static {v1, v6}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v1, v5, Lb/n;->clA:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/2addr v1, v4
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v2, v5, Lb/n;->clA:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
move v6, v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v6, v2, :cond_1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v7, v5, Lb/n;->clA:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v7, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
check-cast v7, Lb/c$a;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v0}, Lb/c$a;->j(Ljava/lang/reflect/Type;)Lb/c;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
if-eqz v7, :cond_0
|
|
|
|
|
|
|
|
return-object v7
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, "Could not locate call adapter for "
|
|
|
|
|
|
|
|
invoke-direct {v2, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, ".\n"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, " Tried:"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v6, v5, Lb/n;->clA:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v6}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v1, v6, :cond_2
|
|
|
|
|
|
|
|
const-string v7, "\n * "
|
|
|
|
|
|
|
|
invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v7, v5, Lb/n;->clA:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v7, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
check-cast v7, Lb/c$a;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
new-array v2, v4, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v0, v2, v3
|
|
|
|
|
|
|
|
const-string v0, "Unable to create call adapter for %s"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1, v0, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-array v0, v3, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v1, "Service methods cannot return void."
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2, v1, v0}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-array v1, v4, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v0, v1, v3
|
|
|
|
|
|
|
|
const-string v0, "Method return type must not include a type variable or wildcard: %s"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2, v0, v1}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method final Kn()Lb/e;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 8
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Lb/e<",
|
|
|
|
"Lokhttp3/x;",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v2, p0, Lb/o$a;->clN:Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v3, p0, Lb/o$a;->clS:Ljava/lang/reflect/Type;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v4, "type == null"
|
|
|
|
|
|
|
|
invoke-static {v3, v4}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string v4, "annotations == null"
|
|
|
|
|
|
|
|
invoke-static {v0, v4}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v4, v2, Lb/n;->clz:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
invoke-interface {v4, v5}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
add-int/2addr v4, v1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v5, v2, Lb/n;->clz:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v5}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
move v6, v4
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v6, v5, :cond_1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v7, v2, Lb/n;->clz:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v7, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
check-cast v7, Lb/e$a;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v3, v0}, Lb/e$a;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
if-eqz v7, :cond_0
|
|
|
|
|
|
|
|
return-object v7
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v5, "Could not locate ResponseBody converter for "
|
|
|
|
|
|
|
|
invoke-direct {v0, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, ".\n"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, " Tried:"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v3, v2, Lb/n;->clz:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v3}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v4, v3, :cond_2
|
|
|
|
|
|
|
|
const-string v5, "\n * "
|
|
|
|
|
|
|
|
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v5, v2, Lb/n;->clz:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v5, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
check-cast v5, Lb/e$a;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v2, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v2, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v3, p0, Lb/o$a;->clS:Ljava/lang/reflect/Type;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
|
|
|
|
const-string v2, "Unable to create converter for %s"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v2, v1}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final a(ILjava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/j;
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(I",
|
|
|
|
"Ljava/lang/reflect/Type;",
|
|
|
|
"[",
|
|
|
|
"Ljava/lang/annotation/Annotation;",
|
|
|
|
")",
|
|
|
|
"Lb/j<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
array-length v0, p3
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
move-object v3, v2
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v0, :cond_2
|
|
|
|
|
|
|
|
aget-object v4, p3, v2
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2, p3, v4}, Lb/o$a;->a(ILjava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljava/lang/annotation/Annotation;)Lb/j;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
|
|
|
|
move-object v3, v4
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-array p2, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "Multiple Retrofit annotations found, only one allowed."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
|
|
|
|
return-object v3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-array p2, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const-string p3, "No Retrofit annotation found."
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p3, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final varargs a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p2, " (parameter #"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p1, ")"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p2, p1, p3}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method 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;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p2, "\n for method "
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p2, "."
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p2, p0, Lb/o$a;->clO:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, 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 final f(Ljava/lang/String;Ljava/lang/String;Z)V
|
|
|
|
.locals 4
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object v0, p0, Lb/o$a;->clJ:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p1, p0, Lb/o$a;->clJ:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-boolean p3, p0, Lb/o$a;->clr:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/16 p1, 0x3f
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 p3, -0x1
|
|
|
|
|
|
|
|
if-eq p1, p3, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
sub-int/2addr p3, v3
|
|
|
|
|
|
|
|
if-ge p1, p3, :cond_2
|
|
|
|
|
|
|
|
add-int/2addr p1, v3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
sget-object p3, Lb/o;->clF:Ljava/util/regex/Pattern;
|
2019-02-04 20:08:30 +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."
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1, p1, p2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p2, p0, Lb/o$a;->clo:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Lb/o;->ff(Ljava/lang/String;)Ljava/util/Set;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object p1, p0, Lb/o$a;->clZ:Ljava/util/Set;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p2, 0x2
|
|
|
|
|
|
|
|
new-array p2, p2, [Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iget-object p3, p0, Lb/o$a;->clJ:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput-object p3, p2, v2
|
|
|
|
|
|
|
|
aput-object p1, p2, v3
|
|
|
|
|
|
|
|
const-string p1, "Only one HTTP method is allowed. Found: %s and %s."
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1, p1, p2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final h([Ljava/lang/String;)Lokhttp3/Headers;
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
|
|
|
|
|
|
|
|
array-length v1, p1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v3, v1, :cond_3
|
|
|
|
|
|
|
|
aget-object v4, p1, v3
|
|
|
|
|
|
|
|
const/16 v5, 0x3a
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const/4 v6, -0x1
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
if-eq v5, v6, :cond_2
|
|
|
|
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
sub-int/2addr v6, v8
|
|
|
|
|
|
|
|
if-eq v5, v6, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v4, v2, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-string v5, "Content-Type"
|
|
|
|
|
|
|
|
invoke-virtual {v5, v6}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
|
|
|
|
invoke-static {v4}, Lokhttp3/MediaType;->er(Ljava/lang/String;)Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
|
2019-02-04 20:20:43 +00:00
|
|
|
iput-object v5, p0, Lb/o$a;->bZz:Lokhttp3/MediaType;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-array p1, v8, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, p1, v2
|
|
|
|
|
|
|
|
const-string v0, "Malformed content type: %s"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v7, v0, p1}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v0, v6, v4}, Lokhttp3/Headers$a;->ah(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-array p1, v8, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object v4, p1, v2
|
|
|
|
|
|
|
|
const-string v0, "@Headers value must be in the form \"Name: Value\". Found: \"%s\""
|
|
|
|
|
|
|
|
invoke-virtual {p0, v7, v0, p1}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/Headers$a;->Hi()Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|