123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- .class final Lio/reactivex/internal/functions/Functions$NotificationOnError;
- .super Ljava/lang/Object;
- .source "Functions.java"
- # interfaces
- .implements Lio/reactivex/functions/Consumer;
- # annotations
- .annotation system Ldalvik/annotation/EnclosingClass;
- value = Lio/reactivex/internal/functions/Functions;
- .end annotation
- .annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x18
- name = "NotificationOnError"
- .end annotation
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "<T:",
- "Ljava/lang/Object;",
- ">",
- "Ljava/lang/Object;",
- "Lio/reactivex/functions/Consumer<",
- "Ljava/lang/Throwable;",
- ">;"
- }
- .end annotation
- # instance fields
- .field final onNotification:Lio/reactivex/functions/Consumer;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Lio/reactivex/functions/Consumer<",
- "-",
- "Lio/reactivex/Notification<",
- "TT;>;>;"
- }
- .end annotation
- .end field
- # direct methods
- .method constructor <init>(Lio/reactivex/functions/Consumer;)V
- .locals 0
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Lio/reactivex/functions/Consumer<",
- "-",
- "Lio/reactivex/Notification<",
- "TT;>;>;)V"
- }
- .end annotation
- .line 428
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- .line 429
- iput-object p1, p0, Lio/reactivex/internal/functions/Functions$NotificationOnError;->onNotification:Lio/reactivex/functions/Consumer;
- return-void
- .end method
- # virtual methods
- .method public bridge synthetic accept(Ljava/lang/Object;)V
- .locals 0
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/lang/Exception;
- }
- .end annotation
- .line 425
- check-cast p1, Ljava/lang/Throwable;
- invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$NotificationOnError;->accept(Ljava/lang/Throwable;)V
- return-void
- .end method
- .method public accept(Ljava/lang/Throwable;)V
- .locals 1
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/lang/Exception;
- }
- .end annotation
- .line 434
- iget-object v0, p0, Lio/reactivex/internal/functions/Functions$NotificationOnError;->onNotification:Lio/reactivex/functions/Consumer;
- invoke-static {p1}, Lio/reactivex/Notification;->createOnError(Ljava/lang/Throwable;)Lio/reactivex/Notification;
- move-result-object p1
- invoke-interface {v0, p1}, Lio/reactivex/functions/Consumer;->accept(Ljava/lang/Object;)V
- return-void
- .end method
|