2022-06-10 21:38:30 +09:00

179 lines
4.6 KiB
Smali

.class public final Lio/reactivex/internal/operators/flowable/FlowableReplay$c;
.super Lkh/j;
.source "FlowableReplay.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/FlowableReplay;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/flowable/FlowableReplay$c$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Lkh/j<",
"TR;>;"
}
.end annotation
# instance fields
.field public final b:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+",
"Loh/a<",
"TU;>;>;"
}
.end annotation
.end field
.field public final c:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-",
"Lkh/j<",
"TU;>;+",
"Lok/c<",
"TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Callable;Lph/o;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"+",
"Loh/a<",
"TU;>;>;",
"Lph/o<",
"-",
"Lkh/j<",
"TU;>;+",
"Lok/c<",
"TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lkh/j;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableReplay$c;->b:Ljava/util/concurrent/Callable;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/FlowableReplay$c;->c:Lph/o;
return-void
.end method
# virtual methods
.method public g6(Lok/d;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableReplay$c;->b:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "The connectableFactory returned null"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Loh/a;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 2
:try_start_1
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableReplay$c;->c:Lph/o;
invoke-interface {v1, v0}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
const-string v2, "The selector returned a null Publisher"
invoke-static {v1, v2}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lok/c;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 3
new-instance v2, Lio/reactivex/internal/subscribers/SubscriberResourceWrapper;
invoke-direct {v2, p1}, Lio/reactivex/internal/subscribers/SubscriberResourceWrapper;-><init>(Lok/d;)V
.line 4
invoke-interface {v1, v2}, Lok/c;->subscribe(Lok/d;)V
.line 5
new-instance p1, Lio/reactivex/internal/operators/flowable/FlowableReplay$c$a;
invoke-direct {p1, p0, v2}, Lio/reactivex/internal/operators/flowable/FlowableReplay$c$a;-><init>(Lio/reactivex/internal/operators/flowable/FlowableReplay$c;Lio/reactivex/internal/subscribers/SubscriberResourceWrapper;)V
invoke-virtual {v0, p1}, Loh/a;->M8(Lph/g;)V
return-void
:catchall_0
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;Lok/d;)V
return-void
:catchall_1
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
return-void
.end method