OnSubscribeLift.smali
.class public final Lrx/internal/operators/OnSubscribeLift;
.super Ljava/lang/Object;
.source "OnSubscribeLift.java"
# interfaces
.implements Lrx/Observable$OnSubscribe;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Observable$OnSubscribe<",
"TR;>;"
}
.end annotation
# instance fields
.field final operator:Lrx/Observable$Operator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable$Operator<",
"+TR;-TT;>;"
}
.end annotation
.end field
.field final parent:Lrx/Observable$OnSubscribe;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable$OnSubscribe<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lrx/Observable$OnSubscribe;Lrx/Observable$Operator;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable$OnSubscribe<",
"TT;>;",
"Lrx/Observable$Operator<",
"+TR;-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lrx/internal/operators/OnSubscribeLift;->parent:Lrx/Observable$OnSubscribe;
.line 3
iput-object p2, p0, Lrx/internal/operators/OnSubscribeLift;->operator:Lrx/Observable$Operator;
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lrx/Subscriber;
invoke-virtual {p0, p1}, Lrx/internal/operators/OnSubscribeLift;->call(Lrx/Subscriber;)V
return-void
.end method
.method public call(Lrx/Subscriber;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TR;>;)V"
}
.end annotation
.line 2
:try_start_0
iget-object v0, p0, Lrx/internal/operators/OnSubscribeLift;->operator:Lrx/Observable$Operator;
invoke-static {v0}, Lrx/plugins/RxJavaHooks;->onObservableLift(Lrx/Observable$Operator;)Lrx/Observable$Operator;
move-result-object v0
invoke-interface {v0, p1}, Lrx/functions/Func1;->call(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lrx/Subscriber;
:try_end_c
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_c} :catch_1d
.line 3
:try_start_c
invoke-virtual {v0}, Lrx/Subscriber;->onStart()V
.line 4
iget-object v1, p0, Lrx/internal/operators/OnSubscribeLift;->parent:Lrx/Observable$OnSubscribe;
invoke-interface {v1, v0}, Lrx/functions/Action1;->call(Ljava/lang/Object;)V
:try_end_14
.catch Ljava/lang/Throwable; {:try_start_c .. :try_end_14} :catch_15
goto :goto_24
:catch_15
move-exception v1
.line 5
:try_start_16
invoke-static {v1}, Lrx/exceptions/Exceptions;->throwIfFatal(Ljava/lang/Throwable;)V
.line 6
invoke-interface {v0, v1}, Lrx/Observer;->onError(Ljava/lang/Throwable;)V
:try_end_1c
.catch Ljava/lang/Throwable; {:try_start_16 .. :try_end_1c} :catch_1d
goto :goto_24
:catch_1d
move-exception v0
.line 7
invoke-static {v0}, Lrx/exceptions/Exceptions;->throwIfFatal(Ljava/lang/Throwable;)V
.line 8
invoke-interface {p1, v0}, Lrx/Observer;->onError(Ljava/lang/Throwable;)V
:goto_24
return-void
.end method