r.smali
.class public final Lio/reactivex/internal/operators/observable/r;
.super Lio/reactivex/p;
.source "ObservableDefer.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/p<",
"TT;>;"
}
.end annotation
# instance fields
.field final a:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+",
"Lio/reactivex/u<",
"+TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Callable;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"+",
"Lio/reactivex/u<",
"+TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/p;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/r;->a:Ljava/util/concurrent/Callable;
return-void
.end method
# virtual methods
.method public subscribeActual(Lio/reactivex/w;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/w<",
"-TT;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/r;->a:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "null ObservableSource supplied"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Lio/reactivex/u;
:try_end_d
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_d} :catch_11
.line 2
invoke-interface {v0, p1}, Lio/reactivex/u;->subscribe(Lio/reactivex/w;)V
return-void
:catch_11
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/w;)V
return-void
.end method