final class reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain<T, R> extends reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain<T, R> implements reactor.core.Fuseable$ConditionalSubscriber<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain
super_class: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain
{
void <init>(reactor.core.Fuseable$ConditionalSubscriber<? super R>, java.util.function.BiFunction<reactor.core.publisher.Signal<? extends T>, reactor.core.publisher.Flux<T>, org.reactivestreams.Publisher<? extends R>>, );
descriptor: (Lreactor/core/Fuseable$ConditionalSubscriber;Ljava/util/function/BiFunction;Z)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.<init>:(Lreactor/core/CoreSubscriber;Ljava/util/function/BiFunction;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxSwitchOnFirst$SwitchOnFirstConditionalMain<TT;TR;>;
0 2 1 outer Lreactor/core/Fuseable$ConditionalSubscriber<-TR;>;
0 2 2 transformer Ljava/util/function/BiFunction<Lreactor/core/publisher/Signal<+TT;>;Lreactor/core/publisher/Flux<TT;>;Lorg/reactivestreams/Publisher<+TR;>;>;
0 2 3 cancelSourceOnComplete Z
Signature: (Lreactor/core/Fuseable$ConditionalSubscriber<-TR;>;Ljava/util/function/BiFunction<Lreactor/core/publisher/Signal<+TT;>;Lreactor/core/publisher/Flux<TT;>;Lorg/reactivestreams/Publisher<+TR;>;>;Z)V
MethodParameters:
Name Flags
outer
transformer
cancelSourceOnComplete
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.inner:Lreactor/core/CoreSubscriber;
ifnonnull 10
getstatic reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.INNER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 1
invokestatic reactor.core.publisher.Operators.toConditionalSubscriber:(Lreactor/core/CoreSubscriber;)Lreactor/core/Fuseable$ConditionalSubscriber;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 10
1: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.first:Ljava/lang/Object;
ifnonnull 8
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.done:Z
ifeq 8
2: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.throwable:Ljava/lang/Throwable;
astore 2
start local 2 3: aload 2
ifnull 6
4: aload 1
aload 2
invokestatic reactor.core.publisher.Operators.error:(Lorg/reactivestreams/Subscriber;Ljava/lang/Throwable;)V
5: goto 7
6: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokestatic reactor.core.publisher.Operators.complete:(Lorg/reactivestreams/Subscriber;)V
7: StackMap locals:
StackMap stack:
return
end local 2 8: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface reactor.core.CoreSubscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
9: goto 14
10: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.inner:Lreactor/core/CoreSubscriber;
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpeq 13
11: aload 1
new java.lang.IllegalStateException
dup
ldc "FluxSwitchOnFirst allows only one Subscriber"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokestatic reactor.core.publisher.Operators.error:(Lorg/reactivestreams/Subscriber;Ljava/lang/Throwable;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 1
new java.util.concurrent.CancellationException
dup
ldc "FluxSwitchOnFirst has already been cancelled"
invokespecial java.util.concurrent.CancellationException.<init>:(Ljava/lang/String;)V
invokestatic reactor.core.publisher.Operators.error:(Lorg/reactivestreams/Subscriber;Ljava/lang/Throwable;)V
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lreactor/core/publisher/FluxSwitchOnFirst$SwitchOnFirstConditionalMain<TT;TR;>;
0 15 1 actual Lreactor/core/CoreSubscriber<-TT;>;
3 8 2 t Ljava/lang/Throwable;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
public boolean tryOnNext();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.inner:Lreactor/core/CoreSubscriber;
checkcast reactor.core.Fuseable$ConditionalSubscriber
1: astore 2
start local 2 2: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.done:Z
ifne 3
aload 2
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 5
3: StackMap locals: reactor.core.Fuseable$ConditionalSubscriber
StackMap stack:
aload 1
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onNextDropped:(Ljava/lang/Object;Lreactor/util/context/Context;)V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 18
6: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
astore 4
start local 4 7: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.transformer:Ljava/util/function/BiFunction;
aload 1
aload 4
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Signal.next:(Ljava/lang/Object;Lreactor/util/context/Context;)Lreactor/core/publisher/Signal;
aload 0
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
8: ldc "The transformer returned a null value"
9: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 3
start local 3 10: goto 15
end local 3 11: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain java.lang.Object reactor.core.Fuseable$ConditionalSubscriber top reactor.core.CoreSubscriber
StackMap stack: java.lang.Throwable
astore 5
start local 5 12: aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.done:Z
13: aload 4
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.s:Lorg/reactivestreams/Subscription;
aload 5
aload 1
aload 4
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onOperatorError:(Lorg/reactivestreams/Subscription;Ljava/lang/Throwable;Ljava/lang/Object;Lreactor/util/context/Context;)Ljava/lang/Throwable;
invokestatic reactor.core.publisher.Operators.error:(Lorg/reactivestreams/Subscriber;Ljava/lang/Throwable;)V
14: iconst_0
ireturn
end local 5 start local 3 15: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain java.lang.Object reactor.core.Fuseable$ConditionalSubscriber org.reactivestreams.Publisher reactor.core.CoreSubscriber
StackMap stack:
aload 0
aload 1
putfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain.first:Ljava/lang/Object;
16: aload 3
aload 4
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
17: iconst_1
ireturn
end local 4 end local 3 18: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface reactor.core.Fuseable$ConditionalSubscriber.tryOnNext:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lreactor/core/publisher/FluxSwitchOnFirst$SwitchOnFirstConditionalMain<TT;TR;>;
0 19 1 t TT;
2 19 2 i Lreactor/core/Fuseable$ConditionalSubscriber<-TT;>;
10 11 3 result Lorg/reactivestreams/Publisher<+TR;>;
15 18 3 result Lorg/reactivestreams/Publisher<+TR;>;
7 18 4 o Lreactor/core/CoreSubscriber<-TR;>;
12 15 5 e Ljava/lang/Throwable;
Exception table:
from to target type
7 10 11 Class java.lang.Throwable
Signature: (TT;)Z
MethodParameters:
Name Flags
t
boolean tryOnNext(reactor.core.CoreSubscriber<? super T>, );
descriptor: (Lreactor/core/CoreSubscriber;Ljava/lang/Object;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast reactor.core.Fuseable$ConditionalSubscriber
aload 2
invokeinterface reactor.core.Fuseable$ConditionalSubscriber.tryOnNext:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxSwitchOnFirst$SwitchOnFirstConditionalMain<TT;TR;>;
0 1 1 actual Lreactor/core/CoreSubscriber<-TT;>;
0 1 2 t TT;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;TT;)Z
MethodParameters:
Name Flags
actual
t
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;Lreactor/core/Fuseable$ConditionalSubscriber<TT;>;
SourceFile: "FluxSwitchOnFirst.java"
NestHost: reactor.core.publisher.FluxSwitchOnFirst
InnerClasses:
public abstract ConditionalSubscriber = reactor.core.Fuseable$ConditionalSubscriber of reactor.core.Fuseable
abstract AbstractSwitchOnFirstMain = reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain of reactor.core.publisher.FluxSwitchOnFirst
final SwitchOnFirstConditionalMain = reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalMain of reactor.core.publisher.FluxSwitchOnFirst