173 lines
4.1 KiB
Smali
173 lines
4.1 KiB
Smali
.class public final Lio/reactivex/internal/operators/single/x$a;
|
|
.super Ljava/lang/Object;
|
|
.source "SingleOnErrorReturn.java"
|
|
|
|
# interfaces
|
|
.implements Lkh/l0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lio/reactivex/internal/operators/single/x;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x11
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lkh/l0<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkh/l0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkh/l0<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final synthetic b:Lio/reactivex/internal/operators/single/x;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lio/reactivex/internal/operators/single/x;Lkh/l0;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/l0<",
|
|
"-TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/single/x$a;->b:Lio/reactivex/internal/operators/single/x;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/single/x$a;->a:Lkh/l0;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/single/x$a;->b:Lio/reactivex/internal/operators/single/x;
|
|
|
|
iget-object v1, v0, Lio/reactivex/internal/operators/single/x;->b:Lph/o;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
invoke-interface {v1, p1}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 3
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 4
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/single/x$a;->a:Lkh/l0;
|
|
|
|
new-instance v2, Lio/reactivex/exceptions/CompositeException;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
new-array v3, v3, [Ljava/lang/Throwable;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object p1, v3, v4
|
|
|
|
const/4 p1, 0x1
|
|
|
|
aput-object v0, v3, p1
|
|
|
|
invoke-direct {v2, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
|
|
|
|
invoke-interface {v1, v2}, Lkh/l0;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
.line 5
|
|
:cond_0
|
|
iget-object v0, v0, Lio/reactivex/internal/operators/single/x;->c:Ljava/lang/Object;
|
|
|
|
:goto_0
|
|
if-nez v0, :cond_1
|
|
|
|
.line 6
|
|
new-instance v0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v1, "Value supplied was null"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 7
|
|
invoke-virtual {v0, p1}, Ljava/lang/NullPointerException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
.line 8
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/single/x$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {p1, v0}, Lkh/l0;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_1
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/single/x$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {p1, v0}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSubscribe(Lio/reactivex/disposables/b;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/single/x$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {v0, p1}, Lkh/l0;->onSubscribe(Lio/reactivex/disposables/b;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSuccess(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/single/x$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {v0, p1}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|