2022-06-10 21:38:30 +09:00

647 lines
16 KiB
Smali

.class public final enum Lio/reactivex/rxjava3/internal/util/NotificationLite;
.super Ljava/lang/Enum;
.source "NotificationLite.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;,
Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;,
Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/rxjava3/internal/util/NotificationLite;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/rxjava3/internal/util/NotificationLite;
.field public static final enum COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;
const-string v1, "COMPLETE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/util/NotificationLite;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/rxjava3/internal/util/NotificationLite;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/rxjava3/internal/util/NotificationLite;->$VALUES:[Lio/reactivex/rxjava3/internal/util/NotificationLite;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"$enum$name",
"$enum$ordinal"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static accept(Ljava/lang/Object;Lai/n0;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"o",
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lai/n0<",
"-TT;>;)Z"
}
.end annotation
.line 6
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
const/4 v1, 0x1
if-ne p0, v0, :cond_0
.line 7
invoke-interface {p1}, Lai/n0;->onComplete()V
return v1
.line 8
:cond_0
instance-of v0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
if-eqz v0, :cond_1
.line 9
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable;
invoke-interface {p1, p0}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return v1
.line 10
:cond_1
invoke-interface {p1, p0}, Lai/n0;->onNext(Ljava/lang/Object;)V
const/4 p0, 0x0
return p0
.end method
.method public static accept(Ljava/lang/Object;Lok/d;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"o",
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lok/d<",
"-TT;>;)Z"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
const/4 v1, 0x1
if-ne p0, v0, :cond_0
.line 2
invoke-interface {p1}, Lok/d;->onComplete()V
return v1
.line 3
:cond_0
instance-of v0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
if-eqz v0, :cond_1
.line 4
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable;
invoke-interface {p1, p0}, Lok/d;->onError(Ljava/lang/Throwable;)V
return v1
.line 5
:cond_1
invoke-interface {p1, p0}, Lok/d;->onNext(Ljava/lang/Object;)V
const/4 p0, 0x0
return p0
.end method
.method public static acceptFull(Ljava/lang/Object;Lai/n0;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"o",
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lai/n0<",
"-TT;>;)Z"
}
.end annotation
.line 8
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
const/4 v1, 0x1
if-ne p0, v0, :cond_0
.line 9
invoke-interface {p1}, Lai/n0;->onComplete()V
return v1
.line 10
:cond_0
instance-of v0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
if-eqz v0, :cond_1
.line 11
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable;
invoke-interface {p1, p0}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return v1
.line 12
:cond_1
instance-of v0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;
const/4 v1, 0x0
if-eqz v0, :cond_2
.line 13
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {p1, p0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
return v1
.line 14
:cond_2
invoke-interface {p1, p0}, Lai/n0;->onNext(Ljava/lang/Object;)V
return v1
.end method
.method public static acceptFull(Ljava/lang/Object;Lok/d;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"o",
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lok/d<",
"-TT;>;)Z"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
const/4 v1, 0x1
if-ne p0, v0, :cond_0
.line 2
invoke-interface {p1}, Lok/d;->onComplete()V
return v1
.line 3
:cond_0
instance-of v0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
if-eqz v0, :cond_1
.line 4
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable;
invoke-interface {p1, p0}, Lok/d;->onError(Ljava/lang/Throwable;)V
return v1
.line 5
:cond_1
instance-of v0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;
const/4 v1, 0x0
if-eqz v0, :cond_2
.line 6
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;->upstream:Lok/e;
invoke-interface {p1, p0}, Lok/d;->onSubscribe(Lok/e;)V
return v1
.line 7
:cond_2
invoke-interface {p1, p0}, Lok/d;->onNext(Ljava/lang/Object;)V
return v1
.end method
.method public static complete()Ljava/lang/Object;
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
return-object v0
.end method
.method public static disposable(Lio/reactivex/rxjava3/disposables/c;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;
invoke-direct {v0, p0}, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;-><init>(Lio/reactivex/rxjava3/disposables/c;)V
return-object v0
.end method
.method public static error(Ljava/lang/Throwable;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
invoke-direct {v0, p0}, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;-><init>(Ljava/lang/Throwable;)V
return-object v0
.end method
.method public static getDisposable(Ljava/lang/Object;)Lio/reactivex/rxjava3/disposables/c;
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;->upstream:Lio/reactivex/rxjava3/disposables/c;
return-object p0
.end method
.method public static getError(Ljava/lang/Object;)Ljava/lang/Throwable;
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;->e:Ljava/lang/Throwable;
return-object p0
.end method
.method public static getSubscription(Ljava/lang/Object;)Lok/e;
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;
iget-object p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;->upstream:Lok/e;
return-object p0
.end method
.method public static getValue(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
")TT;"
}
.end annotation
return-object p0
.end method
.method public static isComplete(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->COMPLETE:Lio/reactivex/rxjava3/internal/util/NotificationLite;
if-ne p0, v0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static isDisposable(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
instance-of p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$DisposableNotification;
return p0
.end method
.method public static isError(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
instance-of p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$ErrorNotification;
return p0
.end method
.method public static isSubscription(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
.line 1
instance-of p0, p0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;
return p0
.end method
.method public static next(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)",
"Ljava/lang/Object;"
}
.end annotation
return-object p0
.end method
.method public static subscription(Lok/e;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;
invoke-direct {v0, p0}, Lio/reactivex/rxjava3/internal/util/NotificationLite$SubscriptionNotification;-><init>(Lok/e;)V
return-object v0
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/rxjava3/internal/util/NotificationLite;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8000
}
names = {
"name"
}
.end annotation
.line 1
const-class v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lio/reactivex/rxjava3/internal/util/NotificationLite;
return-object p0
.end method
.method public static values()[Lio/reactivex/rxjava3/internal/util/NotificationLite;
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/util/NotificationLite;->$VALUES:[Lio/reactivex/rxjava3/internal/util/NotificationLite;
invoke-virtual {v0}, [Lio/reactivex/rxjava3/internal/util/NotificationLite;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/rxjava3/internal/util/NotificationLite;
return-object v0
.end method
# virtual methods
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "NotificationLite.Complete"
return-object v0
.end method