MaybeToPublisher.smali
.class public final enum Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
.super Ljava/lang/Enum;
.source "MaybeToPublisher.java"
# interfaces
.implements Lio/reactivex/functions/Function;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/internal/operators/maybe/MaybeToPublisher;",
">;",
"Lio/reactivex/functions/Function<",
"Lio/reactivex/MaybeSource<",
"Ljava/lang/Object;",
">;",
"Lorg/reactivestreams/Publisher<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
.field public static final enum INSTANCE:Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
# direct methods
.method static constructor <clinit>()V
.registers 3
.line 25
new-instance v0, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
const/4 v1, 0x0
const-string v2, "INSTANCE"
invoke-direct {v0, v2, v1}, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->INSTANCE:Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
.line 24
const/4 v2, 0x1
new-array v2, v2, [Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
aput-object v0, v2, v1
sput-object v2, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->$VALUES:[Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 24
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static instance()Lio/reactivex/functions/Function;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lio/reactivex/functions/Function<",
"Lio/reactivex/MaybeSource<",
"TT;>;",
"Lorg/reactivestreams/Publisher<",
"TT;>;>;"
}
.end annotation
.line 29
sget-object v0, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->INSTANCE:Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
return-object v0
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
.registers 2
.param p0, "name" # Ljava/lang/String;
.line 24
const-class v0, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object v0
check-cast v0, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
return-object v0
.end method
.method public static values()[Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
.registers 1
.line 24
sget-object v0, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->$VALUES:[Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
invoke-virtual {v0}, [Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/operators/maybe/MaybeToPublisher;
return-object v0
.end method
# virtual methods
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 24
check-cast p1, Lio/reactivex/MaybeSource;
invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->apply(Lio/reactivex/MaybeSource;)Lorg/reactivestreams/Publisher;
move-result-object p1
return-object p1
.end method
.method public apply(Lio/reactivex/MaybeSource;)Lorg/reactivestreams/Publisher;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/MaybeSource<",
"Ljava/lang/Object;",
">;)",
"Lorg/reactivestreams/Publisher<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 34
.local p1, "t":Lio/reactivex/MaybeSource;, "Lio/reactivex/MaybeSource<Ljava/lang/Object;>;"
new-instance v0, Lio/reactivex/internal/operators/maybe/MaybeToFlowable;
invoke-direct {v0, p1}, Lio/reactivex/internal/operators/maybe/MaybeToFlowable;-><init>(Lio/reactivex/MaybeSource;)V
return-object v0
.end method