Functions$NotificationOnComplete.smali 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .class final Lio/reactivex/internal/functions/Functions$NotificationOnComplete;
  2. .super Ljava/lang/Object;
  3. .source "Functions.java"
  4. # interfaces
  5. .implements Lio/reactivex/functions/Action;
  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 = "NotificationOnComplete"
  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/Action;"
  21. }
  22. .end annotation
  23. # instance fields
  24. .field final onNotification:Lio/reactivex/functions/Consumer;
  25. .annotation system Ldalvik/annotation/Signature;
  26. value = {
  27. "Lio/reactivex/functions/Consumer<",
  28. "-",
  29. "Lio/reactivex/Notification<",
  30. "TT;>;>;"
  31. }
  32. .end annotation
  33. .end field
  34. # direct methods
  35. .method constructor <init>(Lio/reactivex/functions/Consumer;)V
  36. .locals 0
  37. .annotation system Ldalvik/annotation/Signature;
  38. value = {
  39. "(",
  40. "Lio/reactivex/functions/Consumer<",
  41. "-",
  42. "Lio/reactivex/Notification<",
  43. "TT;>;>;)V"
  44. }
  45. .end annotation
  46. .line 441
  47. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  48. .line 442
  49. iput-object p1, p0, Lio/reactivex/internal/functions/Functions$NotificationOnComplete;->onNotification:Lio/reactivex/functions/Consumer;
  50. return-void
  51. .end method
  52. # virtual methods
  53. .method public run()V
  54. .locals 2
  55. .annotation system Ldalvik/annotation/Throws;
  56. value = {
  57. Ljava/lang/Exception;
  58. }
  59. .end annotation
  60. .line 447
  61. iget-object v0, p0, Lio/reactivex/internal/functions/Functions$NotificationOnComplete;->onNotification:Lio/reactivex/functions/Consumer;
  62. invoke-static {}, Lio/reactivex/Notification;->createOnComplete()Lio/reactivex/Notification;
  63. move-result-object v1
  64. invoke-interface {v0, v1}, Lio/reactivex/functions/Consumer;->accept(Ljava/lang/Object;)V
  65. return-void
  66. .end method