Completable$33$1.smali
.class Lrx/Completable$33$1;
.super Ljava/lang/Object;
.source "Completable.java"
# interfaces
.implements Lrx/CompletableSubscriber;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrx/Completable$33;->call(Lrx/SingleSubscriber;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lrx/Completable$33;
.field final synthetic val$s:Lrx/SingleSubscriber;
# direct methods
.method constructor <init>(Lrx/Completable$33;Lrx/SingleSubscriber;)V
.registers 3
.line 1
iput-object p1, p0, Lrx/Completable$33$1;->this$1:Lrx/Completable$33;
iput-object p2, p0, Lrx/Completable$33$1;->val$s:Lrx/SingleSubscriber;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCompleted()V
.registers 4
.line 1
:try_start_0
iget-object v0, p0, Lrx/Completable$33$1;->this$1:Lrx/Completable$33;
iget-object v0, v0, Lrx/Completable$33;->val$completionValueFunc0:Lrx/functions/Func0;
invoke-interface {v0}, Lrx/functions/Func0;->call()Ljava/lang/Object;
move-result-object v0
:try_end_8
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_8} :catch_1d
if-nez v0, :cond_17
.line 2
iget-object v0, p0, Lrx/Completable$33$1;->val$s:Lrx/SingleSubscriber;
new-instance v1, Ljava/lang/NullPointerException;
const-string v2, "The value supplied is null"
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, v1}, Lrx/SingleSubscriber;->onError(Ljava/lang/Throwable;)V
goto :goto_1c
.line 3
:cond_17
iget-object v1, p0, Lrx/Completable$33$1;->val$s:Lrx/SingleSubscriber;
invoke-virtual {v1, v0}, Lrx/SingleSubscriber;->onSuccess(Ljava/lang/Object;)V
:goto_1c
return-void
:catch_1d
move-exception v0
.line 4
iget-object v1, p0, Lrx/Completable$33$1;->val$s:Lrx/SingleSubscriber;
invoke-virtual {v1, v0}, Lrx/SingleSubscriber;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lrx/Completable$33$1;->val$s:Lrx/SingleSubscriber;
invoke-virtual {v0, p1}, Lrx/SingleSubscriber;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lrx/Subscription;)V
.registers 3
.line 1
iget-object v0, p0, Lrx/Completable$33$1;->val$s:Lrx/SingleSubscriber;
invoke-virtual {v0, p1}, Lrx/SingleSubscriber;->add(Lrx/Subscription;)V
return-void
.end method