a$a.smali
.class final Lio/reactivex/internal/operators/single/a$a;
.super Ljava/lang/Object;
.source "SingleMap.java"
# interfaces
.implements Lio/reactivex/z;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/single/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/z<",
"TT;>;"
}
.end annotation
# instance fields
.field final a:Lio/reactivex/z;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/z<",
"-TR;>;"
}
.end annotation
.end field
.field final b:Lio/reactivex/b/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/o<",
"-TT;+TR;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lio/reactivex/z;Lio/reactivex/b/o;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/z<",
"-TR;>;",
"Lio/reactivex/b/o<",
"-TT;+TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/single/a$a;->a:Lio/reactivex/z;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/single/a$a;->b:Lio/reactivex/b/o;
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/single/a$a;->a:Lio/reactivex/z;
invoke-interface {v0, p1}, Lio/reactivex/z;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/single/a$a;->a:Lio/reactivex/z;
invoke-interface {v0, p1}, Lio/reactivex/z;->onSubscribe(Lio/reactivex/disposables/b;)V
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/single/a$a;->b:Lio/reactivex/b/o;
invoke-interface {v0, p1}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper function returned a null value."
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_b
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_11
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/single/a$a;->a:Lio/reactivex/z;
invoke-interface {v0, p1}, Lio/reactivex/z;->onSuccess(Ljava/lang/Object;)V
return-void
:catch_11
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/single/a$a;->onError(Ljava/lang/Throwable;)V
return-void
.end method