Subject.smali 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .class public abstract Lio/reactivex/subjects/Subject;
  2. .super Lio/reactivex/Observable;
  3. .source "Subject.java"
  4. # interfaces
  5. .implements Lio/reactivex/Observer;
  6. # annotations
  7. .annotation system Ldalvik/annotation/Signature;
  8. value = {
  9. "<T:",
  10. "Ljava/lang/Object;",
  11. ">",
  12. "Lio/reactivex/Observable<",
  13. "TT;>;",
  14. "Lio/reactivex/Observer<",
  15. "TT;>;"
  16. }
  17. .end annotation
  18. # direct methods
  19. .method public constructor <init>()V
  20. .locals 0
  21. .line 26
  22. invoke-direct {p0}, Lio/reactivex/Observable;-><init>()V
  23. return-void
  24. .end method
  25. # virtual methods
  26. .method public abstract getThrowable()Ljava/lang/Throwable;
  27. .end method
  28. .method public abstract hasComplete()Z
  29. .end method
  30. .method public abstract hasObservers()Z
  31. .end method
  32. .method public abstract hasThrowable()Z
  33. .end method
  34. .method public final toSerialized()Lio/reactivex/subjects/Subject;
  35. .locals 1
  36. .annotation system Ldalvik/annotation/Signature;
  37. value = {
  38. "()",
  39. "Lio/reactivex/subjects/Subject<",
  40. "TT;>;"
  41. }
  42. .end annotation
  43. .line 67
  44. instance-of v0, p0, Lio/reactivex/subjects/SerializedSubject;
  45. if-eqz v0, :cond_0
  46. return-object p0
  47. .line 70
  48. :cond_0
  49. new-instance v0, Lio/reactivex/subjects/SerializedSubject;
  50. invoke-direct {v0, p0}, Lio/reactivex/subjects/SerializedSubject;-><init>(Lio/reactivex/subjects/Subject;)V
  51. return-object v0
  52. .end method