123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487 |
- .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 <clinit>()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;-><init>(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 <init>(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;-><init>(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 = {
- "<T:",
- "Ljava/lang/Object;",
- ">(",
- "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 = {
- "<T:",
- "Ljava/lang/Object;",
- ">(",
- "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 = {
- "<T:",
- "Ljava/lang/Object;",
- ">(",
- "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 = {
- "<T:",
- "Ljava/lang/Object;",
- ">(",
- "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;-><init>(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;-><init>(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 = {
- "<T:",
- "Ljava/lang/Object;",
- ">(",
- "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 = {
- "<T:",
- "Ljava/lang/Object;",
- ">(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;-><init>(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
|