FlowableDefer.smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableDefer;
.super Lio/reactivex/Flowable;
.source "FlowableDefer.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/Flowable<",
"TT;>;"
}
.end annotation
# instance fields
.field final supplier:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+",
"Lorg/reactivestreams/Publisher<",
"+TT;>;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ljava/util/concurrent/Callable;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"+",
"Lorg/reactivestreams/Publisher<",
"+TT;>;>;)V"
}
.end annotation
.line 27
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDefer;, "Lio/reactivex/internal/operators/flowable/FlowableDefer<TT;>;"
.local p1, "supplier":Ljava/util/concurrent/Callable;, "Ljava/util/concurrent/Callable<+Lorg/reactivestreams/Publisher<+TT;>;>;"
invoke-direct {p0}, Lio/reactivex/Flowable;-><init>()V
.line 28
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableDefer;->supplier:Ljava/util/concurrent/Callable;
.line 29
return-void
.end method
# virtual methods
.method public subscribeActual(Lorg/reactivestreams/Subscriber;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/Subscriber<",
"-TT;>;)V"
}
.end annotation
.line 34
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDefer;, "Lio/reactivex/internal/operators/flowable/FlowableDefer<TT;>;"
.local p1, "s":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-TT;>;"
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDefer;->supplier:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "The publisher supplied is null"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lorg/reactivestreams/Publisher;
:try_end_e
.catchall {:try_start_0 .. :try_end_e} :catchall_13
.line 39
.local v0, "pub":Lorg/reactivestreams/Publisher;, "Lorg/reactivestreams/Publisher<+TT;>;"
nop
.line 41
invoke-interface {v0, p1}, Lorg/reactivestreams/Publisher;->subscribe(Lorg/reactivestreams/Subscriber;)V
.line 42
return-void
.line 35
.end local v0 # "pub":Lorg/reactivestreams/Publisher;, "Lorg/reactivestreams/Publisher<+TT;>;"
:catchall_13
move-exception v0
.line 36
.local v0, "t":Ljava/lang/Throwable;
invoke-static {v0}, Lio/reactivex/exceptions/Exceptions;->throwIfFatal(Ljava/lang/Throwable;)V
.line 37
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lorg/reactivestreams/Subscriber;)V
.line 38
return-void
.end method