.class public final Lio/reactivex/internal/operators/observable/a0$a; .super Ljava/lang/Object; .source "ObservableDoOnEach.java" # interfaces .implements Lkh/g0; .implements Lio/reactivex/disposables/b; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/internal/operators/observable/a0; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "a" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lkh/g0<", "TT;>;", "Lio/reactivex/disposables/b;" } .end annotation # instance fields .field public final a:Lkh/g0; .annotation system Ldalvik/annotation/Signature; value = { "Lkh/g0<", "-TT;>;" } .end annotation .end field .field public final b:Lph/g; .annotation system Ldalvik/annotation/Signature; value = { "Lph/g<", "-TT;>;" } .end annotation .end field .field public final c:Lph/g; .annotation system Ldalvik/annotation/Signature; value = { "Lph/g<", "-", "Ljava/lang/Throwable;", ">;" } .end annotation .end field .field public final d:Lph/a; .field public final e:Lph/a; .field public f:Lio/reactivex/disposables/b; .field public g:Z # direct methods .method public constructor (Lkh/g0;Lph/g;Lph/g;Lph/a;Lph/a;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkh/g0<", "-TT;>;", "Lph/g<", "-TT;>;", "Lph/g<", "-", "Ljava/lang/Throwable;", ">;", "Lph/a;", "Lph/a;", ")V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lio/reactivex/internal/operators/observable/a0$a;->a:Lkh/g0; .line 3 iput-object p2, p0, Lio/reactivex/internal/operators/observable/a0$a;->b:Lph/g; .line 4 iput-object p3, p0, Lio/reactivex/internal/operators/observable/a0$a;->c:Lph/g; .line 5 iput-object p4, p0, Lio/reactivex/internal/operators/observable/a0$a;->d:Lph/a; .line 6 iput-object p5, p0, Lio/reactivex/internal/operators/observable/a0$a;->e:Lph/a; return-void .end method # virtual methods .method public dispose()V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->f:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V return-void .end method .method public isDisposed()Z .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->f:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z move-result v0 return v0 .end method .method public onComplete()V .locals 1 .line 1 iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->g:Z if-eqz v0, :cond_0 return-void .line 2 :cond_0 :try_start_0 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->d:Lph/a; invoke-interface {v0}, Lph/a;->run()V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->g:Z .line 4 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->a:Lkh/g0; invoke-interface {v0}, Lkh/g0;->onComplete()V .line 5 :try_start_1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->e:Lph/a; invoke-interface {v0}, Lph/a;->run()V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_0 :catchall_0 move-exception v0 .line 6 invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 7 invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V :goto_0 return-void :catchall_1 move-exception v0 .line 8 invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 9 invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/observable/a0$a;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 5 .line 1 iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->g:Z if-eqz v0, :cond_0 .line 2 invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V return-void :cond_0 const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->g:Z .line 4 :try_start_0 iget-object v1, p0, Lio/reactivex/internal/operators/observable/a0$a;->c:Lph/g; invoke-interface {v1, p1}, Lph/g;->accept(Ljava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception v1 .line 5 invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 6 new-instance v2, Lio/reactivex/exceptions/CompositeException; const/4 v3, 0x2 new-array v3, v3, [Ljava/lang/Throwable; const/4 v4, 0x0 aput-object p1, v3, v4 aput-object v1, v3, v0 invoke-direct {v2, v3}, Lio/reactivex/exceptions/CompositeException;->([Ljava/lang/Throwable;)V move-object p1, v2 .line 7 :goto_0 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->a:Lkh/g0; invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V .line 8 :try_start_1 iget-object p1, p0, Lio/reactivex/internal/operators/observable/a0$a;->e:Lph/a; invoke-interface {p1}, Lph/a;->run()V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_1 goto :goto_1 :catchall_1 move-exception p1 .line 9 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 10 invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V :goto_1 return-void .end method .method public onNext(Ljava/lang/Object;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->g:Z if-eqz v0, :cond_0 return-void .line 2 :cond_0 :try_start_0 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->b:Lph/g; invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 3 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->a:Lkh/g0; invoke-interface {v0, p1}, Lkh/g0;->onNext(Ljava/lang/Object;)V return-void :catchall_0 move-exception p1 .line 4 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 5 iget-object v0, p0, Lio/reactivex/internal/operators/observable/a0$a;->f:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V .line 6 invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/observable/a0$a;->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/observable/a0$a;->f:Lio/reactivex/disposables/b; invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z move-result v0 if-eqz v0, :cond_0 .line 2 iput-object p1, p0, Lio/reactivex/internal/operators/observable/a0$a;->f:Lio/reactivex/disposables/b; .line 3 iget-object p1, p0, Lio/reactivex/internal/operators/observable/a0$a;->a:Lkh/g0; invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V :cond_0 return-void .end method