.class public final Lokhttp3/MultipartBody$Part$a; .super Ljava/lang/Object; .source "MultipartBody.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/MultipartBody$Part; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "a" .end annotation # direct methods .method private constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public synthetic constructor (B)V .locals 0 invoke-direct {p0}, Lokhttp3/MultipartBody$Part$a;->()V return-void .end method .method public static b(Lokhttp3/Headers;Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Part; .locals 4 const-string v0, "body" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 if-eqz p0, :cond_0 const-string v1, "Content-Type" invoke-virtual {p0, v1}, Lokhttp3/Headers;->dB(Ljava/lang/String;)Ljava/lang/String; move-result-object v1 goto :goto_0 :cond_0 move-object v1, v0 :goto_0 const/4 v2, 0x1 const/4 v3, 0x0 if-nez v1, :cond_1 const/4 v1, 0x1 goto :goto_1 :cond_1 const/4 v1, 0x0 :goto_1 if-eqz v1, :cond_5 if-eqz p0, :cond_2 const-string v0, "Content-Length" invoke-virtual {p0, v0}, Lokhttp3/Headers;->dB(Ljava/lang/String;)Ljava/lang/String; move-result-object v0 :cond_2 if-nez v0, :cond_3 goto :goto_2 :cond_3 const/4 v2, 0x0 :goto_2 if-eqz v2, :cond_4 new-instance v0, Lokhttp3/MultipartBody$Part; invoke-direct {v0, p0, p1, v3}, Lokhttp3/MultipartBody$Part;->(Lokhttp3/Headers;Lokhttp3/RequestBody;B)V return-object v0 :cond_4 new-instance p0, Ljava/lang/IllegalArgumentException; const-string p1, "Unexpected header: Content-Length" invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V check-cast p0, Ljava/lang/Throwable; throw p0 :cond_5 new-instance p0, Ljava/lang/IllegalArgumentException; const-string p1, "Unexpected header: Content-Type" invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V check-cast p0, Ljava/lang/Throwable; throw p0 .end method