239 lines
5.8 KiB
Smali
239 lines
5.8 KiB
Smali
.class public final Lio/reactivex/internal/operators/maybe/MaybeUsing;
|
|
.super Lkh/q;
|
|
.source "MaybeUsing.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/internal/operators/maybe/MaybeUsing$UsingObserver;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"D:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lkh/q<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/util/concurrent/Callable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/Callable<",
|
|
"+TD;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:Lph/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/o<",
|
|
"-TD;+",
|
|
"Lkh/w<",
|
|
"+TT;>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Lph/g;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/g<",
|
|
"-TD;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/concurrent/Callable;Lph/o;Lph/g;Z)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"+TD;>;",
|
|
"Lph/o<",
|
|
"-TD;+",
|
|
"Lkh/w<",
|
|
"+TT;>;>;",
|
|
"Lph/g<",
|
|
"-TD;>;Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lkh/q;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->a:Ljava/util/concurrent/Callable;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->b:Lph/o;
|
|
|
|
.line 4
|
|
iput-object p3, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->c:Lph/g;
|
|
|
|
.line 5
|
|
iput-boolean p4, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->d:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public p1(Lkh/t;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/t<",
|
|
"-TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->a:Ljava/util/concurrent/Callable;
|
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_3
|
|
|
|
.line 2
|
|
:try_start_1
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->b:Lph/o;
|
|
|
|
invoke-interface {v1, v0}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "The sourceSupplier returned a null MaybeSource"
|
|
|
|
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, Lkh/w;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 3
|
|
new-instance v2, Lio/reactivex/internal/operators/maybe/MaybeUsing$UsingObserver;
|
|
|
|
iget-object v3, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->c:Lph/g;
|
|
|
|
iget-boolean v4, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->d:Z
|
|
|
|
invoke-direct {v2, p1, v0, v3, v4}, Lio/reactivex/internal/operators/maybe/MaybeUsing$UsingObserver;-><init>(Lkh/t;Ljava/lang/Object;Lph/g;Z)V
|
|
|
|
invoke-interface {v1, v2}, Lkh/w;->b(Lkh/t;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 4
|
|
invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 5
|
|
iget-boolean v2, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->d:Z
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 6
|
|
:try_start_2
|
|
iget-object v2, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->c:Lph/g;
|
|
|
|
invoke-interface {v2, v0}, Lph/g;->accept(Ljava/lang/Object;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
.line 7
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 8
|
|
new-instance v2, Lio/reactivex/exceptions/CompositeException;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
new-array v3, v3, [Ljava/lang/Throwable;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v1, v3, v4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
aput-object v0, v3, v1
|
|
|
|
invoke-direct {v2, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
|
|
|
|
invoke-static {v2, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/t;)V
|
|
|
|
return-void
|
|
|
|
.line 9
|
|
:cond_0
|
|
:goto_0
|
|
invoke-static {v1, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/t;)V
|
|
|
|
.line 10
|
|
iget-boolean p1, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->d:Z
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 11
|
|
:try_start_3
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/maybe/MaybeUsing;->c:Lph/g;
|
|
|
|
invoke-interface {p1, v0}, Lph/g;->accept(Ljava/lang/Object;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_2
|
|
move-exception p1
|
|
|
|
.line 12
|
|
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 13
|
|
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
|
|
|
|
:cond_1
|
|
:goto_1
|
|
return-void
|
|
|
|
:catchall_3
|
|
move-exception v0
|
|
|
|
.line 14
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 15
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/t;)V
|
|
|
|
return-void
|
|
.end method
|