.class public final Lio/reactivex/internal/operators/completable/a0$a; .super Ljava/lang/Object; .source "CompletableToSingle.java" # interfaces .implements Lkh/d; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/internal/operators/completable/a0; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x11 name = "a" .end annotation # instance fields .field public final a:Lkh/l0; .annotation system Ldalvik/annotation/Signature; value = { "Lkh/l0<", "-TT;>;" } .end annotation .end field .field public final synthetic b:Lio/reactivex/internal/operators/completable/a0; # direct methods .method public constructor (Lio/reactivex/internal/operators/completable/a0;Lkh/l0;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkh/l0<", "-TT;>;)V" } .end annotation .line 1 iput-object p1, p0, Lio/reactivex/internal/operators/completable/a0$a;->b:Lio/reactivex/internal/operators/completable/a0; invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p2, p0, Lio/reactivex/internal/operators/completable/a0$a;->a:Lkh/l0; return-void .end method # virtual methods .method public onComplete()V .locals 3 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/completable/a0$a;->b:Lio/reactivex/internal/operators/completable/a0; iget-object v1, v0, Lio/reactivex/internal/operators/completable/a0;->b:Ljava/util/concurrent/Callable; if-eqz v1, :cond_0 .line 2 :try_start_0 invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object; move-result-object v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception v0 .line 3 invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 4 iget-object v1, p0, Lio/reactivex/internal/operators/completable/a0$a;->a:Lkh/l0; invoke-interface {v1, v0}, Lkh/l0;->onError(Ljava/lang/Throwable;)V return-void .line 5 :cond_0 iget-object v0, v0, Lio/reactivex/internal/operators/completable/a0;->c:Ljava/lang/Object; :goto_0 if-nez v0, :cond_1 .line 6 iget-object v0, p0, Lio/reactivex/internal/operators/completable/a0$a;->a:Lkh/l0; new-instance v1, Ljava/lang/NullPointerException; const-string v2, "The value supplied is null" invoke-direct {v1, v2}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V invoke-interface {v0, v1}, Lkh/l0;->onError(Ljava/lang/Throwable;)V goto :goto_1 .line 7 :cond_1 iget-object v1, p0, Lio/reactivex/internal/operators/completable/a0$a;->a:Lkh/l0; invoke-interface {v1, v0}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V :goto_1 return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/completable/a0$a;->a:Lkh/l0; invoke-interface {v0, p1}, Lkh/l0;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onSubscribe(Lio/reactivex/disposables/b;)V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/completable/a0$a;->a:Lkh/l0; invoke-interface {v0, p1}, Lkh/l0;->onSubscribe(Lio/reactivex/disposables/b;)V return-void .end method