k4.smali
.class public final Lio/reactivex/internal/operators/observable/k4;
.super Lio/reactivex/l;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/k4$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"D:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/l<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+TD;>;"
}
.end annotation
.end field
.field public final b:Lio/reactivex/functions/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/n<",
"-TD;+",
"Lio/reactivex/q<",
"+TT;>;>;"
}
.end annotation
.end field
.field public final c:Lio/reactivex/functions/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/f<",
"-TD;>;"
}
.end annotation
.end field
.field public final d:Z
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Callable;Lio/reactivex/functions/n;Lio/reactivex/functions/f;Z)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"+TD;>;",
"Lio/reactivex/functions/n<",
"-TD;+",
"Lio/reactivex/q<",
"+TT;>;>;",
"Lio/reactivex/functions/f<",
"-TD;>;Z)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/l;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/k4;->a:Ljava/util/concurrent/Callable;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/k4;->b:Lio/reactivex/functions/n;
.line 4
iput-object p3, p0, Lio/reactivex/internal/operators/observable/k4;->c:Lio/reactivex/functions/f;
.line 5
iput-boolean p4, p0, Lio/reactivex/internal/operators/observable/k4;->d:Z
return-void
.end method
# virtual methods
.method public final subscribeActual(Lio/reactivex/s;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/s<",
"-TT;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/k4;->a:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
:try_end_6
.catchall {:try_start_0 .. :try_end_6} :catchall_43
.line 2
:try_start_6
iget-object v1, p0, Lio/reactivex/internal/operators/observable/k4;->b:Lio/reactivex/functions/n;
invoke-interface {v1, v0}, Lio/reactivex/functions/n;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
const-string v2, "The sourceSupplier returned a null ObservableSource"
.line 3
invoke-static {v1, v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 4
check-cast v1, Lio/reactivex/q;
:try_end_13
.catchall {:try_start_6 .. :try_end_13} :catchall_20
.line 5
new-instance v2, Lio/reactivex/internal/operators/observable/k4$a;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/k4;->c:Lio/reactivex/functions/f;
iget-boolean v4, p0, Lio/reactivex/internal/operators/observable/k4;->d:Z
invoke-direct {v2, p1, v0, v3, v4}, Lio/reactivex/internal/operators/observable/k4$a;-><init>(Lio/reactivex/s;Ljava/lang/Object;Lio/reactivex/functions/f;Z)V
.line 6
invoke-interface {v1, v2}, Lio/reactivex/q;->subscribe(Lio/reactivex/s;)V
return-void
:catchall_20
move-exception v1
.line 7
invoke-static {v1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 8
:try_start_24
iget-object v2, p0, Lio/reactivex/internal/operators/observable/k4;->c:Lio/reactivex/functions/f;
invoke-interface {v2, v0}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
:try_end_29
.catchall {:try_start_24 .. :try_end_29} :catchall_2d
.line 9
invoke-static {v1, p1}, Lio/reactivex/internal/disposables/d;->error(Ljava/lang/Throwable;Lio/reactivex/s;)V
return-void
:catchall_2d
move-exception v0
.line 10
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 11
new-instance v2, Lio/reactivex/exceptions/a;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Throwable;
const/4 v4, 0x0
aput-object v1, v3, v4
const/4 v1, 0x1
aput-object v0, v3, v1
invoke-direct {v2, v3}, Lio/reactivex/exceptions/a;-><init>([Ljava/lang/Throwable;)V
invoke-static {v2, p1}, Lio/reactivex/internal/disposables/d;->error(Ljava/lang/Throwable;Lio/reactivex/s;)V
return-void
:catchall_43
move-exception v0
.line 12
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 13
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/d;->error(Ljava/lang/Throwable;Lio/reactivex/s;)V
return-void
.end method