Functions$NotificationOnComplete.smali
.class final Lio/reactivex/internal/functions/Functions$NotificationOnComplete;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lio/reactivex/functions/Action;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "NotificationOnComplete"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/functions/Action;"
}
.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 static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lio/reactivex/functions/Consumer;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/Consumer<",
"-",
"Lio/reactivex/Notification<",
"TT;>;>;)V"
}
.end annotation
.line 313
.local p0, "this":Lio/reactivex/internal/functions/Functions$NotificationOnComplete;, "Lio/reactivex/internal/functions/Functions$NotificationOnComplete<TT;>;"
.local p1, "onNotification":Lio/reactivex/functions/Consumer;, "Lio/reactivex/functions/Consumer<-Lio/reactivex/Notification<TT;>;>;"
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 314
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$NotificationOnComplete;->onNotification:Lio/reactivex/functions/Consumer;
.line 315
return-void
.end method
# virtual methods
.method public run()V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 319
.local p0, "this":Lio/reactivex/internal/functions/Functions$NotificationOnComplete;, "Lio/reactivex/internal/functions/Functions$NotificationOnComplete<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$NotificationOnComplete;->onNotification:Lio/reactivex/functions/Consumer;
invoke-static {}, Lio/reactivex/Notification;->createOnComplete()Lio/reactivex/Notification;
move-result-object v1
invoke-interface {v0, v1}, Lio/reactivex/functions/Consumer;->accept(Ljava/lang/Object;)V
.line 320
return-void
.end method