.class public Lh0/g$a$a; .super Ljava/lang/Object; .source "CompletableFutureCallAdapterFactory.java" # interfaces .implements Lh0/f; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lh0/g$a; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = "a" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lh0/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 (Lh0/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, Lh0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; return-void .end method # virtual methods .method public a(Lh0/d;Ljava/lang/Throwable;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lh0/d<", "TR;>;", "Ljava/lang/Throwable;", ")V" } .end annotation iget-object p1, p0, Lh0/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(Lh0/d;Lh0/b0;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lh0/d<", "TR;>;", "Lh0/b0<", "TR;>;)V" } .end annotation invoke-virtual {p2}, Lh0/b0;->a()Z move-result p1 if-eqz p1, :cond_0 iget-object p1, p0, Lh0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; iget-object p2, p2, Lh0/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, Lh0/g$a$a;->a:Ljava/util/concurrent/CompletableFuture; new-instance v0, Lretrofit2/HttpException; invoke-direct {v0, p2}, Lretrofit2/HttpException;->(Lh0/b0;)V invoke-virtual {p1, v0}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z :goto_0 return-void .end method