.class public final Lio/reactivex/plugins/RxJavaPlugins; .super Ljava/lang/Object; .source "RxJavaPlugins.java" # static fields .field static volatile a:Lio/reactivex/functions/Consumer; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Consumer<", "-", "Ljava/lang/Throwable;", ">;" } .end annotation .end field .field static volatile b:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Ljava/lang/Runnable;", "+", "Ljava/lang/Runnable;", ">;" } .end annotation .end field .field static volatile c:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile d:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile e:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile f:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile g:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Scheduler;", "+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile h:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Scheduler;", "+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile i:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Scheduler;", "+", "Lio/reactivex/Scheduler;", ">;" } .end annotation .end field .field static volatile j:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Flowable;", "+", "Lio/reactivex/Flowable;", ">;" } .end annotation .end field .field static volatile k:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Observable;", "+", "Lio/reactivex/Observable;", ">;" } .end annotation .end field .field static volatile l:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/observables/ConnectableObservable;", "+", "Lio/reactivex/observables/ConnectableObservable;", ">;" } .end annotation .end field .field static volatile m:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Maybe;", "+", "Lio/reactivex/Maybe;", ">;" } .end annotation .end field .field static volatile n:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Single;", "+", "Lio/reactivex/Single;", ">;" } .end annotation .end field .field static volatile o:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/Completable;", "+", "Lio/reactivex/Completable;", ">;" } .end annotation .end field .field static volatile p:Lio/reactivex/functions/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/Function<", "-", "Lio/reactivex/parallel/ParallelFlowable;", "+", "Lio/reactivex/parallel/ParallelFlowable;", ">;" } .end annotation .end field .field static volatile q:Lio/reactivex/functions/BiFunction; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/BiFunction<", "-", "Lio/reactivex/Flowable;", "-", "Le/b/Subscriber;", "+", "Le/b/Subscriber;", ">;" } .end annotation .end field .field static volatile r:Lio/reactivex/functions/BiFunction; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/BiFunction<", "-", "Lio/reactivex/Maybe;", "-", "Lio/reactivex/MaybeObserver;", "+", "Lio/reactivex/MaybeObserver;", ">;" } .end annotation .end field .field static volatile s:Lio/reactivex/functions/BiFunction; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/BiFunction<", "-", "Lio/reactivex/Observable;", "-", "Lio/reactivex/Observer;", "+", "Lio/reactivex/Observer;", ">;" } .end annotation .end field .field static volatile t:Lio/reactivex/functions/BiFunction; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/BiFunction<", "-", "Lio/reactivex/Single;", "-", "Lio/reactivex/SingleObserver;", "+", "Lio/reactivex/SingleObserver;", ">;" } .end annotation .end field .field static volatile u:Lio/reactivex/functions/BiFunction; .annotation system Ldalvik/annotation/Signature; value = { "Lio/reactivex/functions/BiFunction<", "-", "Lio/reactivex/Completable;", "-", "Lio/reactivex/CompletableObserver;", "+", "Lio/reactivex/CompletableObserver;", ">;" } .end annotation .end field .field static volatile v:Lio/reactivex/functions/BooleanSupplier; .field static volatile w:Z .field static volatile x:Z # direct methods .method public static a(Lio/reactivex/Completable;)Lio/reactivex/Completable; .locals 1 .line 36 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->o:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 37 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Completable; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/observables/ConnectableObservable;)Lio/reactivex/observables/ConnectableObservable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/observables/ConnectableObservable<", "TT;>;)", "Lio/reactivex/observables/ConnectableObservable<", "TT;>;" } .end annotation .line 32 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->l:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 33 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/observables/ConnectableObservable; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/Completable;Lio/reactivex/CompletableObserver;)Lio/reactivex/CompletableObserver; .locals 1 .line 22 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->u:Lio/reactivex/functions/BiFunction; if-eqz v0, :cond_0 .line 23 invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/CompletableObserver; return-object p0 :cond_0 return-object p1 .end method .method public static a(Lio/reactivex/parallel/ParallelFlowable;)Lio/reactivex/parallel/ParallelFlowable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/parallel/ParallelFlowable<", "TT;>;)", "Lio/reactivex/parallel/ParallelFlowable<", "TT;>;" } .end annotation .line 38 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->p:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 39 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/parallel/ParallelFlowable; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/Flowable;)Lio/reactivex/Flowable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Flowable<", "TT;>;)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .line 28 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->j:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 29 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Flowable; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/Maybe;)Lio/reactivex/Maybe; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Maybe<", "TT;>;)", "Lio/reactivex/Maybe<", "TT;>;" } .end annotation .line 26 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->m:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 27 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Maybe; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/Maybe;Lio/reactivex/MaybeObserver;)Lio/reactivex/MaybeObserver; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Maybe<", "TT;>;", "Lio/reactivex/MaybeObserver<", "-TT;>;)", "Lio/reactivex/MaybeObserver<", "-TT;>;" } .end annotation .line 24 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->r:Lio/reactivex/functions/BiFunction; if-eqz v0, :cond_0 .line 25 invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/MaybeObserver; return-object p0 :cond_0 return-object p1 .end method .method public static a(Lio/reactivex/Observable;)Lio/reactivex/Observable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Observable<", "TT;>;)", "Lio/reactivex/Observable<", "TT;>;" } .end annotation .line 30 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->k:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 31 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Observable; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/Observable;Lio/reactivex/Observer;)Lio/reactivex/Observer; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Observable<", "TT;>;", "Lio/reactivex/Observer<", "-TT;>;)", "Lio/reactivex/Observer<", "-TT;>;" } .end annotation .line 18 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->s:Lio/reactivex/functions/BiFunction; if-eqz v0, :cond_0 .line 19 invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Observer; return-object p0 :cond_0 return-object p1 .end method .method public static a(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler; .locals 1 .line 2 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->g:Lio/reactivex/functions/Function; if-nez v0, :cond_0 return-object p0 .line 3 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Scheduler; return-object p0 .end method .method static a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/functions/Function<", "-", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;+", "Lio/reactivex/Scheduler;", ">;", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;)", "Lio/reactivex/Scheduler;" } .end annotation .line 46 invoke-static {p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 const-string p1, "Scheduler Callable result can\'t be null" invoke-static {p0, p1}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; check-cast p0, Lio/reactivex/Scheduler; return-object p0 .end method .method static a(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;)", "Lio/reactivex/Scheduler;" } .end annotation .line 44 :try_start_0 invoke-interface {p0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object; move-result-object p0 const-string v0, "Scheduler Callable result can\'t be null" invoke-static {p0, v0}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; check-cast p0, Lio/reactivex/Scheduler; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 return-object p0 :catchall_0 move-exception p0 .line 45 invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; move-result-object p0 throw p0 .end method .method public static a(Lio/reactivex/Single;)Lio/reactivex/Single; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Single<", "TT;>;)", "Lio/reactivex/Single<", "TT;>;" } .end annotation .line 34 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->n:Lio/reactivex/functions/Function; if-eqz v0, :cond_0 .line 35 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Single; :cond_0 return-object p0 .end method .method public static a(Lio/reactivex/Single;Lio/reactivex/SingleObserver;)Lio/reactivex/SingleObserver; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Single<", "TT;>;", "Lio/reactivex/SingleObserver<", "-TT;>;)", "Lio/reactivex/SingleObserver<", "-TT;>;" } .end annotation .line 20 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->t:Lio/reactivex/functions/BiFunction; if-eqz v0, :cond_0 .line 21 invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/SingleObserver; return-object p0 :cond_0 return-object p1 .end method .method public static a(Lio/reactivex/Flowable;Le/b/Subscriber;)Le/b/Subscriber; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/Flowable<", "TT;>;", "Le/b/Subscriber<", "-TT;>;)", "Le/b/Subscriber<", "-TT;>;" } .end annotation .line 16 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->q:Lio/reactivex/functions/BiFunction; if-eqz v0, :cond_0 .line 17 invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Le/b/Subscriber; return-object p0 :cond_0 return-object p1 .end method .method static a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/functions/BiFunction<", "TT;TU;TR;>;TT;TU;)TR;" } .end annotation .line 42 :try_start_0 invoke-interface {p0, p1, p2}, Lio/reactivex/functions/BiFunction;->a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 return-object p0 :catchall_0 move-exception p0 .line 43 invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; move-result-object p0 throw p0 .end method .method static a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/functions/Function<", "TT;TR;>;TT;)TR;" } .end annotation .line 40 :try_start_0 invoke-interface {p0, p1}, Lio/reactivex/functions/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 return-object p0 :catchall_0 move-exception p0 .line 41 invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; move-result-object p0 throw p0 .end method .method public static a(Ljava/lang/Runnable;)Ljava/lang/Runnable; .locals 1 const-string v0, "run is null" .line 10 invoke-static {p0, v0}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 11 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->b:Lio/reactivex/functions/Function; if-nez v0, :cond_0 return-object p0 .line 12 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Ljava/lang/Runnable; return-object p0 .end method .method public static a(Lio/reactivex/functions/Consumer;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/functions/Consumer<", "-", "Ljava/lang/Throwable;", ">;)V" } .end annotation .line 13 sget-boolean v0, Lio/reactivex/plugins/RxJavaPlugins;->w:Z if-nez v0, :cond_0 .line 14 sput-object p0, Lio/reactivex/plugins/RxJavaPlugins;->a:Lio/reactivex/functions/Consumer; return-void .line 15 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string v0, "Plugins can\'t be changed anymore" invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public static a()Z .locals 1 .line 1 sget-boolean v0, Lio/reactivex/plugins/RxJavaPlugins;->x:Z return v0 .end method .method static a(Ljava/lang/Throwable;)Z .locals 2 .line 4 instance-of v0, p0, Lio/reactivex/exceptions/OnErrorNotImplementedException; const/4 v1, 0x1 if-eqz v0, :cond_0 return v1 .line 5 :cond_0 instance-of v0, p0, Lio/reactivex/exceptions/MissingBackpressureException; if-eqz v0, :cond_1 return v1 .line 6 :cond_1 instance-of v0, p0, Ljava/lang/IllegalStateException; if-eqz v0, :cond_2 return v1 .line 7 :cond_2 instance-of v0, p0, Ljava/lang/NullPointerException; if-eqz v0, :cond_3 return v1 .line 8 :cond_3 instance-of v0, p0, Ljava/lang/IllegalArgumentException; if-eqz v0, :cond_4 return v1 .line 9 :cond_4 instance-of p0, p0, Lio/reactivex/exceptions/CompositeException; if-eqz p0, :cond_5 return v1 :cond_5 const/4 p0, 0x0 return p0 .end method .method public static b(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler; .locals 1 .line 14 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->i:Lio/reactivex/functions/Function; if-nez v0, :cond_0 return-object p0 .line 15 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Scheduler; return-object p0 .end method .method public static b(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;)", "Lio/reactivex/Scheduler;" } .end annotation const-string v0, "Scheduler Callable can\'t be null" .line 1 invoke-static {p0, v0}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 2 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->c:Lio/reactivex/functions/Function; if-nez v0, :cond_0 .line 3 invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .line 4 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .end method .method public static b(Ljava/lang/Throwable;)V .locals 2 .line 5 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->a:Lio/reactivex/functions/Consumer; if-nez p0, :cond_0 .line 6 new-instance p0, Ljava/lang/NullPointerException; const-string v1, "onError called with null. Null values are generally not allowed in 2.x operators and sources." invoke-direct {p0, v1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V goto :goto_0 .line 7 :cond_0 invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Ljava/lang/Throwable;)Z move-result v1 if-nez v1, :cond_1 .line 8 new-instance v1, Lio/reactivex/exceptions/UndeliverableException; invoke-direct {v1, p0}, Lio/reactivex/exceptions/UndeliverableException;->(Ljava/lang/Throwable;)V move-object p0, v1 :cond_1 :goto_0 if-eqz v0, :cond_2 .line 9 :try_start_0 invoke-interface {v0, p0}, Lio/reactivex/functions/Consumer;->accept(Ljava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 return-void :catchall_0 move-exception v0 .line 10 invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V .line 11 invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->c(Ljava/lang/Throwable;)V .line 12 :cond_2 invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V .line 13 invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->c(Ljava/lang/Throwable;)V return-void .end method .method public static b()Z .locals 1 .line 16 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->v:Lio/reactivex/functions/BooleanSupplier; if-eqz v0, :cond_0 .line 17 :try_start_0 invoke-interface {v0}, Lio/reactivex/functions/BooleanSupplier;->a()Z move-result v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 return v0 :catchall_0 move-exception v0 .line 18 invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; move-result-object v0 throw v0 :cond_0 const/4 v0, 0x0 return v0 .end method .method public static c(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler; .locals 1 .line 8 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->h:Lio/reactivex/functions/Function; if-nez v0, :cond_0 return-object p0 .line 9 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 check-cast p0, Lio/reactivex/Scheduler; return-object p0 .end method .method public static c(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;)", "Lio/reactivex/Scheduler;" } .end annotation const-string v0, "Scheduler Callable can\'t be null" .line 1 invoke-static {p0, v0}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 2 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->e:Lio/reactivex/functions/Function; if-nez v0, :cond_0 .line 3 invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .line 4 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .end method .method static c(Ljava/lang/Throwable;)V .locals 2 .line 5 invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; move-result-object v0 .line 6 invoke-virtual {v0}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler; move-result-object v1 .line 7 invoke-interface {v1, v0, p0}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V return-void .end method .method public static d(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;)", "Lio/reactivex/Scheduler;" } .end annotation const-string v0, "Scheduler Callable can\'t be null" .line 1 invoke-static {p0, v0}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 2 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->f:Lio/reactivex/functions/Function; if-nez v0, :cond_0 .line 3 invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .line 4 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .end method .method public static e(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/concurrent/Callable<", "Lio/reactivex/Scheduler;", ">;)", "Lio/reactivex/Scheduler;" } .end annotation const-string v0, "Scheduler Callable can\'t be null" .line 1 invoke-static {p0, v0}, Lc/a/a0/a/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 2 sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->d:Lio/reactivex/functions/Function; if-nez v0, :cond_0 .line 3 invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .line 4 :cond_0 invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler; move-result-object p0 return-object p0 .end method