apkfuckery/com.discord/smali_classes2/f0/q.smali

615 lines
15 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public final Lf0/q;
2020-03-27 22:23:51 +00:00
.super Ljava/lang/Object;
.source "Retrofit.java"
# instance fields
.field public final a:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/reflect/Method;",
2020-05-11 19:22:21 +00:00
"Lf0/r<",
2020-03-27 22:23:51 +00:00
"**>;>;"
}
.end annotation
.end field
2020-05-11 19:22:21 +00:00
.field public final b:Lc0/e$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
.field public final c:Lc0/u;
2020-03-27 22:23:51 +00:00
.field public final d:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
2020-05-11 19:22:21 +00:00
"Lf0/e$a;",
2020-03-27 22:23:51 +00:00
">;"
}
.end annotation
.end field
.field public final e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
2020-05-11 19:22:21 +00:00
"Lf0/c$a;",
2020-03-27 22:23:51 +00:00
">;"
}
.end annotation
.end field
.field public final f:Z
# direct methods
2020-05-11 19:22:21 +00:00
.method public constructor <init>(Lc0/e$a;Lc0/u;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V
2020-03-27 22:23:51 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-05-11 19:22:21 +00:00
"Lc0/e$a;",
"Lc0/u;",
2020-03-27 22:23:51 +00:00
"Ljava/util/List<",
2020-05-11 19:22:21 +00:00
"Lf0/e$a;",
2020-03-27 22:23:51 +00:00
">;",
"Ljava/util/List<",
2020-05-11 19:22:21 +00:00
"Lf0/c$a;",
2020-03-27 22:23:51 +00:00
">;",
"Ljava/util/concurrent/Executor;",
"Z)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance p5, Ljava/util/concurrent/ConcurrentHashMap;
invoke-direct {p5}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
2020-05-11 19:22:21 +00:00
iput-object p5, p0, Lf0/q;->a:Ljava/util/Map;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Lf0/q;->b:Lc0/e$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iput-object p2, p0, Lf0/q;->c:Lc0/u;
2020-03-27 22:23:51 +00:00
invoke-static {p3}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-static {p4}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Lf0/q;->e:Ljava/util/List;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iput-boolean p6, p0, Lf0/q;->f:Z
2020-03-27 22:23:51 +00:00
return-void
.end method
# virtual methods
2020-05-11 19:22:21 +00:00
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lf0/c;
2020-03-27 22:23:51 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
")",
2020-05-11 19:22:21 +00:00
"Lf0/c<",
2020-03-27 22:23:51 +00:00
"**>;"
}
.end annotation
const-string v0, "returnType == null"
2020-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
const-string v0, "annotations == null"
2020-05-11 19:22:21 +00:00
invoke-static {p2, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lf0/q;->e:Ljava/util/List;
2020-03-27 22:23:51 +00:00
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result v0
add-int/lit8 v0, v0, 0x1
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lf0/q;->e:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
move v2, v0
:goto_0
if-ge v2, v1, :cond_1
2020-05-11 19:22:21 +00:00
iget-object v3, p0, Lf0/q;->e:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
2020-05-11 19:22:21 +00:00
check-cast v3, Lf0/c$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v3, p1, p2, p0}, Lf0/c$a;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lf0/q;)Lf0/c;
2020-03-27 22:23:51 +00:00
move-result-object v3
if-eqz v3, :cond_0
return-object v3
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
new-instance p2, Ljava/lang/StringBuilder;
const-string v1, "Could not locate call adapter for "
invoke-direct {p2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, ".\n"
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " Tried:"
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-11 19:22:21 +00:00
iget-object p1, p0, Lf0/q;->e:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
:goto_1
if-ge v0, p1, :cond_2
const-string v1, "\n * "
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lf0/q;->e:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
2020-05-11 19:22:21 +00:00
check-cast v1, Lf0/c$a;
2020-03-27 22:23:51 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v1
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p2}, 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
.end method
2020-05-11 19:22:21 +00:00
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lf0/e;
2020-03-27 22:23:51 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
"[",
"Ljava/lang/annotation/Annotation;",
")",
2020-05-11 19:22:21 +00:00
"Lf0/e<",
2020-03-27 22:23:51 +00:00
"TT;",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
const-string v0, "type == null"
2020-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
const-string v0, "parameterAnnotations == null"
2020-05-11 19:22:21 +00:00
invoke-static {p2, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
const-string v0, "methodAnnotations == null"
2020-05-11 19:22:21 +00:00
invoke-static {p3, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result v0
add-int/lit8 v0, v0, 0x1
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
move v2, v0
:goto_0
if-ge v2, v1, :cond_1
2020-05-11 19:22:21 +00:00
iget-object v3, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
2020-05-11 19:22:21 +00:00
check-cast v3, Lf0/e$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v3, p1, p2, p3, p0}, Lf0/e$a;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;Lf0/q;)Lf0/e;
2020-03-27 22:23:51 +00:00
move-result-object v3
if-eqz v3, :cond_0
return-object v3
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
new-instance p2, Ljava/lang/StringBuilder;
const-string p3, "Could not locate RequestBody converter for "
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, ".\n"
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " Tried:"
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-11 19:22:21 +00:00
iget-object p1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
:goto_1
if-ge v0, p1, :cond_2
const-string p3, "\n * "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-11 19:22:21 +00:00
iget-object p3, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {p3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p3
2020-05-11 19:22:21 +00:00
check-cast p3, Lf0/e$a;
2020-03-27 22:23:51 +00:00
invoke-virtual {p3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p3
invoke-virtual {p3}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p3
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p2}, 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
.end method
2020-05-11 19:22:21 +00:00
.method public a(Ljava/lang/reflect/Method;)Lf0/r;
2020-03-27 22:23:51 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
")",
2020-05-11 19:22:21 +00:00
"Lf0/r<",
2020-03-27 22:23:51 +00:00
"**>;"
}
.end annotation
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lf0/q;->a:Ljava/util/Map;
2020-03-27 22:23:51 +00:00
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
2020-05-11 19:22:21 +00:00
check-cast v0, Lf0/r;
2020-03-27 22:23:51 +00:00
if-eqz v0, :cond_0
return-object v0
:cond_0
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lf0/q;->a:Ljava/util/Map;
2020-03-27 22:23:51 +00:00
monitor-enter v0
:try_start_0
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lf0/q;->a:Ljava/util/Map;
2020-03-27 22:23:51 +00:00
invoke-interface {v1, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
2020-05-11 19:22:21 +00:00
check-cast v1, Lf0/r;
2020-03-27 22:23:51 +00:00
if-nez v1, :cond_1
2020-05-11 19:22:21 +00:00
new-instance v1, Lf0/r$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v1, p0, p1}, Lf0/r$a;-><init>(Lf0/q;Ljava/lang/reflect/Method;)V
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v1}, Lf0/r$a;->a()Lf0/r;
2020-03-27 22:23:51 +00:00
move-result-object v1
2020-05-11 19:22:21 +00:00
iget-object v2, p0, Lf0/q;->a:Ljava/util/Map;
2020-03-27 22:23:51 +00:00
invoke-interface {v2, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_1
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
.end method
2020-05-11 19:22:21 +00:00
.method public b(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lf0/e;
2020-03-27 22:23:51 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
")",
2020-05-11 19:22:21 +00:00
"Lf0/e<",
"Lc0/z;",
2020-03-27 22:23:51 +00:00
"TT;>;"
}
.end annotation
const-string v0, "type == null"
2020-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
const-string v0, "annotations == null"
2020-05-11 19:22:21 +00:00
invoke-static {p2, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result v0
add-int/lit8 v0, v0, 0x1
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
move v2, v0
:goto_0
if-ge v2, v1, :cond_1
2020-05-11 19:22:21 +00:00
iget-object v3, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
2020-05-11 19:22:21 +00:00
check-cast v3, Lf0/e$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v3, p1, p2, p0}, Lf0/e$a;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lf0/q;)Lf0/e;
2020-03-27 22:23:51 +00:00
move-result-object v3
if-eqz v3, :cond_0
return-object v3
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
new-instance p2, Ljava/lang/StringBuilder;
const-string v1, "Could not locate ResponseBody converter for "
invoke-direct {p2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p1, ".\n"
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " Tried:"
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-11 19:22:21 +00:00
iget-object p1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
:goto_1
if-ge v0, p1, :cond_2
const-string v1, "\n * "
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
2020-05-11 19:22:21 +00:00
check-cast v1, Lf0/e$a;
2020-03-27 22:23:51 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v1
invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p2}, 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
.end method
2020-05-11 19:22:21 +00:00
.method public c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lf0/e;
2020-03-27 22:23:51 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/reflect/Type;",
"[",
"Ljava/lang/annotation/Annotation;",
")",
2020-05-11 19:22:21 +00:00
"Lf0/e<",
2020-03-27 22:23:51 +00:00
"TT;",
"Ljava/lang/String;",
">;"
}
.end annotation
const-string v0, "type == null"
2020-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
const-string p1, "annotations == null"
2020-05-11 19:22:21 +00:00
invoke-static {p2, p1}, Lf0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
iget-object p1, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +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
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lf0/q;->d:Ljava/util/List;
2020-03-27 22:23:51 +00:00
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
2020-05-11 19:22:21 +00:00
check-cast v0, Lf0/e$a;
2020-03-27 22:23:51 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v0}, Lf0/e$a;->a()Lf0/e;
2020-03-27 22:23:51 +00:00
add-int/lit8 p2, p2, 0x1
goto :goto_0
:cond_0
2020-05-11 19:22:21 +00:00
sget-object p1, Lf0/a$d;->a:Lf0/a$d;
2020-03-27 22:23:51 +00:00
return-object p1
.end method