90 lines
2.5 KiB
Smali
90 lines
2.5 KiB
Smali
.class public final Lrx/internal/operators/OperatorDoAfterTerminate;
|
|
.super Ljava/lang/Object;
|
|
.source "OperatorDoAfterTerminate.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/Observable$Operator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/Observable$Operator",
|
|
"<TT;TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final action:Lrx/functions/Action0;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lrx/functions/Action0;)V
|
|
.locals 2
|
|
.param p1, "action" # Lrx/functions/Action0;
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorDoAfterTerminate;, "Lrx/internal/operators/OperatorDoAfterTerminate<TT;>;"
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
new-instance v0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v1, "Action can not be null"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_0
|
|
iput-object p1, p0, Lrx/internal/operators/OperatorDoAfterTerminate;->action:Lrx/functions/Action0;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 1
|
|
.param p1, "x0" # Ljava/lang/Object;
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorDoAfterTerminate;, "Lrx/internal/operators/OperatorDoAfterTerminate<TT;>;"
|
|
check-cast p1, Lrx/Subscriber;
|
|
|
|
.end local p1 # "x0":Ljava/lang/Object;
|
|
invoke-virtual {p0, p1}, Lrx/internal/operators/OperatorDoAfterTerminate;->call(Lrx/Subscriber;)Lrx/Subscriber;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public call(Lrx/Subscriber;)Lrx/Subscriber;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Subscriber",
|
|
"<-TT;>;)",
|
|
"Lrx/Subscriber",
|
|
"<-TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorDoAfterTerminate;, "Lrx/internal/operators/OperatorDoAfterTerminate<TT;>;"
|
|
.local p1, "child":Lrx/Subscriber;, "Lrx/Subscriber<-TT;>;"
|
|
new-instance v0, Lrx/internal/operators/OperatorDoAfterTerminate$1;
|
|
|
|
invoke-direct {v0, p0, p1, p1}, Lrx/internal/operators/OperatorDoAfterTerminate$1;-><init>(Lrx/internal/operators/OperatorDoAfterTerminate;Lrx/Subscriber;Lrx/Subscriber;)V
|
|
|
|
return-object v0
|
|
.end method
|