z$a.smali
.class final Lio/reactivex/internal/operators/observable/z$a;
.super Ljava/lang/Object;
.source "ObservableDoOnEach.java"
# interfaces
.implements Lio/reactivex/w;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/z;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/w<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field final a:Lio/reactivex/w;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/w<",
"-TT;>;"
}
.end annotation
.end field
.field final b:Lio/reactivex/b/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/g<",
"-TT;>;"
}
.end annotation
.end field
.field final c:Lio/reactivex/b/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field final d:Lio/reactivex/b/a;
.field final e:Lio/reactivex/b/a;
.field f:Lio/reactivex/disposables/b;
.field g:Z
# direct methods
.method constructor <init>(Lio/reactivex/w;Lio/reactivex/b/g;Lio/reactivex/b/g;Lio/reactivex/b/a;Lio/reactivex/b/a;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/w<",
"-TT;>;",
"Lio/reactivex/b/g<",
"-TT;>;",
"Lio/reactivex/b/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/b/a;",
"Lio/reactivex/b/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/z$a;->a:Lio/reactivex/w;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/z$a;->b:Lio/reactivex/b/g;
.line 4
iput-object p3, p0, Lio/reactivex/internal/operators/observable/z$a;->c:Lio/reactivex/b/g;
.line 5
iput-object p4, p0, Lio/reactivex/internal/operators/observable/z$a;->d:Lio/reactivex/b/a;
.line 6
iput-object p5, p0, Lio/reactivex/internal/operators/observable/z$a;->e:Lio/reactivex/b/a;
return-void
.end method
# virtual methods
.method public dispose()V
.registers 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->f:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public isDisposed()Z
.registers 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$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
.registers 2
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/z$a;->g:Z
if-eqz v0, :cond_5
return-void
.line 2
:cond_5
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->d:Lio/reactivex/b/a;
invoke-interface {v0}, Lio/reactivex/b/a;->run()V
:try_end_a
.catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_a} :catch_20
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/z$a;->g:Z
.line 4
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->a:Lio/reactivex/w;
invoke-interface {v0}, Lio/reactivex/w;->onComplete()V
.line 5
:try_start_12
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->e:Lio/reactivex/b/a;
invoke-interface {v0}, Lio/reactivex/b/a;->run()V
:try_end_17
.catch Ljava/lang/Throwable; {:try_start_12 .. :try_end_17} :catch_18
goto :goto_1f
:catch_18
move-exception v0
.line 6
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 7
invoke-static {v0}, Lio/reactivex/e/a;->b(Ljava/lang/Throwable;)V
:goto_1f
return-void
:catch_20
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/z$a;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 7
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/z$a;->g:Z
if-eqz v0, :cond_8
.line 2
invoke-static {p1}, Lio/reactivex/e/a;->b(Ljava/lang/Throwable;)V
return-void
:cond_8
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/z$a;->g:Z
.line 4
:try_start_b
iget-object v1, p0, Lio/reactivex/internal/operators/observable/z$a;->c:Lio/reactivex/b/g;
invoke-interface {v1, p1}, Lio/reactivex/b/g;->accept(Ljava/lang/Object;)V
:try_end_10
.catch Ljava/lang/Throwable; {:try_start_b .. :try_end_10} :catch_11
goto :goto_23
:catch_11
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;-><init>([Ljava/lang/Throwable;)V
move-object p1, v2
.line 7
:goto_23
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onError(Ljava/lang/Throwable;)V
.line 8
:try_start_28
iget-object p1, p0, Lio/reactivex/internal/operators/observable/z$a;->e:Lio/reactivex/b/a;
invoke-interface {p1}, Lio/reactivex/b/a;->run()V
:try_end_2d
.catch Ljava/lang/Throwable; {:try_start_28 .. :try_end_2d} :catch_2e
goto :goto_35
:catch_2e
move-exception p1
.line 9
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 10
invoke-static {p1}, Lio/reactivex/e/a;->b(Ljava/lang/Throwable;)V
:goto_35
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/z$a;->g:Z
if-eqz v0, :cond_5
return-void
.line 2
:cond_5
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->b:Lio/reactivex/b/g;
invoke-interface {v0, p1}, Lio/reactivex/b/g;->accept(Ljava/lang/Object;)V
:try_end_a
.catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_a} :catch_10
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onNext(Ljava/lang/Object;)V
return-void
:catch_10
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/z$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/z$a;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/z$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_f
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/z$a;->f:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lio/reactivex/internal/operators/observable/z$a;->a:Lio/reactivex/w;
invoke-interface {p1, p0}, Lio/reactivex/w;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_f
return-void
.end method