Functions$NotificationOnNext.smali 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .class final Lio/reactivex/internal/functions/Functions$NotificationOnNext;
  2. .super Ljava/lang/Object;
  3. .source "Functions.java"
  4. # interfaces
  5. .implements Lio/reactivex/functions/Consumer;
  6. # annotations
  7. .annotation system Ldalvik/annotation/EnclosingClass;
  8. value = Lio/reactivex/internal/functions/Functions;
  9. .end annotation
  10. .annotation system Ldalvik/annotation/InnerClass;
  11. accessFlags = 0x18
  12. name = "NotificationOnNext"
  13. .end annotation
  14. .annotation system Ldalvik/annotation/Signature;
  15. value = {
  16. "<T:",
  17. "Ljava/lang/Object;",
  18. ">",
  19. "Ljava/lang/Object;",
  20. "Lio/reactivex/functions/Consumer<",
  21. "TT;>;"
  22. }
  23. .end annotation
  24. # instance fields
  25. .field final onNotification:Lio/reactivex/functions/Consumer;
  26. .annotation system Ldalvik/annotation/Signature;
  27. value = {
  28. "Lio/reactivex/functions/Consumer<",
  29. "-",
  30. "Lio/reactivex/Notification<",
  31. "TT;>;>;"
  32. }
  33. .end annotation
  34. .end field
  35. # direct methods
  36. .method constructor <init>(Lio/reactivex/functions/Consumer;)V
  37. .locals 0
  38. .annotation system Ldalvik/annotation/Signature;
  39. value = {
  40. "(",
  41. "Lio/reactivex/functions/Consumer<",
  42. "-",
  43. "Lio/reactivex/Notification<",
  44. "TT;>;>;)V"
  45. }
  46. .end annotation
  47. .line 415
  48. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  49. .line 416
  50. iput-object p1, p0, Lio/reactivex/internal/functions/Functions$NotificationOnNext;->onNotification:Lio/reactivex/functions/Consumer;
  51. return-void
  52. .end method
  53. # virtual methods
  54. .method public accept(Ljava/lang/Object;)V
  55. .locals 1
  56. .annotation system Ldalvik/annotation/Signature;
  57. value = {
  58. "(TT;)V"
  59. }
  60. .end annotation
  61. .annotation system Ldalvik/annotation/Throws;
  62. value = {
  63. Ljava/lang/Exception;
  64. }
  65. .end annotation
  66. .line 421
  67. iget-object v0, p0, Lio/reactivex/internal/functions/Functions$NotificationOnNext;->onNotification:Lio/reactivex/functions/Consumer;
  68. invoke-static {p1}, Lio/reactivex/Notification;->createOnNext(Ljava/lang/Object;)Lio/reactivex/Notification;
  69. move-result-object p1
  70. invoke-interface {v0, p1}, Lio/reactivex/functions/Consumer;->accept(Ljava/lang/Object;)V
  71. return-void
  72. .end method