.class public final enum Lio/reactivex/internal/util/NotificationLite; .super Ljava/lang/Enum; .source "NotificationLite.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lio/reactivex/internal/util/NotificationLite$DisposableNotification;, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification;, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Enum<", "Lio/reactivex/internal/util/NotificationLite;", ">;" } .end annotation # static fields .field private static final synthetic $VALUES:[Lio/reactivex/internal/util/NotificationLite; .field public static final enum COMPLETE:Lio/reactivex/internal/util/NotificationLite; # direct methods .method static constructor ()V .locals 3 .line 27 new-instance v0, Lio/reactivex/internal/util/NotificationLite; const/4 v1, 0x0 const-string v2, "COMPLETE" invoke-direct {v0, v2, v1}, Lio/reactivex/internal/util/NotificationLite;->(Ljava/lang/String;I)V sput-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; const/4 v0, 0x1 .line 26 new-array v0, v0, [Lio/reactivex/internal/util/NotificationLite; sget-object v2, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; aput-object v2, v0, v1 sput-object v0, Lio/reactivex/internal/util/NotificationLite;->$VALUES:[Lio/reactivex/internal/util/NotificationLite; return-void .end method .method private constructor (Ljava/lang/String;I)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation .line 26 invoke-direct {p0, p1, p2}, Ljava/lang/Enum;->(Ljava/lang/String;I)V return-void .end method .method public static accept(Ljava/lang/Object;Lio/reactivex/Observer;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Lio/reactivex/Observer<", "-TT;>;)Z" } .end annotation .line 238 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; const/4 v1, 0x1 if-ne p0, v0, :cond_0 .line 239 invoke-interface {p1}, Lio/reactivex/Observer;->onComplete()V return v1 .line 242 :cond_0 instance-of v0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; if-eqz v0, :cond_1 .line 243 check-cast p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable; invoke-interface {p1, p0}, Lio/reactivex/Observer;->onError(Ljava/lang/Throwable;)V return v1 .line 246 :cond_1 invoke-interface {p1, p0}, Lio/reactivex/Observer;->onNext(Ljava/lang/Object;)V const/4 p0, 0x0 return p0 .end method .method public static accept(Ljava/lang/Object;Lorg/reactivestreams/Subscriber;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Lorg/reactivestreams/Subscriber<", "-TT;>;)Z" } .end annotation .line 216 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; const/4 v1, 0x1 if-ne p0, v0, :cond_0 .line 217 invoke-interface {p1}, Lorg/reactivestreams/Subscriber;->onComplete()V return v1 .line 220 :cond_0 instance-of v0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; if-eqz v0, :cond_1 .line 221 check-cast p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable; invoke-interface {p1, p0}, Lorg/reactivestreams/Subscriber;->onError(Ljava/lang/Throwable;)V return v1 .line 224 :cond_1 invoke-interface {p1, p0}, Lorg/reactivestreams/Subscriber;->onNext(Ljava/lang/Object;)V const/4 p0, 0x0 return p0 .end method .method public static acceptFull(Ljava/lang/Object;Lio/reactivex/Observer;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Lio/reactivex/Observer<", "-TT;>;)Z" } .end annotation .line 286 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; const/4 v1, 0x1 if-ne p0, v0, :cond_0 .line 287 invoke-interface {p1}, Lio/reactivex/Observer;->onComplete()V return v1 .line 290 :cond_0 instance-of v0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; if-eqz v0, :cond_1 .line 291 check-cast p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable; invoke-interface {p1, p0}, Lio/reactivex/Observer;->onError(Ljava/lang/Throwable;)V return v1 .line 294 :cond_1 instance-of v0, p0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification; const/4 v1, 0x0 if-eqz v0, :cond_2 .line 295 check-cast p0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification;->d:Lio/reactivex/disposables/Disposable; invoke-interface {p1, p0}, Lio/reactivex/Observer;->onSubscribe(Lio/reactivex/disposables/Disposable;)V return v1 .line 298 :cond_2 invoke-interface {p1, p0}, Lio/reactivex/Observer;->onNext(Ljava/lang/Object;)V return v1 .end method .method public static acceptFull(Ljava/lang/Object;Lorg/reactivestreams/Subscriber;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Lorg/reactivestreams/Subscriber<", "-TT;>;)Z" } .end annotation .line 260 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; const/4 v1, 0x1 if-ne p0, v0, :cond_0 .line 261 invoke-interface {p1}, Lorg/reactivestreams/Subscriber;->onComplete()V return v1 .line 264 :cond_0 instance-of v0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; if-eqz v0, :cond_1 .line 265 check-cast p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable; invoke-interface {p1, p0}, Lorg/reactivestreams/Subscriber;->onError(Ljava/lang/Throwable;)V return v1 .line 268 :cond_1 instance-of v0, p0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification; const/4 v1, 0x0 if-eqz v0, :cond_2 .line 269 check-cast p0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification;->s:Lorg/reactivestreams/Subscription; invoke-interface {p1, p0}, Lorg/reactivestreams/Subscriber;->onSubscribe(Lorg/reactivestreams/Subscription;)V return v1 .line 272 :cond_2 invoke-interface {p1, p0}, Lorg/reactivestreams/Subscriber;->onNext(Ljava/lang/Object;)V return v1 .end method .method public static complete()Ljava/lang/Object; .locals 1 .line 111 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; return-object v0 .end method .method public static disposable(Lio/reactivex/disposables/Disposable;)Ljava/lang/Object; .locals 1 .line 138 new-instance v0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification; invoke-direct {v0, p0}, Lio/reactivex/internal/util/NotificationLite$DisposableNotification;->(Lio/reactivex/disposables/Disposable;)V return-object v0 .end method .method public static error(Ljava/lang/Throwable;)Ljava/lang/Object; .locals 1 .line 120 new-instance v0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; invoke-direct {v0, p0}, Lio/reactivex/internal/util/NotificationLite$ErrorNotification;->(Ljava/lang/Throwable;)V return-object v0 .end method .method public static getDisposable(Ljava/lang/Object;)Lio/reactivex/disposables/Disposable; .locals 0 .line 202 check-cast p0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification;->d:Lio/reactivex/disposables/Disposable; return-object p0 .end method .method public static getError(Ljava/lang/Object;)Ljava/lang/Throwable; .locals 0 .line 189 check-cast p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable; return-object p0 .end method .method public static getSubscription(Ljava/lang/Object;)Lorg/reactivestreams/Subscription; .locals 0 .line 198 check-cast p0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification; iget-object p0, p0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification;->s:Lorg/reactivestreams/Subscription; return-object p0 .end method .method public static getValue(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", ")TT;" } .end annotation return-object p0 .end method .method public static isComplete(Ljava/lang/Object;)Z .locals 1 .line 147 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/internal/util/NotificationLite; if-ne p0, v0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static isDisposable(Ljava/lang/Object;)Z .locals 0 .line 169 instance-of p0, p0, Lio/reactivex/internal/util/NotificationLite$DisposableNotification; return p0 .end method .method public static isError(Ljava/lang/Object;)Z .locals 0 .line 156 instance-of p0, p0, Lio/reactivex/internal/util/NotificationLite$ErrorNotification; return p0 .end method .method public static isSubscription(Ljava/lang/Object;)Z .locals 0 .line 165 instance-of p0, p0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification; return p0 .end method .method public static next(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Ljava/lang/Object;" } .end annotation return-object p0 .end method .method public static subscription(Lorg/reactivestreams/Subscription;)Ljava/lang/Object; .locals 1 .line 129 new-instance v0, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification; invoke-direct {v0, p0}, Lio/reactivex/internal/util/NotificationLite$SubscriptionNotification;->(Lorg/reactivestreams/Subscription;)V return-object v0 .end method .method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/util/NotificationLite; .locals 1 .line 26 const-class v0, Lio/reactivex/internal/util/NotificationLite; invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; move-result-object p0 check-cast p0, Lio/reactivex/internal/util/NotificationLite; return-object p0 .end method .method public static values()[Lio/reactivex/internal/util/NotificationLite; .locals 1 .line 26 sget-object v0, Lio/reactivex/internal/util/NotificationLite;->$VALUES:[Lio/reactivex/internal/util/NotificationLite; invoke-virtual {v0}, [Lio/reactivex/internal/util/NotificationLite;->clone()Ljava/lang/Object; move-result-object v0 check-cast v0, [Lio/reactivex/internal/util/NotificationLite; return-object v0 .end method # virtual methods .method public toString()Ljava/lang/String; .locals 1 const-string v0, "NotificationLite.Complete" return-object v0 .end method