.class public final Lt/r; .super Ljava/lang/Object; .source "ServiceMethod.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lt/r$a; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;" } .end annotation # static fields .field public static final m:Ljava/util/regex/Pattern; .field public static final n:Ljava/util/regex/Pattern; # instance fields .field public final a:Lq/e$a; .field public final b:Lt/c; .annotation system Ldalvik/annotation/Signature; value = { "Lt/c<", "TR;TT;>;" } .end annotation .end field .field public final c:Lq/u; .field public final d:Lt/e; .annotation system Ldalvik/annotation/Signature; value = { "Lt/e<", "Lq/z;", "TR;>;" } .end annotation .end field .field public final e:Ljava/lang/String; .field public final f:Ljava/lang/String; .field public final g:Lokhttp3/Headers; .field public final h:Lokhttp3/MediaType; .field public final i:Z .field public final j:Z .field public final k:Z .field public final l:[Lt/l; .annotation system Ldalvik/annotation/Signature; value = { "[", "Lt/l<", "*>;" } .end annotation .end field # direct methods .method public static constructor ()V .locals 1 const-string v0, "\\{([a-zA-Z][a-zA-Z0-9_-]*)\\}" invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; move-result-object v0 sput-object v0, Lt/r;->m:Ljava/util/regex/Pattern; const-string v0, "[a-zA-Z][a-zA-Z0-9_-]*" invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; move-result-object v0 sput-object v0, Lt/r;->n:Ljava/util/regex/Pattern; return-void .end method .method public constructor (Lt/r$a;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lt/r$a<", "TR;TT;>;)V" } .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V iget-object v0, p1, Lt/r$a;->a:Lt/q; iget-object v1, v0, Lt/q;->b:Lq/e$a; iput-object v1, p0, Lt/r;->a:Lq/e$a; iget-object v1, p1, Lt/r$a;->w:Lt/c; iput-object v1, p0, Lt/r;->b:Lt/c; iget-object v0, v0, Lt/q;->c:Lq/u; iput-object v0, p0, Lt/r;->c:Lq/u; iget-object v0, p1, Lt/r$a;->v:Lt/e; iput-object v0, p0, Lt/r;->d:Lt/e; iget-object v0, p1, Lt/r$a;->m:Ljava/lang/String; iput-object v0, p0, Lt/r;->e:Ljava/lang/String; iget-object v0, p1, Lt/r$a;->q:Ljava/lang/String; iput-object v0, p0, Lt/r;->f:Ljava/lang/String; iget-object v0, p1, Lt/r$a;->r:Lokhttp3/Headers; iput-object v0, p0, Lt/r;->g:Lokhttp3/Headers; iget-object v0, p1, Lt/r$a;->s:Lokhttp3/MediaType; iput-object v0, p0, Lt/r;->h:Lokhttp3/MediaType; iget-boolean v0, p1, Lt/r$a;->n:Z iput-boolean v0, p0, Lt/r;->i:Z iget-boolean v0, p1, Lt/r$a;->o:Z iput-boolean v0, p0, Lt/r;->j:Z iget-boolean v0, p1, Lt/r$a;->p:Z iput-boolean v0, p0, Lt/r;->k:Z iget-object p1, p1, Lt/r$a;->u:[Lt/l; iput-object p1, p0, Lt/r;->l:[Lt/l; return-void .end method .method public static a(Ljava/lang/Class;)Ljava/lang/Class; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;)", "Ljava/lang/Class<", "*>;" } .end annotation sget-object v0, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_0 const-class p0, Ljava/lang/Boolean; return-object p0 :cond_0 sget-object v0, Ljava/lang/Byte;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_1 const-class p0, Ljava/lang/Byte; return-object p0 :cond_1 sget-object v0, Ljava/lang/Character;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_2 const-class p0, Ljava/lang/Character; return-object p0 :cond_2 sget-object v0, Ljava/lang/Double;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_3 const-class p0, Ljava/lang/Double; return-object p0 :cond_3 sget-object v0, Ljava/lang/Float;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_4 const-class p0, Ljava/lang/Float; return-object p0 :cond_4 sget-object v0, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_5 const-class p0, Ljava/lang/Integer; return-object p0 :cond_5 sget-object v0, Ljava/lang/Long;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_6 const-class p0, Ljava/lang/Long; return-object p0 :cond_6 sget-object v0, Ljava/lang/Short;->TYPE:Ljava/lang/Class; if-ne v0, p0, :cond_7 const-class p0, Ljava/lang/Short; :cond_7 return-object p0 .end method # virtual methods .method public varargs a([Ljava/lang/Object;)Lq/y; .locals 10 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation new-instance v9, Lt/n; iget-object v1, p0, Lt/r;->e:Ljava/lang/String; iget-object v2, p0, Lt/r;->c:Lq/u; iget-object v3, p0, Lt/r;->f:Ljava/lang/String; iget-object v4, p0, Lt/r;->g:Lokhttp3/Headers; iget-object v5, p0, Lt/r;->h:Lokhttp3/MediaType; iget-boolean v6, p0, Lt/r;->i:Z iget-boolean v7, p0, Lt/r;->j:Z iget-boolean v8, p0, Lt/r;->k:Z move-object v0, v9 invoke-direct/range {v0 .. v8}, Lt/n;->(Ljava/lang/String;Lq/u;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/MediaType;ZZZ)V iget-object v0, p0, Lt/r;->l:[Lt/l; const/4 v1, 0x0 if-eqz p1, :cond_0 array-length v2, p1 goto :goto_0 :cond_0 const/4 v2, 0x0 :goto_0 array-length v3, v0 if-ne v2, v3, :cond_a const/4 v3, 0x0 :goto_1 if-ge v3, v2, :cond_1 aget-object v4, v0, v3 aget-object v5, p1, v3 invoke-virtual {v4, v9, v5}, Lt/l;->a(Lt/n;Ljava/lang/Object;)V add-int/lit8 v3, v3, 0x1 goto :goto_1 :cond_1 iget-object p1, v9, Lt/n;->d:Lq/u$a; if-eqz p1, :cond_2 invoke-virtual {p1}, Lq/u$a;->a()Lq/u; move-result-object p1 goto :goto_2 :cond_2 iget-object p1, v9, Lt/n;->b:Lq/u; iget-object v0, v9, Lt/n;->c:Ljava/lang/String; invoke-virtual {p1, v0}, Lq/u;->b(Ljava/lang/String;)Lq/u; move-result-object p1 if-eqz p1, :cond_9 :goto_2 iget-object v0, v9, Lt/n;->j:Lokhttp3/RequestBody; if-nez v0, :cond_6 iget-object v2, v9, Lt/n;->i:Lq/s$a; if-eqz v2, :cond_3 invoke-virtual {v2}, Lq/s$a;->a()Lq/s; move-result-object v0 goto :goto_3 :cond_3 iget-object v2, v9, Lt/n;->h:Lokhttp3/MultipartBody$a; if-eqz v2, :cond_5 iget-object v0, v2, Lokhttp3/MultipartBody$a;->c:Ljava/util/List; invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z move-result v0 xor-int/lit8 v0, v0, 0x1 if-eqz v0, :cond_4 new-instance v0, Lokhttp3/MultipartBody; iget-object v1, v2, Lokhttp3/MultipartBody$a;->a:Lokio/ByteString; iget-object v3, v2, Lokhttp3/MultipartBody$a;->b:Lokhttp3/MediaType; iget-object v2, v2, Lokhttp3/MultipartBody$a;->c:Ljava/util/List; invoke-static {v2}, Lq/c0/a;->b(Ljava/util/List;)Ljava/util/List; move-result-object v2 invoke-direct {v0, v1, v3, v2}, Lokhttp3/MultipartBody;->(Lokio/ByteString;Lokhttp3/MediaType;Ljava/util/List;)V goto :goto_3 :cond_4 new-instance p1, Ljava/lang/IllegalStateException; const-string v0, "Multipart body must have at least one part." invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 :cond_5 iget-boolean v2, v9, Lt/n;->g:Z if-eqz v2, :cond_6 const/4 v0, 0x0 new-array v1, v1, [B invoke-static {v0, v1}, Lokhttp3/RequestBody;->create(Lokhttp3/MediaType;[B)Lokhttp3/RequestBody; move-result-object v0 :cond_6 :goto_3 iget-object v1, v9, Lt/n;->f:Lokhttp3/MediaType; if-eqz v1, :cond_8 if-eqz v0, :cond_7 new-instance v2, Lt/n$a; invoke-direct {v2, v0, v1}, Lt/n$a;->(Lokhttp3/RequestBody;Lokhttp3/MediaType;)V move-object v0, v2 goto :goto_4 :cond_7 iget-object v2, v9, Lt/n;->e:Lq/y$a; invoke-virtual {v1}, Lokhttp3/MediaType;->toString()Ljava/lang/String; move-result-object v1 const-string v3, "Content-Type" invoke-virtual {v2, v3, v1}, Lq/y$a;->a(Ljava/lang/String;Ljava/lang/String;)Lq/y$a; :cond_8 :goto_4 iget-object v1, v9, Lt/n;->e:Lq/y$a; iput-object p1, v1, Lq/y$a;->a:Lq/u; iget-object p1, v9, Lt/n;->a:Ljava/lang/String; invoke-virtual {v1, p1, v0}, Lq/y$a;->a(Ljava/lang/String;Lokhttp3/RequestBody;)Lq/y$a; invoke-virtual {v1}, Lq/y$a;->a()Lq/y; move-result-object p1 return-object p1 :cond_9 new-instance p1, Ljava/lang/IllegalArgumentException; const-string v0, "Malformed URL. Base: " invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, v9, Lt/n;->b:Lq/u; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, ", Relative: " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, v9, Lt/n;->c:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 :cond_a new-instance p1, Ljava/lang/IllegalArgumentException; const-string v1, "Argument count (" const-string v3, ") doesn\'t match expected count (" invoke-static {v1, v2, v3}, Le/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 array-length v0, v0 const-string v2, ")" invoke-static {v1, v0, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method