m$a.smali
.class final Lio/reactivex/internal/operators/flowable/m$a;
.super Lio/reactivex/e;
.source "FlowableScalarXMap.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/m;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/e<",
"TR;>;"
}
.end annotation
# instance fields
.field final b:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field final c:Lio/reactivex/b/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/o<",
"-TT;+",
"Lf/b/b<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Ljava/lang/Object;Lio/reactivex/b/o;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Lio/reactivex/b/o<",
"-TT;+",
"Lf/b/b<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/e;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/m$a;->b:Ljava/lang/Object;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/m$a;->c:Lio/reactivex/b/o;
return-void
.end method
# virtual methods
.method public b(Lf/b/c;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/b/c<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/m$a;->c:Lio/reactivex/b/o;
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/m$a;->b:Ljava/lang/Object;
invoke-interface {v0, v1}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Publisher"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Lf/b/b;
:try_end_f
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_f} :catch_34
.line 2
instance-of v1, v0, Ljava/util/concurrent/Callable;
if-eqz v1, :cond_30
.line 3
:try_start_13
check-cast v0, Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
:try_end_19
.catch Ljava/lang/Throwable; {:try_start_13 .. :try_end_19} :catch_28
if-nez v0, :cond_1f
.line 4
invoke-static {p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->complete(Lf/b/c;)V
return-void
.line 5
:cond_1f
new-instance v1, Lio/reactivex/internal/subscriptions/ScalarSubscription;
invoke-direct {v1, p1, v0}, Lio/reactivex/internal/subscriptions/ScalarSubscription;-><init>(Lf/b/c;Ljava/lang/Object;)V
invoke-interface {p1, v1}, Lf/b/c;->onSubscribe(Lf/b/d;)V
goto :goto_33
:catch_28
move-exception v0
.line 6
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 7
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lf/b/c;)V
return-void
.line 8
:cond_30
invoke-interface {v0, p1}, Lf/b/b;->a(Lf/b/c;)V
:goto_33
return-void
:catch_34
move-exception v0
.line 9
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lf/b/c;)V
return-void
.end method