apkfuckery/com.discord/smali/b/n.smali

1008 lines
22 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lb/n;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Retrofit.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb/n$a;
}
.end annotation
# instance fields
2019-05-08 22:54:48 +00:00
.field final bBE:Ljava/util/concurrent/Executor;
2019-05-04 02:59:52 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-05-08 22:54:48 +00:00
.field final bCc:Lokhttp3/s;
2019-04-11 23:08:29 +00:00
2019-05-08 22:54:48 +00:00
.field private final bCm:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-27 21:13:14 +00:00
"Ljava/util/Map<",
"Ljava/lang/reflect/Method;",
"Lb/o<",
"**>;>;"
2019-02-04 20:08:30 +00:00
}
.end annotation
.end field
2019-05-08 22:54:48 +00:00
.field final bCn:Lokhttp3/e$a;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
.field final bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-27 21:13:14 +00:00
"Ljava/util/List<",
"Lb/e$a;",
">;"
2019-02-04 20:08:30 +00:00
}
.end annotation
.end field
2019-05-08 22:54:48 +00:00
.field final bCp:Ljava/util/List;
2019-02-04 20:20:43 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
2019-02-27 21:13:14 +00:00
"Lb/c$a;",
2019-02-04 20:20:43 +00:00
">;"
}
.end annotation
.end field
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
.field final bCq:Z
2019-02-04 20:29:01 +00:00
2019-02-04 20:08:30 +00:00
# direct methods
.method constructor <init>(Lokhttp3/e$a;Lokhttp3/s;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V
.locals 1
.param p5 # Ljava/util/concurrent/Executor;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/e$a;",
"Lokhttp3/s;",
"Ljava/util/List<",
"Lb/e$a;",
">;",
"Ljava/util/List<",
"Lb/c$a;",
">;",
"Ljava/util/concurrent/Executor;",
"Z)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
2019-05-08 22:54:48 +00:00
iput-object v0, p0, Lb/n;->bCm:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-object p1, p0, Lb/n;->bCn:Lokhttp3/e$a;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-object p2, p0, Lb/n;->bCc:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
invoke-static {p3}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
2019-05-08 22:54:48 +00:00
iput-object p1, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-static {p4}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
2019-05-08 22:54:48 +00:00
iput-object p1, p0, Lb/n;->bCp:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-object p5, p0, Lb/n;->bBE:Ljava/util/concurrent/Executor;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-boolean p6, p0, Lb/n;->bCq:Z
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
2019-05-03 18:53:54 +00:00
.method public final X(Ljava/lang/Class;)Ljava/lang/Object;
2019-02-04 20:32:01 +00:00
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
2019-05-03 18:53:54 +00:00
invoke-static {p1}, Lb/p;->Z(Ljava/lang/Class;)V
2019-02-04 20:32:01 +00:00
2019-05-08 22:54:48 +00:00
iget-boolean v0, p0, Lb/n;->bCq:Z
2019-02-04 20:32:01 +00:00
const/4 v1, 0x0
if-eqz v0, :cond_1
2019-05-04 02:59:52 +00:00
invoke-static {}, Lb/k;->ES()Lb/k;
2019-02-04 20:32:01 +00:00
move-result-object v0
invoke-virtual {p1}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;
move-result-object v2
array-length v3, v2
const/4 v4, 0x0
:goto_0
if-ge v4, v3, :cond_1
aget-object v5, v2, v4
invoke-virtual {v0, v5}, Lb/k;->a(Ljava/lang/reflect/Method;)Z
move-result v6
if-nez v6, :cond_0
invoke-virtual {p0, v5}, Lb/n;->b(Ljava/lang/reflect/Method;)Lb/o;
:cond_0
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_1
invoke-virtual {p1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Class;
aput-object p1, v2, v1
new-instance v1, Lb/n$1;
invoke-direct {v1, p0, p1}, Lb/n$1;-><init>(Lb/n;Ljava/lang/Class;)V
invoke-static {v0, v2, v1}, Ljava/lang/reflect/Proxy;->newProxyInstance(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
2019-02-04 20:08:30 +00:00
.method public final a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lb/e;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"[",
"Ljava/lang/annotation/Annotation;",
")",
"Lb/e<",
"TT;",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
const-string v0, "type == null"
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "parameterAnnotations == null"
invoke-static {p2, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string p2, "methodAnnotations == null"
invoke-static {p3, p2}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-05-08 22:54:48 +00:00
iget-object p2, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
const/4 p3, 0x0
invoke-interface {p2, p3}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result p2
add-int/lit8 p2, p2, 0x1
2019-05-08 22:54:48 +00:00
iget-object p3, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {p3}, Ljava/util/List;->size()I
move-result p3
move v0, p2
:goto_0
if-ge v0, p3, :cond_1
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lb/e$a;
invoke-virtual {v1, p1}, Lb/e$a;->i(Ljava/lang/reflect/Type;)Lb/e;
move-result-object v1
if-eqz v1, :cond_0
return-object v1
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
new-instance p3, Ljava/lang/StringBuilder;
const-string v0, "Could not locate RequestBody converter for "
invoke-direct {p3, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, ".\n"
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " Tried:"
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-05-08 22:54:48 +00:00
iget-object p1, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
:goto_1
if-ge p2, p1, :cond_2
const-string v0, "\n * "
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lb/e$a;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 p2, p2, 0x1
goto :goto_1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
.method public final b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/e;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
")",
"Lb/e<",
"TT;",
"Ljava/lang/String;",
">;"
}
.end annotation
const-string v0, "type == null"
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string p1, "annotations == null"
invoke-static {p2, p1}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-05-08 22:54:48 +00:00
iget-object p1, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
const/4 p2, 0x0
:goto_0
if-ge p2, p1, :cond_0
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lb/n;->bCo:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
add-int/lit8 p2, p2, 0x1
goto :goto_0
:cond_0
2019-05-08 22:54:48 +00:00
sget-object p1, Lb/a$d;->bBz:Lb/a$d;
2019-02-04 20:08:30 +00:00
return-object p1
.end method
.method final b(Ljava/lang/reflect/Method;)Lb/o;
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
")",
"Lb/o<",
"**>;"
}
.end annotation
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lb/n;->bCm:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lb/o;
if-eqz v0, :cond_0
return-object v0
:cond_0
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lb/n;->bCm:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
monitor-enter v0
:try_start_0
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lb/n;->bCm:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lb/o;
if-nez v1, :cond_21
new-instance v1, Lb/o$a;
invoke-direct {v1, p0, p1}, Lb/o$a;-><init>(Lb/n;Ljava/lang/reflect/Method;)V
2019-05-04 02:59:52 +00:00
invoke-virtual {v1}, Lb/o$a;->EX()Lb/c;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-05-08 22:54:48 +00:00
iput-object v2, v1, Lb/o$a;->bCw:Lb/c;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCw:Lb/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-interface {v2}, Lb/c;->EM()Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-05-08 22:54:48 +00:00
iput-object v2, v1, Lb/o$a;->bCH:Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCH:Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
const-class v3, Lb/m;
const/4 v4, 0x0
const/4 v5, 0x0
if-eq v2, v3, :cond_20
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCH:Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
const-class v3, Lokhttp3/Response;
if-eq v2, v3, :cond_20
2019-05-04 02:59:52 +00:00
invoke-virtual {v1}, Lb/o$a;->EY()Lb/e;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-05-08 22:54:48 +00:00
iput-object v2, v1, Lb/o$a;->bCx:Lb/e;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCE:[Ljava/lang/annotation/Annotation;
2019-02-04 20:08:30 +00:00
array-length v3, v2
const/4 v6, 0x0
:goto_0
const/4 v7, 0x1
if-ge v6, v3, :cond_10
aget-object v8, v2, v6
instance-of v9, v8, Lb/c/b;
if-eqz v9, :cond_1
const-string v7, "DELETE"
check-cast v8, Lb/c/b;
invoke-interface {v8}, Lb/c/b;->value()Ljava/lang/String;
move-result-object v8
invoke-virtual {v1, v7, v8, v5}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
2019-02-04 20:29:01 +00:00
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_1
instance-of v9, v8, Lb/c/f;
if-eqz v9, :cond_2
const-string v7, "GET"
check-cast v8, Lb/c/f;
invoke-interface {v8}, Lb/c/f;->value()Ljava/lang/String;
move-result-object v8
2019-02-04 20:29:01 +00:00
invoke-virtual {v1, v7, v8, v5}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_2
instance-of v9, v8, Lb/c/g;
if-eqz v9, :cond_4
const-string v7, "HEAD"
check-cast v8, Lb/c/g;
invoke-interface {v8}, Lb/c/g;->value()Ljava/lang/String;
move-result-object v8
invoke-virtual {v1, v7, v8, v5}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
const-class v7, Ljava/lang/Void;
2019-05-08 22:54:48 +00:00
iget-object v8, v1, Lb/o$a;->bCH:Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
invoke-virtual {v7, v8}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_3
2019-02-04 20:29:01 +00:00
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_3
const-string p1, "HEAD method must use Void as response type."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_4
instance-of v9, v8, Lb/c/n;
if-eqz v9, :cond_5
const-string v9, "PATCH"
check-cast v8, Lb/c/n;
invoke-interface {v8}, Lb/c/n;->value()Ljava/lang/String;
move-result-object v8
invoke-virtual {v1, v9, v8, v7}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
2019-02-04 20:29:01 +00:00
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_5
instance-of v9, v8, Lb/c/o;
if-eqz v9, :cond_6
const-string v9, "POST"
check-cast v8, Lb/c/o;
invoke-interface {v8}, Lb/c/o;->value()Ljava/lang/String;
move-result-object v8
2019-02-04 20:29:01 +00:00
invoke-virtual {v1, v9, v8, v7}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_6
instance-of v9, v8, Lb/c/p;
if-eqz v9, :cond_7
const-string v9, "PUT"
check-cast v8, Lb/c/p;
invoke-interface {v8}, Lb/c/p;->value()Ljava/lang/String;
move-result-object v8
2019-02-04 20:29:01 +00:00
invoke-virtual {v1, v9, v8, v7}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
goto/16 :goto_1
2019-02-04 20:08:30 +00:00
:cond_7
instance-of v9, v8, Lb/c/m;
if-eqz v9, :cond_8
const-string v7, "OPTIONS"
check-cast v8, Lb/c/m;
invoke-interface {v8}, Lb/c/m;->value()Ljava/lang/String;
move-result-object v8
2019-02-04 20:29:01 +00:00
invoke-virtual {v1, v7, v8, v5}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
2019-02-04 20:08:30 +00:00
goto :goto_1
:cond_8
instance-of v9, v8, Lb/c/h;
if-eqz v9, :cond_9
check-cast v8, Lb/c/h;
invoke-interface {v8}, Lb/c/h;->method()Ljava/lang/String;
move-result-object v7
2019-05-04 02:59:52 +00:00
invoke-interface {v8}, Lb/c/h;->Fc()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v9
2019-05-04 02:59:52 +00:00
invoke-interface {v8}, Lb/c/h;->Fd()Z
2019-02-04 20:08:30 +00:00
move-result v8
invoke-virtual {v1, v7, v9, v8}, Lb/o$a;->f(Ljava/lang/String;Ljava/lang/String;Z)V
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_9
instance-of v9, v8, Lb/c/k;
if-eqz v9, :cond_b
check-cast v8, Lb/c/k;
invoke-interface {v8}, Lb/c/k;->value()[Ljava/lang/String;
move-result-object v7
array-length v8, v7
if-eqz v8, :cond_a
2019-02-04 20:32:01 +00:00
invoke-virtual {v1, v7}, Lb/o$a;->g([Ljava/lang/String;)Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
move-result-object v7
2019-05-08 22:54:48 +00:00
iput-object v7, v1, Lb/o$a;->bph:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_a
const-string p1, "@Headers annotation is empty."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_b
instance-of v9, v8, Lb/c/l;
if-eqz v9, :cond_d
2019-05-08 22:54:48 +00:00
iget-boolean v8, v1, Lb/o$a;->bCz:Z
2019-02-04 20:08:30 +00:00
if-nez v8, :cond_c
2019-05-08 22:54:48 +00:00
iput-boolean v7, v1, Lb/o$a;->bCA:Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_c
const-string p1, "Only one encoding annotation is allowed."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_d
instance-of v8, v8, Lb/c/e;
if-eqz v8, :cond_f
2019-05-08 22:54:48 +00:00
iget-boolean v8, v1, Lb/o$a;->bCA:Z
2019-02-04 20:08:30 +00:00
if-nez v8, :cond_e
2019-05-08 22:54:48 +00:00
iput-boolean v7, v1, Lb/o$a;->bCz:Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_e
const-string p1, "Only one encoding annotation is allowed."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_f
2019-02-04 20:29:01 +00:00
:goto_1
2019-02-04 20:08:30 +00:00
add-int/lit8 v6, v6, 0x1
goto/16 :goto_0
:cond_10
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCy:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_1f
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCg:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_13
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCA:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_12
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCz:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_11
2019-02-04 20:29:01 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
:cond_11
const-string p1, "FormUrlEncoded can only be specified on HTTP methods with request body (e.g., @POST)."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_12
const-string p1, "Multipart can only be specified on HTTP methods with request body (e.g., @POST)."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_13
2019-02-04 20:29:01 +00:00
:goto_2
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCF:[[Ljava/lang/annotation/Annotation;
2019-02-04 20:08:30 +00:00
array-length v2, v2
new-array v3, v2, [Lb/j;
2019-05-08 22:54:48 +00:00
iput-object v3, v1, Lb/o$a;->bCB:[Lb/j;
2019-02-04 20:08:30 +00:00
const/4 v3, 0x0
2019-02-04 20:29:01 +00:00
:goto_3
2019-02-04 20:08:30 +00:00
if-ge v3, v2, :cond_16
2019-05-08 22:54:48 +00:00
iget-object v6, v1, Lb/o$a;->bCG:[Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
aget-object v6, v6, v3
invoke-static {v6}, Lb/p;->k(Ljava/lang/reflect/Type;)Z
move-result v8
if-nez v8, :cond_15
2019-05-08 22:54:48 +00:00
iget-object v8, v1, Lb/o$a;->bCF:[[Ljava/lang/annotation/Annotation;
2019-02-04 20:08:30 +00:00
aget-object v8, v8, v3
if-eqz v8, :cond_14
2019-05-08 22:54:48 +00:00
iget-object v9, v1, Lb/o$a;->bCB:[Lb/j;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1, v3, v6, v8}, Lb/o$a;->a(ILjava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lb/j;
move-result-object v6
aput-object v6, v9, v3
add-int/lit8 v3, v3, 0x1
2019-02-04 20:29:01 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
:cond_14
const-string p1, "No Retrofit annotation found."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v3, p1, v2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_15
const-string p1, "Parameter type must not include a type variable or wildcard: %s"
new-array v2, v7, [Ljava/lang/Object;
aput-object v6, v2, v5
invoke-virtual {v1, v3, p1, v2}, Lb/o$a;->a(ILjava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_16
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCd:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_18
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCN:Z
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_17
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_17
const-string p1, "Missing either @%s URL or @Url parameter."
new-array v2, v7, [Ljava/lang/Object;
2019-05-08 22:54:48 +00:00
iget-object v3, v1, Lb/o$a;->bCy:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
aput-object v3, v2, v5
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_18
2019-02-04 20:29:01 +00:00
:goto_4
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCz:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_1a
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCA:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_1a
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCg:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_1a
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCK:Z
2019-02-04 20:08:30 +00:00
if-nez v2, :cond_19
2019-02-04 20:29:01 +00:00
goto :goto_5
2019-02-04 20:08:30 +00:00
:cond_19
const-string p1, "Non-body HTTP method cannot contain @Body."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_1a
2019-02-04 20:29:01 +00:00
:goto_5
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCz:Z
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_1c
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCI:Z
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_1b
2019-02-04 20:29:01 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
:cond_1b
const-string p1, "Form-encoded method must contain at least one @Field."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_1c
2019-02-04 20:29:01 +00:00
:goto_6
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCA:Z
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_1e
2019-05-08 22:54:48 +00:00
iget-boolean v2, v1, Lb/o$a;->bCJ:Z
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_1d
2019-02-04 20:29:01 +00:00
goto :goto_7
2019-02-04 20:08:30 +00:00
:cond_1d
const-string p1, "Multipart method must contain at least one @Part."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_1e
2019-02-04 20:29:01 +00:00
:goto_7
2019-02-04 20:08:30 +00:00
new-instance v2, Lb/o;
invoke-direct {v2, v1}, Lb/o;-><init>(Lb/o$a;)V
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lb/n;->bCm:Ljava/util/Map;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, p1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-object v1, v2
2019-02-04 20:29:01 +00:00
goto :goto_8
2019-02-04 20:08:30 +00:00
:cond_1f
const-string p1, "HTTP method annotation is required (e.g., @GET, @POST, etc.)."
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_20
new-instance p1, Ljava/lang/StringBuilder;
const-string v2, "\'"
invoke-direct {p1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-05-08 22:54:48 +00:00
iget-object v2, v1, Lb/o$a;->bCH:Ljava/lang/reflect/Type;
2019-02-04 20:08:30 +00:00
invoke-static {v2}, Lb/p;->c(Ljava/lang/reflect/Type;)Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, "\' is not a valid response body type. Did you mean ResponseBody?"
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-array v2, v5, [Ljava/lang/Object;
invoke-virtual {v1, v4, p1, v2}, Lb/o$a;->a(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:cond_21
2019-02-04 20:29:01 +00:00
:goto_8
2019-02-04 20:08:30 +00:00
monitor-exit v0
return-object v1
:catchall_0
move-exception p1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method