.class Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallAdapter; .super Ljava/lang/Object; .source "CompletableHelper.java" # interfaces .implements Lretrofit2/CallAdapter; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lretrofit2/adapter/rxjava/CompletableHelper; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "CompletableCallAdapter" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lretrofit2/CallAdapter", "<", "Lrx/Completable;", ">;" } .end annotation # instance fields .field private final scheduler:Lrx/Scheduler; # direct methods .method constructor (Lrx/Scheduler;)V .locals 0 .param p1, "scheduler" # Lrx/Scheduler; .prologue invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallAdapter;->scheduler:Lrx/Scheduler; return-void .end method # virtual methods .method public bridge synthetic adapt(Lretrofit2/Call;)Ljava/lang/Object; .locals 1 .prologue invoke-virtual {p0, p1}, Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallAdapter;->adapt(Lretrofit2/Call;)Lrx/Completable; move-result-object v0 return-object v0 .end method .method public adapt(Lretrofit2/Call;)Lrx/Completable; .locals 2 .param p1, "call" # Lretrofit2/Call; .prologue new-instance v1, Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallOnSubscribe; invoke-direct {v1, p1}, Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallOnSubscribe;->(Lretrofit2/Call;)V invoke-static {v1}, Lrx/Completable;->create(Lrx/Completable$CompletableOnSubscribe;)Lrx/Completable; move-result-object v0 .local v0, "completable":Lrx/Completable; iget-object v1, p0, Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallAdapter;->scheduler:Lrx/Scheduler; if-eqz v1, :cond_0 iget-object v1, p0, Lretrofit2/adapter/rxjava/CompletableHelper$CompletableCallAdapter;->scheduler:Lrx/Scheduler; invoke-virtual {v0, v1}, Lrx/Completable;->subscribeOn(Lrx/Scheduler;)Lrx/Completable; move-result-object v0 .end local v0 # "completable":Lrx/Completable; :cond_0 return-object v0 .end method .method public responseType()Ljava/lang/reflect/Type; .locals 1 .prologue const-class v0, Ljava/lang/Void; return-object v0 .end method