r.smali
.class public final Lio/reactivex/internal/operators/observable/r;
.super Lio/reactivex/u;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/internal/fuseable/b;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/r$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/u<",
"TU;>;",
"Lio/reactivex/internal/fuseable/b<",
"TU;>;"
}
.end annotation
# instance fields
.field public final a:Lio/reactivex/q;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/q<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+TU;>;"
}
.end annotation
.end field
.field public final c:Lio/reactivex/functions/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/b<",
"-TU;-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/q;Ljava/util/concurrent/Callable;Lio/reactivex/functions/b;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/q<",
"TT;>;",
"Ljava/util/concurrent/Callable<",
"+TU;>;",
"Lio/reactivex/functions/b<",
"-TU;-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/u;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/r;->a:Lio/reactivex/q;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/r;->b:Ljava/util/concurrent/Callable;
.line 4
iput-object p3, p0, Lio/reactivex/internal/operators/observable/r;->c:Lio/reactivex/functions/b;
return-void
.end method
# virtual methods
.method public final b()Lio/reactivex/l;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lio/reactivex/l<",
"TU;>;"
}
.end annotation
new-instance v0, Lio/reactivex/internal/operators/observable/q;
iget-object v1, p0, Lio/reactivex/internal/operators/observable/r;->a:Lio/reactivex/q;
iget-object v2, p0, Lio/reactivex/internal/operators/observable/r;->b:Ljava/util/concurrent/Callable;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/r;->c:Lio/reactivex/functions/b;
invoke-direct {v0, v1, v2, v3}, Lio/reactivex/internal/operators/observable/q;-><init>(Lio/reactivex/q;Ljava/util/concurrent/Callable;Lio/reactivex/functions/b;)V
return-object v0
.end method
.method public final g(Lio/reactivex/v;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/v<",
"-TU;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/r;->b:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "The initialSupplier returned a null value"
.line 2
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_b
.catchall {:try_start_0 .. :try_end_b} :catchall_18
.line 3
iget-object v1, p0, Lio/reactivex/internal/operators/observable/r;->a:Lio/reactivex/q;
new-instance v2, Lio/reactivex/internal/operators/observable/r$a;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/r;->c:Lio/reactivex/functions/b;
invoke-direct {v2, p1, v0, v3}, Lio/reactivex/internal/operators/observable/r$a;-><init>(Lio/reactivex/v;Ljava/lang/Object;Lio/reactivex/functions/b;)V
invoke-interface {v1, v2}, Lio/reactivex/q;->subscribe(Lio/reactivex/s;)V
return-void
:catchall_18
move-exception v0
.line 4
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/d;->error(Ljava/lang/Throwable;Lio/reactivex/v;)V
return-void
.end method