NotificationLite.smali
.class public final Lrx/internal/operators/NotificationLite;
.super Ljava/lang/Object;
.source "NotificationLite.java"
# static fields
.field private static final car:Ljava/lang/Object;
.field private static final cas:Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 36
new-instance v0, Lrx/internal/operators/NotificationLite$1;
invoke-direct {v0}, Lrx/internal/operators/NotificationLite$1;-><init>()V
sput-object v0, Lrx/internal/operators/NotificationLite;->car:Ljava/lang/Object;
.line 45
new-instance v0, Lrx/internal/operators/NotificationLite$2;
invoke-direct {v0}, Lrx/internal/operators/NotificationLite$2;-><init>()V
sput-object v0, Lrx/internal/operators/NotificationLite;->cas:Ljava/lang/Object;
return-void
.end method
.method public static SQ()Ljava/lang/Object;
.registers 1
.prologue
.line 92
sget-object v0, Lrx/internal/operators/NotificationLite;->car:Ljava/lang/Object;
return-object v0
.end method
.method public static a(Lrx/h;Ljava/lang/Object;)Z
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/h",
"<-TT;>;",
"Ljava/lang/Object;",
")Z"
}
.end annotation
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
.line 124
sget-object v2, Lrx/internal/operators/NotificationLite;->car:Ljava/lang/Object;
if-ne p1, v2, :cond_a
.line 125
invoke-interface {p0}, Lrx/h;->SG()V
.line 136
:goto_9
return v0
.line 127
:cond_a
sget-object v2, Lrx/internal/operators/NotificationLite;->cas:Ljava/lang/Object;
if-ne p1, v2, :cond_14
.line 128
const/4 v0, 0x0
invoke-interface {p0, v0}, Lrx/h;->onNext(Ljava/lang/Object;)V
move v0, v1
.line 129
goto :goto_9
.line 130
:cond_14
if-eqz p1, :cond_2b
.line 131
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
const-class v3, Lrx/internal/operators/NotificationLite$OnErrorSentinel;
if-ne v2, v3, :cond_26
.line 132
check-cast p1, Lrx/internal/operators/NotificationLite$OnErrorSentinel;
iget-object v1, p1, Lrx/internal/operators/NotificationLite$OnErrorSentinel;->e:Ljava/lang/Throwable;
invoke-interface {p0, v1}, Lrx/h;->onError(Ljava/lang/Throwable;)V
goto :goto_9
.line 135
:cond_26
invoke-interface {p0, p1}, Lrx/h;->onNext(Ljava/lang/Object;)V
move v0, v1
.line 136
goto :goto_9
.line 138
:cond_2b
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "The lite notification can not be null"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static error(Ljava/lang/Throwable;)Ljava/lang/Object;
.registers 2
.prologue
.line 105
new-instance v0, Lrx/internal/operators/NotificationLite$OnErrorSentinel;
invoke-direct {v0, p0}, Lrx/internal/operators/NotificationLite$OnErrorSentinel;-><init>(Ljava/lang/Throwable;)V
return-object v0
.end method
.method public static getValue(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
")TT;"
}
.end annotation
.prologue
.line 194
sget-object v0, Lrx/internal/operators/NotificationLite;->cas:Ljava/lang/Object;
if-ne p0, v0, :cond_5
const/4 p0, 0x0
:cond_5
return-object p0
.end method
.method public static next(Ljava/lang/Object;)Ljava/lang/Object;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)",
"Ljava/lang/Object;"
}
.end annotation
.prologue
.line 78
if-nez p0, :cond_4
.line 79
sget-object p0, Lrx/internal/operators/NotificationLite;->cas:Ljava/lang/Object;
.line 81
:cond_4
return-object p0
.end method