final class reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstMain<T, R> extends reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain<T, R>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstMain
super_class: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain
{
void <init>(reactor.core.CoreSubscriber<? 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/CoreSubscriber;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$SwitchOnFirstMain<TT;TR;>;
0 2 1 outer Lreactor/core/CoreSubscriber<-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/CoreSubscriber<-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$SwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
ifnonnull 10
getstatic reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstMain.INNER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 1
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$SwitchOnFirstMain.first:Ljava/lang/Object;
ifnonnull 8
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstMain.done:Z
ifeq 8
2: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstMain.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$SwitchOnFirstMain.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$SwitchOnFirstMain<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
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
aload 2
invokeinterface reactor.core.CoreSubscriber.onNext:(Ljava/lang/Object;)V
1: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxSwitchOnFirst$SwitchOnFirstMain<TT;TR;>;
0 2 1 actual Lreactor/core/CoreSubscriber<-TT;>;
0 2 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;>;
SourceFile: "FluxSwitchOnFirst.java"
NestHost: reactor.core.publisher.FluxSwitchOnFirst
InnerClasses:
abstract AbstractSwitchOnFirstMain = reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain of reactor.core.publisher.FluxSwitchOnFirst
final SwitchOnFirstMain = reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstMain of reactor.core.publisher.FluxSwitchOnFirst