.class public Ls0/g$a$a; .super Ljava/lang/Object; .source "CompletableFutureCallAdapterFactory.java" # interfaces .implements Ls0/f; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Ls0/g$a; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = "a" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ls0/f<", "TR;>;" } .end annotation .annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement; .end annotation # instance fields .field public final a:Ljava/util/concurrent/CompletableFuture; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/CompletableFuture<", "TR;>;" } .end annotation .end field # direct methods .method public constructor (Ls0/g$a;Ljava/util/concurrent/CompletableFuture;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/concurrent/CompletableFuture<", "TR;>;)V" } .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p2, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; return-void .end method # virtual methods .method public a(Ls0/d;Ljava/lang/Throwable;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ls0/d<", "TR;>;", "Ljava/lang/Throwable;", ")V" } .end annotation iget-object p1, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z return-void .end method .method public b(Ls0/d;Ls0/b0;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ls0/d<", "TR;>;", "Ls0/b0<", "TR;>;)V" } .end annotation invoke-virtual {p2}, Ls0/b0;->a()Z move-result p1 if-eqz p1, :cond_0 iget-object p1, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; iget-object p2, p2, Ls0/b0;->b:Ljava/lang/Object; invoke-virtual {p1, p2}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z goto :goto_0 :cond_0 iget-object p1, p0, Ls0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; new-instance v0, Lretrofit2/HttpException; invoke-direct {v0, p2}, Lretrofit2/HttpException;->(Ls0/b0;)V invoke-virtual {p1, v0}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z :goto_0 return-void .end method