Functions$NotificationOnError.smali 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .class final Lio/reactivex/internal/functions/Functions$NotificationOnError;
  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 = "NotificationOnError"
  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. "Ljava/lang/Throwable;",
  22. ">;"
  23. }
  24. .end annotation
  25. # instance fields
  26. .field final onNotification:Lio/reactivex/functions/Consumer;
  27. .annotation system Ldalvik/annotation/Signature;
  28. value = {
  29. "Lio/reactivex/functions/Consumer<",
  30. "-",
  31. "Lio/reactivex/Notification<",
  32. "TT;>;>;"
  33. }
  34. .end annotation
  35. .end field
  36. # direct methods
  37. .method constructor <init>(Lio/reactivex/functions/Consumer;)V
  38. .locals 0
  39. .annotation system Ldalvik/annotation/Signature;
  40. value = {
  41. "(",
  42. "Lio/reactivex/functions/Consumer<",
  43. "-",
  44. "Lio/reactivex/Notification<",
  45. "TT;>;>;)V"
  46. }
  47. .end annotation
  48. .line 428
  49. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  50. .line 429
  51. iput-object p1, p0, Lio/reactivex/internal/functions/Functions$NotificationOnError;->onNotification:Lio/reactivex/functions/Consumer;
  52. return-void
  53. .end method
  54. # virtual methods
  55. .method public bridge synthetic accept(Ljava/lang/Object;)V
  56. .locals 0
  57. .annotation system Ldalvik/annotation/Throws;
  58. value = {
  59. Ljava/lang/Exception;
  60. }
  61. .end annotation
  62. .line 425
  63. check-cast p1, Ljava/lang/Throwable;
  64. invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$NotificationOnError;->accept(Ljava/lang/Throwable;)V
  65. return-void
  66. .end method
  67. .method public accept(Ljava/lang/Throwable;)V
  68. .locals 1
  69. .annotation system Ldalvik/annotation/Throws;
  70. value = {
  71. Ljava/lang/Exception;
  72. }
  73. .end annotation
  74. .line 434
  75. iget-object v0, p0, Lio/reactivex/internal/functions/Functions$NotificationOnError;->onNotification:Lio/reactivex/functions/Consumer;
  76. invoke-static {p1}, Lio/reactivex/Notification;->createOnError(Ljava/lang/Throwable;)Lio/reactivex/Notification;
  77. move-result-object p1
  78. invoke-interface {v0, p1}, Lio/reactivex/functions/Consumer;->accept(Ljava/lang/Object;)V
  79. return-void
  80. .end method