apkfuckery/com.discord/smali/b/o$a.smali
2019-10-29 00:46:47 +01:00

2649 lines
62 KiB
Smali

.class final Lb/o$a;
.super Ljava/lang/Object;
.source "ServiceMethod.java"
# 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
.field bEE:Ljava/lang/String;
.field bEH:Z
.field bEX:Lb/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/c<",
"TT;TR;>;"
}
.end annotation
.end field
.field bEY:Lb/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/e<",
"Lokhttp3/x;",
"TT;>;"
}
.end annotation
.end field
.field bEZ:Ljava/lang/String;
.field bFa:Z
.field bFb:Z
.field bFc:[Lb/j;
.annotation system Ldalvik/annotation/Signature;
value = {
"[",
"Lb/j<",
"*>;"
}
.end annotation
.end field
.field final bFd:Lb/n;
.field final bFe:[Ljava/lang/annotation/Annotation;
.field final bFf:[[Ljava/lang/annotation/Annotation;
.field final bFg:[Ljava/lang/reflect/Type;
.field bFh:Ljava/lang/reflect/Type;
.field bFi:Z
.field bFj:Z
.field bFk:Z
.field bFl:Z
.field bFm:Z
.field bFn:Z
.field bFo:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field final bhl:Ljava/lang/reflect/Method;
.field brA:Lokhttp3/Headers;
.field brx:Lokhttp3/MediaType;
# direct methods
.method constructor <init>(Lb/n;Ljava/lang/reflect/Method;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lb/o$a;->bFd:Lb/n;
iput-object p2, p0, Lb/o$a;->bhl:Ljava/lang/reflect/Method;
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
move-result-object p1
iput-object p1, p0, Lb/o$a;->bFe:[Ljava/lang/annotation/Annotation;
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getGenericParameterTypes()[Ljava/lang/reflect/Type;
move-result-object p1
iput-object p1, p0, Lb/o$a;->bFg:[Ljava/lang/reflect/Type;
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getParameterAnnotations()[[Ljava/lang/annotation/Annotation;
move-result-object p1
iput-object p1, p0, Lb/o$a;->bFf:[[Ljava/lang/annotation/Annotation;
return-void
.end method
.method private a(ILjava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljava/lang/annotation/Annotation;)Lb/j;
.locals 10
.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-string v1, "@Path parameters may not be used with @Url."
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v0, :cond_6
iget-boolean p3, p0, Lb/o$a;->bFn:Z
if-nez p3, :cond_5
iget-boolean p3, p0, Lb/o$a;->bFl:Z
if-nez p3, :cond_4
iget-boolean p3, p0, Lb/o$a;->bFm:Z
if-nez p3, :cond_3
iget-object p3, p0, Lb/o$a;->bEE:Ljava/lang/String;
if-nez p3, :cond_2
iput-boolean v2, p0, Lb/o$a;->bFn:Z
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
check-cast p2, Ljava/lang/Class;
invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p2
const-string p3, "android.net.Uri"
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, v3, [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, v2, [Ljava/lang/Object;
iget-object p3, p0, Lb/o$a;->bEZ:Ljava/lang/String;
aput-object p3, p2, v3
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, v3, [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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v1, 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, v3, [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 v4, 0x2
if-eqz v0, :cond_c
iget-boolean v0, p0, Lb/o$a;->bFm:Z
if-nez v0, :cond_b
iget-boolean v0, p0, Lb/o$a;->bFn:Z
if-nez v0, :cond_a
iget-object v0, p0, Lb/o$a;->bEE:Ljava/lang/String;
if-eqz v0, :cond_9
iput-boolean v2, p0, Lb/o$a;->bFl:Z
check-cast p4, Lb/c/s;
invoke-interface {p4}, Lb/c/s;->value()Ljava/lang/String;
move-result-object v0
sget-object v1, Lb/o;->bEW:Ljava/util/regex/Pattern;
invoke-virtual {v1, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
move-result-object v1
invoke-virtual {v1}, Ljava/util/regex/Matcher;->matches()Z
move-result v1
if-eqz v1, :cond_8
iget-object v1, p0, Lb/o$a;->bFo:Ljava/util/Set;
invoke-interface {v1, v0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_7
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
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;
invoke-interface {p4}, Lb/c/s;->IF()Z
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, v4, [Ljava/lang/Object;
iget-object p3, p0, Lb/o$a;->bEE:Ljava/lang/String;
aput-object p3, p2, v3
aput-object v0, p2, v2
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, v4, [Ljava/lang/Object;
sget-object p3, Lb/o;->bEV:Ljava/util/regex/Pattern;
invoke-virtual {p3}, Ljava/util/regex/Pattern;->pattern()Ljava/lang/String;
move-result-object p3
aput-object p3, p2, v3
aput-object v0, p2, v2
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, v2, [Ljava/lang/Object;
iget-object p3, p0, Lb/o$a;->bEZ:Ljava/lang/String;
aput-object p3, p2, v3
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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v1, 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, v3, [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;
const-string v1, "<String>)"
const-string v5, " must include generic type (e.g., "
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
invoke-interface {p4}, Lb/c/t;->IF()Z
move-result p4
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v4
iput-boolean v2, p0, Lb/o$a;->bFm:Z
const-class v2, Ljava/lang/Iterable;
invoke-virtual {v2, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v2
if-eqz v2, :cond_e
instance-of v2, p2, Ljava/lang/reflect/ParameterizedType;
if-eqz v2, :cond_d
check-cast p2, Ljava/lang/reflect/ParameterizedType;
invoke-static {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$i;->Iu()Lb/j;
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 {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;
invoke-virtual {p2, v5}, 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;
invoke-virtual {p2, v1}, 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, v3, [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 {v4}, Ljava/lang/Class;->isArray()Z
move-result p1
if-eqz p1, :cond_f
invoke-virtual {v4}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
move-result-object p1
invoke-static {p1}, Lb/o;->W(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$i;->Iv()Lb/j;
move-result-object p1
return-object p1
:cond_f
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
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;
invoke-interface {p4}, Lb/c/v;->IF()Z
move-result p4
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v0
iput-boolean v2, p0, Lb/o$a;->bFm:Z
const-class v2, Ljava/lang/Iterable;
invoke-virtual {v2, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v2
if-eqz v2, :cond_12
instance-of v2, p2, Ljava/lang/reflect/ParameterizedType;
if-eqz v2, :cond_11
check-cast p2, Ljava/lang/reflect/ParameterizedType;
invoke-static {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$k;->Iu()Lb/j;
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;
invoke-virtual {p2, v5}, 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;
invoke-virtual {p2, v1}, 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, v3, [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;->W(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$k;->Iv()Lb/j;
move-result-object p1
return-object p1
:cond_13
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
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;
const-string v6, "Map must include generic types (e.g., Map<String, String>)"
if-eqz v0, :cond_18
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v0
const-class v1, Ljava/util/Map;
invoke-virtual {v1, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v1
if-eqz v1, :cond_17
const-class v1, Ljava/util/Map;
invoke-static {p2, v0, v1}, 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 {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object v0
const-class v1, Ljava/lang/String;
if-ne v1, v0, :cond_15
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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;
invoke-interface {p4}, Lb/c/u;->IF()Z
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, v3, [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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v6, 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, v3, [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 v2, Ljava/lang/Iterable;
invoke-virtual {v2, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v2
if-eqz v2, :cond_1a
instance-of v2, p2, Ljava/lang/reflect/ParameterizedType;
if-eqz v2, :cond_19
check-cast p2, Ljava/lang/reflect/ParameterizedType;
invoke-static {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$d;->Iu()Lb/j;
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;
invoke-virtual {p2, v5}, 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;
invoke-virtual {p2, v1}, 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, v3, [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;->W(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$d;->Iv()Lb/j;
move-result-object p1
return-object p1
:cond_1b
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
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 {v3, 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 {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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, v3, [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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v6, 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, v3, [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
iget-boolean v0, p0, Lb/o$a;->bFa:Z
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
invoke-interface {p4}, Lb/c/c;->IF()Z
move-result p4
iput-boolean v2, p0, Lb/o$a;->bFi:Z
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v2
const-class v4, Ljava/lang/Iterable;
invoke-virtual {v4, v2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v4
if-eqz v4, :cond_22
instance-of v4, p2, Ljava/lang/reflect/ParameterizedType;
if-eqz v4, :cond_21
check-cast p2, Ljava/lang/reflect/ParameterizedType;
invoke-static {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$b;->Iu()Lb/j;
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 {v2}, 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;
invoke-virtual {p2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, 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;
invoke-virtual {p2, v1}, 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, v3, [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 {v2}, Ljava/lang/Class;->isArray()Z
move-result p1
if-eqz p1, :cond_23
invoke-virtual {v2}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
move-result-object p1
invoke-static {p1}, Lb/o;->W(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
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
invoke-virtual {p2}, Lb/j$b;->Iv()Lb/j;
move-result-object p1
return-object p1
:cond_23
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
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, v3, [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
iget-boolean v0, p0, Lb/o$a;->bFa:Z
if-eqz v0, :cond_29
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v0
const-class v1, Ljava/util/Map;
invoke-virtual {v1, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v1
if-eqz v1, :cond_28
const-class v1, Ljava/util/Map;
invoke-static {p2, v0, v1}, 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 {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object v0
const-class v1, Ljava/lang/String;
if-ne v1, v0, :cond_26
invoke-static {v2, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object p1
iget-object p2, p0, Lb/o$a;->bFd:Lb/n;
invoke-virtual {p2, p1, p3}, Lb/n;->b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
move-result-object p1
iput-boolean v2, p0, Lb/o$a;->bFi:Z
new-instance p2, Lb/j$c;
check-cast p4, Lb/c/d;
invoke-interface {p4}, Lb/c/d;->IF()Z
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, v3, [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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v6, 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, v3, [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, v3, [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
iget-boolean v0, p0, Lb/o$a;->bFb:Z
if-eqz v0, :cond_38
check-cast p4, Lb/c/q;
iput-boolean v2, p0, Lb/o$a;->bFj:Z
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 v6
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
move-result v7
if-eqz v7, :cond_31
const-class p3, Ljava/lang/Iterable;
invoke-virtual {p3, v6}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result p3
const-string p4, "@Part annotation must supply a name or use MultipartBody.Part parameter type."
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 {v3, 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
sget-object p1, Lb/j$l;->bEB:Lb/j$l;
invoke-virtual {p1}, Lb/j$l;->Iu()Lb/j;
move-result-object p1
return-object p1
:cond_2b
new-array p2, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, p4, 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 {v6}, 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;
invoke-virtual {p2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6}, 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;
invoke-virtual {p2, v1}, 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, v3, [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 {v6}, Ljava/lang/Class;->isArray()Z
move-result p2
if-eqz p2, :cond_2f
invoke-virtual {v6}, 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
sget-object p1, Lb/j$l;->bEB:Lb/j$l;
invoke-virtual {p1}, Lb/j$l;->Iv()Lb/j;
move-result-object p1
return-object p1
:cond_2e
new-array p2, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, p4, 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, v6}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result p2
if-eqz p2, :cond_30
sget-object p1, Lb/j$l;->bEB:Lb/j$l;
return-object p1
:cond_30
new-array p2, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, p4, p2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_31
const/4 v7, 0x4
new-array v7, v7, [Ljava/lang/String;
const-string v8, "Content-Disposition"
aput-object v8, v7, v3
new-instance v8, Ljava/lang/StringBuilder;
const-string v9, "form-data; name=\""
invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, "\""
invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
aput-object v0, v7, v2
const-string v0, "Content-Transfer-Encoding"
aput-object v0, v7, v4
const/4 v0, 0x3
invoke-interface {p4}, Lb/c/q;->II()Ljava/lang/String;
move-result-object p4
aput-object p4, v7, v0
invoke-static {v7}, Lokhttp3/Headers;->f([Ljava/lang/String;)Lokhttp3/Headers;
move-result-object p4
const-class v0, Ljava/lang/Iterable;
invoke-virtual {v0, v6}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v0
const-string v2, "@Part parameters using the MultipartBody.Part must not include a part name in the annotation."
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 {v3, 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
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
iget-object v0, p0, Lb/o$a;->bFe:[Ljava/lang/annotation/Annotation;
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
invoke-virtual {p2}, Lb/j$f;->Iu()Lb/j;
move-result-object p1
return-object p1
:cond_32
new-array p2, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v2, 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 {v6}, 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;
invoke-virtual {p2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6}, 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;
invoke-virtual {p2, v1}, 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, v3, [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 {v6}, Ljava/lang/Class;->isArray()Z
move-result v0
if-eqz v0, :cond_36
invoke-virtual {v6}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
move-result-object p2
invoke-static {p2}, Lb/o;->W(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
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
iget-object v0, p0, Lb/o$a;->bFe:[Ljava/lang/annotation/Annotation;
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
invoke-virtual {p2}, Lb/j$f;->Iv()Lb/j;
move-result-object p1
return-object p1
:cond_35
new-array p2, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v2, 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, v6}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v0
if-nez v0, :cond_37
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
iget-object v0, p0, Lb/o$a;->bFe:[Ljava/lang/annotation/Annotation;
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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v2, 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, v3, [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
iget-boolean v0, p0, Lb/o$a;->bFb:Z
if-eqz v0, :cond_3e
iput-boolean v2, p0, Lb/o$a;->bFj:Z
invoke-static {p2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v0
const-class v1, Ljava/util/Map;
invoke-virtual {v1, v0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v1
if-eqz v1, :cond_3d
const-class v1, Ljava/util/Map;
invoke-static {p2, v0, v1}, 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 {v3, p2}, Lb/p;->a(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
move-result-object v0
const-class v1, Ljava/lang/String;
if-ne v1, v0, :cond_3b
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_3a
iget-object p1, p0, Lb/o$a;->bFd:Lb/n;
iget-object v0, p0, Lb/o$a;->bFe:[Ljava/lang/annotation/Annotation;
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;
invoke-interface {p4}, Lb/c/r;->II()Ljava/lang/String;
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, v3, [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, v3, [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, v3, [Ljava/lang/Object;
invoke-virtual {p0, p1, v6, 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, v3, [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, v3, [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
iget-boolean p4, p0, Lb/o$a;->bFa:Z
if-nez p4, :cond_41
iget-boolean p4, p0, Lb/o$a;->bFb:Z
if-nez p4, :cond_41
iget-boolean p4, p0, Lb/o$a;->bFk:Z
if-nez p4, :cond_40
:try_start_0
iget-object p4, p0, Lb/o$a;->bFd:Lb/n;
iget-object v0, p0, Lb/o$a;->bFe:[Ljava/lang/annotation/Annotation;
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 p1
:try_end_0
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
iput-boolean v2, p0, Lb/o$a;->bFk:Z
new-instance p2, Lb/j$a;
invoke-direct {p2, p1}, Lb/j$a;-><init>(Lb/e;)V
return-object p2
:catch_0
move-exception p3
new-array p4, v2, [Ljava/lang/Object;
aput-object p2, p4, v3
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, v2
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, v3, [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, v3, [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
.method final IB()Lb/c;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lb/c<",
"TT;TR;>;"
}
.end annotation
iget-object v0, p0, Lb/o$a;->bhl:Ljava/lang/reflect/Method;
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
iget-object v1, p0, Lb/o$a;->bhl:Ljava/lang/reflect/Method;
invoke-virtual {v1}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
move-result-object v1
:try_start_0
iget-object v5, p0, Lb/o$a;->bFd:Lb/n;
const-string v6, "returnType == null"
invoke-static {v0, v6}, Lb/p;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v6, "annotations == null"
invoke-static {v1, v6}, Lb/p;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
iget-object v1, v5, Lb/n;->bEQ:Ljava/util/List;
invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result v1
add-int/2addr v1, v4
iget-object v2, v5, Lb/n;->bEQ:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
move v6, v1
:goto_0
if-ge v6, v2, :cond_1
iget-object v7, v5, Lb/n;->bEQ:Ljava/util/List;
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;
iget-object v6, v5, Lb/n;->bEQ:Ljava/util/List;
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;
iget-object v7, v5, Lb/n;->bEQ:Ljava/util/List;
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
goto :goto_3
:goto_2
throw v0
:goto_3
goto :goto_2
.end method
.method final IC()Lb/e;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lb/e<",
"Lokhttp3/x;",
"TT;>;"
}
.end annotation
iget-object v0, p0, Lb/o$a;->bhl:Ljava/lang/reflect/Method;
invoke-virtual {v0}, Ljava/lang/reflect/Method;->getAnnotations()[Ljava/lang/annotation/Annotation;
move-result-object v0
const/4 v1, 0x1
:try_start_0
iget-object v2, p0, Lb/o$a;->bFd:Lb/n;
iget-object v3, p0, Lb/o$a;->bFh:Ljava/lang/reflect/Type;
const-string v4, "type == null"
invoke-static {v3, v4}, Lb/p;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v4, "annotations == null"
invoke-static {v0, v4}, Lb/p;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
iget-object v4, v2, Lb/n;->bEP:Ljava/util/List;
const/4 v5, 0x0
invoke-interface {v4, v5}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result v4
add-int/2addr v4, v1
iget-object v5, v2, Lb/n;->bEP:Ljava/util/List;
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v5
move v6, v4
:goto_0
if-ge v6, v5, :cond_1
iget-object v7, v2, Lb/n;->bEP:Ljava/util/List;
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;
iget-object v3, v2, Lb/n;->bEP:Ljava/util/List;
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;
iget-object v5, v2, Lb/n;->bEP:Ljava/util/List;
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
iget-object v3, p0, Lb/o$a;->bFh:Ljava/lang/reflect/Type;
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
goto :goto_3
:goto_2
throw v0
:goto_3
goto :goto_2
.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
goto :goto_3
:goto_2
throw p1
:goto_3
goto :goto_2
.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;
iget-object p2, p0, Lb/o$a;->bhl:Ljava/lang/reflect/Method;
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;
iget-object p2, p0, Lb/o$a;->bhl:Ljava/lang/reflect/Method;
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 e(Ljava/lang/String;Ljava/lang/String;Z)V
.locals 4
iget-object v0, p0, Lb/o$a;->bEZ:Ljava/lang/String;
const/4 v1, 0x0
const/4 v2, 0x0
const/4 v3, 0x1
if-nez v0, :cond_3
iput-object p1, p0, Lb/o$a;->bEZ:Ljava/lang/String;
iput-boolean p3, p0, Lb/o$a;->bEH:Z
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
sget-object p3, Lb/o;->bEV:Ljava/util/regex/Pattern;
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
iput-object p2, p0, Lb/o$a;->bEE:Ljava/lang/String;
invoke-static {p2}, Lb/o;->eG(Ljava/lang/String;)Ljava/util/Set;
move-result-object p1
iput-object p1, p0, Lb/o$a;->bFo:Ljava/util/Set;
return-void
:cond_3
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."
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;->dL(Ljava/lang/String;)Lokhttp3/MediaType;
move-result-object v5
if-eqz v5, :cond_0
iput-object v5, p0, Lb/o$a;->brx:Lokhttp3/MediaType;
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;->aj(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
invoke-virtual {v0}, Lokhttp3/Headers$a;->Fk()Lokhttp3/Headers;
move-result-object p1
return-object p1
.end method