.class public final Lg0/b0; .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;", "Lg0/c0<", "*>;>;" } .end annotation .end field .field public final b:Lc0/e$a; .field public final c:Lc0/x; .field public final d:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Lg0/h$a;", ">;" } .end annotation .end field .field public final e:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Lg0/e$a;", ">;" } .end annotation .end field .field public final f:Z # direct methods .method public constructor (Lc0/e$a;Lc0/x;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lc0/e$a;", "Lc0/x;", "Ljava/util/List<", "Lg0/h$a;", ">;", "Ljava/util/List<", "Lg0/e$a;", ">;", "Ljava/util/concurrent/Executor;", "Z)V" } .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V new-instance p5, Ljava/util/concurrent/ConcurrentHashMap; invoke-direct {p5}, Ljava/util/concurrent/ConcurrentHashMap;->()V iput-object p5, p0, Lg0/b0;->a:Ljava/util/Map; iput-object p1, p0, Lg0/b0;->b:Lc0/e$a; iput-object p2, p0, Lg0/b0;->c:Lc0/x; iput-object p3, p0, Lg0/b0;->d:Ljava/util/List; iput-object p4, p0, Lg0/b0;->e:Ljava/util/List; iput-boolean p6, p0, Lg0/b0;->f:Z return-void .end method # virtual methods .method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lg0/e; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Type;", "[", "Ljava/lang/annotation/Annotation;", ")", "Lg0/e<", "**>;" } .end annotation const-string v0, "returnType == null" invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "annotations == null" invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; iget-object v0, p0, Lg0/b0;->e:Ljava/util/List; 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 iget-object v1, p0, Lg0/b0;->e:Ljava/util/List; invoke-interface {v1}, Ljava/util/List;->size()I move-result v1 move v2, v0 :goto_0 if-ge v2, v1, :cond_1 iget-object v3, p0, Lg0/b0;->e:Ljava/util/List; invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Lg0/e$a; invoke-virtual {v3, p1, p2, p0}, Lg0/e$a;->a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lg0/b0;)Lg0/e; 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;->(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; iget-object p1, p0, Lg0/b0;->e:Ljava/util/List; 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; iget-object v1, p0, Lg0/b0;->e:Ljava/util/List; invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v1 check-cast v1, Lg0/e$a; 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;->(Ljava/lang/String;)V throw p1 .end method .method public b(Ljava/lang/reflect/Method;)Lg0/c0; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Method;", ")", "Lg0/c0<", "*>;" } .end annotation iget-object v0, p0, Lg0/b0;->a:Ljava/util/Map; invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Lg0/c0; if-eqz v0, :cond_0 return-object v0 :cond_0 iget-object v0, p0, Lg0/b0;->a:Ljava/util/Map; monitor-enter v0 :try_start_0 iget-object v1, p0, Lg0/b0;->a:Ljava/util/Map; invoke-interface {v1, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Lg0/c0; if-nez v1, :cond_1 invoke-static {p0, p1}, Lg0/c0;->b(Lg0/b0;Ljava/lang/reflect/Method;)Lg0/c0; move-result-object v1 iget-object v2, p0, Lg0/b0;->a:Ljava/util/Map; 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 .method public c(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;)Lg0/h; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Type;", "[", "Ljava/lang/annotation/Annotation;", "[", "Ljava/lang/annotation/Annotation;", ")", "Lg0/h<", "TT;", "Lokhttp3/RequestBody;", ">;" } .end annotation const-string v0, "type == null" invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "parameterAnnotations == null" invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "methodAnnotations == null" invoke-static {p3, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; iget-object v0, p0, Lg0/b0;->d:Ljava/util/List; 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 iget-object v1, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v1}, Ljava/util/List;->size()I move-result v1 move v2, v0 :goto_0 if-ge v2, v1, :cond_1 iget-object v3, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Lg0/h$a; invoke-virtual {v3, p1, p2, p3, p0}, Lg0/h$a;->requestBodyConverter(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;[Ljava/lang/annotation/Annotation;Lg0/b0;)Lg0/h; 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;->(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; iget-object p1, p0, Lg0/b0;->d:Ljava/util/List; 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; iget-object p3, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {p3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object p3 check-cast p3, Lg0/h$a; 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;->(Ljava/lang/String;)V throw p1 .end method .method public d(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lg0/h; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Type;", "[", "Ljava/lang/annotation/Annotation;", ")", "Lg0/h<", "Lokhttp3/ResponseBody;", "TT;>;" } .end annotation const-string v0, "type == null" invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "annotations == null" invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; iget-object v0, p0, Lg0/b0;->d:Ljava/util/List; 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 iget-object v1, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v1}, Ljava/util/List;->size()I move-result v1 move v2, v0 :goto_0 if-ge v2, v1, :cond_1 iget-object v3, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Lg0/h$a; invoke-virtual {v3, p1, p2, p0}, Lg0/h$a;->responseBodyConverter(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lg0/b0;)Lg0/h; 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;->(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; iget-object p1, p0, Lg0/b0;->d:Ljava/util/List; 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; iget-object v1, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v1 check-cast v1, Lg0/h$a; 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;->(Ljava/lang/String;)V throw p1 .end method .method public e(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Lg0/h; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Type;", "[", "Ljava/lang/annotation/Annotation;", ")", "Lg0/h<", "TT;", "Ljava/lang/String;", ">;" } .end annotation const-string v0, "type == null" invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "annotations == null" invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; iget-object v0, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v0}, Ljava/util/List;->size()I move-result v0 const/4 v1, 0x0 :goto_0 if-ge v1, v0, :cond_1 iget-object v2, p0, Lg0/b0;->d:Ljava/util/List; invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v2 check-cast v2, Lg0/h$a; invoke-virtual {v2, p1, p2, p0}, Lg0/h$a;->stringConverter(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lg0/b0;)Lg0/h; move-result-object v2 if-eqz v2, :cond_0 return-object v2 :cond_0 add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_1 sget-object p1, Lg0/c$d;->a:Lg0/c$d; return-object p1 .end method