abstract class reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain<T, R> extends reactor.core.publisher.Flux<T> implements reactor.core.publisher.InnerOperator<T, R>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain
super_class: reactor.core.publisher.Flux
{
final reactor.core.publisher.FluxSwitchOnFirst$ControlSubscriber<? super R> outer;
descriptor: Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber<-TR;>;
final java.util.function.BiFunction<reactor.core.publisher.Signal<? extends T>, reactor.core.publisher.Flux<T>, org.reactivestreams.Publisher<? extends R>> transformer;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/BiFunction<Lreactor/core/publisher/Signal<+TT;>;Lreactor/core/publisher/Flux<TT;>;Lorg/reactivestreams/Publisher<+TR;>;>;
org.reactivestreams.Subscription s;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
java.lang.Throwable throwable;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
T first;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
boolean requestedOnce;
descriptor: Z
flags: (0x0000)
boolean done;
descriptor: Z
flags: (0x0000)
volatile reactor.core.CoreSubscriber<? super T> inner;
descriptor: Lreactor/core/CoreSubscriber;
flags: (0x0040) ACC_VOLATILE
Signature: Lreactor/core/CoreSubscriber<-TT;>;
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain, reactor.core.CoreSubscriber> INNER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain;Lreactor/core/CoreSubscriber;>;
volatile int wip;
descriptor: I
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain> WIP;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain;
ldc Lreactor/core/CoreSubscriber;
ldc "inner"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
1: putstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.INNER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2: ldc Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain;
ldc "wip"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
3: putstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
4: return
LocalVariableTable:
Start End Slot Name Signature
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=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial reactor.core.publisher.Flux.<init>:()V
1: aload 0
aload 1
instanceof reactor.core.Fuseable$ConditionalSubscriber
ifeq 3
2: new reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalControlSubscriber
dup
aload 0
aload 1
checkcast reactor.core.Fuseable$ConditionalSubscriber
iload 3
invokespecial reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalControlSubscriber.<init>:(Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain;Lreactor/core/Fuseable$ConditionalSubscriber;Z)V
goto 4
3: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain reactor.core.CoreSubscriber java.util.function.BiFunction int
StackMap stack: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain
new reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstControlSubscriber
dup
aload 0
aload 1
iload 3
invokespecial reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstControlSubscriber.<init>:(Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain;Lreactor/core/CoreSubscriber;Z)V
4: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain reactor.core.CoreSubscriber java.util.function.BiFunction int
StackMap stack: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain reactor.core.publisher.Operators$DeferredSubscription
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
5: aload 0
aload 2
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.transformer:Ljava/util/function/BiFunction;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
0 7 1 outer Lreactor/core/CoreSubscriber<-TR;>;
0 7 2 transformer Ljava/util/function/BiFunction<Lreactor/core/publisher/Signal<+TT;>;Lreactor/core/publisher/Flux<TT;>;Lorg/reactivestreams/Publisher<+TR;>;>;
0 7 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 java.lang.Object scanUnsafe(reactor.core.Scannable$Attr);
descriptor: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 1
getstatic reactor.core.Scannable$Attr.CANCELLED:Lreactor/core/Scannable$Attr;
if_acmpne 5
iload 2
ifeq 4
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
ifne 4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals: int
StackMap stack:
4: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.TERMINATED:Lreactor/core/Scannable$Attr;
if_acmpne 7
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
ifne 6
iload 2
ifne 6
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
6: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
7: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 8
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.InnerOperator.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
0 9 1 key Lreactor/core/Scannable$Attr;
3 9 2 isCancelled Z
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
public reactor.core.CoreSubscriber<? super R> actual();
descriptor: ()Lreactor/core/CoreSubscriber;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
Signature: ()Lreactor/core/CoreSubscriber<-TR;>;
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
aload 1
invokestatic reactor.core.publisher.Operators.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 5
1: aload 0
aload 1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
2: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
invokeinterface reactor.core.publisher.FluxSwitchOnFirst$ControlSubscriber.sendSubscription:()V
3: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpeq 5
4: aload 1
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
0 6 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
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$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
astore 2
start local 2 1: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
ifne 2
aload 2
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 4
2: StackMap locals: reactor.core.CoreSubscriber
StackMap stack:
aload 1
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onNextDropped:(Ljava/lang/Object;Lreactor/util/context/Context;)V
3: return
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 17
5: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
astore 4
start local 4 6: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.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
7: ldc "The transformer returned a null value"
8: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 3
start local 3 9: goto 14
end local 3 10: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain java.lang.Object reactor.core.CoreSubscriber top reactor.core.CoreSubscriber
StackMap stack: java.lang.Throwable
astore 5
start local 5 11: aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
12: aload 4
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.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
13: return
end local 5 start local 3 14: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain java.lang.Object reactor.core.CoreSubscriber org.reactivestreams.Publisher reactor.core.CoreSubscriber
StackMap stack:
aload 0
aload 1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
15: aload 3
aload 4
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
16: return
end local 4 end local 3 17: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface reactor.core.CoreSubscriber.onNext:(Ljava/lang/Object;)V
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
0 19 1 t TT;
1 19 2 i Lreactor/core/CoreSubscriber<-TT;>;
9 10 3 result Lorg/reactivestreams/Publisher<+TR;>;
14 17 3 result Lorg/reactivestreams/Publisher<+TR;>;
6 17 4 o Lreactor/core/CoreSubscriber<-TR;>;
11 14 5 e Ljava/lang/Throwable;
Exception table:
from to target type
6 9 10 Class java.lang.Throwable
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
astore 3
start local 3 2: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
ifne 3
aload 3
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 5
3: StackMap locals: java.lang.Object reactor.core.CoreSubscriber
StackMap stack:
aload 1
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onErrorDropped:(Ljava/lang/Throwable;Lreactor/util/context/Context;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.throwable:Ljava/lang/Throwable;
6: aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
7: aload 2
ifnonnull 19
aload 3
ifnonnull 19
8: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
astore 5
start local 5 9: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.transformer:Ljava/util/function/BiFunction;
aload 1
aload 5
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Signal.error:(Ljava/lang/Throwable;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
10: ldc "The transformer returned a null value"
11: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 4
start local 4 12: goto 17
end local 4 13: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain java.lang.Throwable java.lang.Object reactor.core.CoreSubscriber top reactor.core.CoreSubscriber
StackMap stack: java.lang.Throwable
astore 6
start local 6 14: aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
15: aload 5
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
aload 6
aload 1
aload 5
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
16: return
end local 6 start local 4 17: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain java.lang.Throwable java.lang.Object reactor.core.CoreSubscriber org.reactivestreams.Publisher reactor.core.CoreSubscriber
StackMap stack:
aload 4
aload 5
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
18: return
end local 5 end local 4 19: StackMap locals:
StackMap stack:
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.drain:()Z
pop
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
0 21 1 t Ljava/lang/Throwable;
1 21 2 f TT;
2 21 3 i Lreactor/core/CoreSubscriber<-TT;>;
12 13 4 result Lorg/reactivestreams/Publisher<+TR;>;
17 19 4 result Lorg/reactivestreams/Publisher<+TR;>;
9 19 5 o Lreactor/core/CoreSubscriber<-TR;>;
14 17 6 e Ljava/lang/Throwable;
Exception table:
from to target type
9 12 13 Class java.lang.Throwable
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
astore 1
start local 1 1: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
astore 2
start local 2 2: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
ifne 3
aload 2
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 4
3: StackMap locals: java.lang.Object reactor.core.CoreSubscriber
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
5: aload 1
ifnonnull 17
aload 2
ifnonnull 17
6: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.outer:Lreactor/core/publisher/FluxSwitchOnFirst$ControlSubscriber;
astore 4
start local 4 7: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.transformer:Ljava/util/function/BiFunction;
aload 4
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Signal.complete:(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$AbstractSwitchOnFirstMain java.lang.Object reactor.core.CoreSubscriber top reactor.core.CoreSubscriber
StackMap stack: java.lang.Throwable
astore 5
start local 5 12: aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
13: aload 4
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
aload 5
aconst_null
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: return
end local 5 start local 3 15: StackMap locals: reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain java.lang.Object reactor.core.CoreSubscriber org.reactivestreams.Publisher reactor.core.CoreSubscriber
StackMap stack:
aload 3
aload 4
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
16: return
end local 4 end local 3 17: StackMap locals:
StackMap stack:
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.drain:()Z
pop
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
1 19 1 f TT;
2 19 2 i Lreactor/core/CoreSubscriber<-TT;>;
10 11 3 result Lorg/reactivestreams/Publisher<+TR;>;
15 17 3 result Lorg/reactivestreams/Publisher<+TR;>;
7 17 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
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.INNER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.getAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
3: getstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndIncrement:(Ljava/lang/Object;)I
ifne 8
4: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
astore 1
start local 1 5: aload 1
ifnull 8
6: aload 0
aconst_null
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
7: aload 1
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onDiscard:(Ljava/lang/Object;Lreactor/util/context/Context;)V
end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
5 8 1 f TT;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic reactor.core.publisher.Operators.validate:(J)Z
ifeq 9
1: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
ifnull 8
2: aload 0
iconst_1
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.requestedOnce:Z
3: aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.drain:()Z
ifeq 8
lload 1
ldc 9223372036854775807
lcmp
ifeq 8
4: lload 1
lconst_1
lsub
dup2
lstore 1
lconst_0
lcmp
ifle 7
5: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
lload 1
invokeinterface org.reactivestreams.Subscription.request:(J)V
6: return
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.s:Lorg/reactivestreams/Subscription;
lload 1
invokeinterface org.reactivestreams.Subscription.request:(J)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
0 10 1 n J
MethodParameters:
Name Flags
n
boolean drain();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: getstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndIncrement:(Ljava/lang/Object;)I
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
astore 1
start local 1 3: iconst_1
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
astore 4
start local 4 6: aload 4
ifnull 25
7: aload 1
ifnull 15
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.requestedOnce:Z
ifeq 15
8: aload 0
aconst_null
putfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.first:Ljava/lang/Object;
9: aload 4
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 12
10: aload 1
aload 0
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onDiscard:(Ljava/lang/Object;Lreactor/util/context/Context;)V
11: iconst_0
ireturn
12: StackMap locals: reactor.core.CoreSubscriber
StackMap stack:
aload 0
aload 4
aload 1
invokevirtual reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.tryOnNext:(Lreactor/core/CoreSubscriber;Ljava/lang/Object;)Z
istore 3
13: aconst_null
astore 1
14: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.inner:Lreactor/core/CoreSubscriber;
astore 4
15: StackMap locals:
StackMap stack:
aload 4
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
if_acmpne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.done:Z
ifeq 25
aload 1
ifnonnull 25
18: aload 0
getfield reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.throwable:Ljava/lang/Throwable;
astore 5
start local 5 19: aload 5
ifnull 22
20: aload 4
aload 5
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
21: goto 23
22: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
invokeinterface reactor.core.CoreSubscriber.onComplete:()V
23: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.INNER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
getstatic reactor.core.publisher.Operators.EMPTY_SUBSCRIBER:Lreactor/core/Fuseable$ConditionalSubscriber;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.lazySet:(Ljava/lang/Object;Ljava/lang/Object;)V
24: iload 3
ireturn
end local 5 25: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 2
ineg
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.addAndGet:(Ljava/lang/Object;I)I
istore 2
26: iload 2
ifne 5
27: iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lreactor/core/publisher/FluxSwitchOnFirst$AbstractSwitchOnFirstMain<TT;TR;>;
3 28 1 f TT;
4 28 2 m I
5 28 3 sent Z
6 28 4 a Lreactor/core/CoreSubscriber<-TT;>;
19 25 5 t Ljava/lang/Throwable;
abstract boolean tryOnNext(reactor.core.CoreSubscriber<? super T>, );
descriptor: (Lreactor/core/CoreSubscriber;Ljava/lang/Object;)Z
flags: (0x0400) ACC_ABSTRACT
Signature: (Lreactor/core/CoreSubscriber<-TT;>;TT;)Z
MethodParameters:
Name Flags
actual
value
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Lreactor/core/publisher/Flux<TT;>;Lreactor/core/publisher/InnerOperator<TT;TR;>;
SourceFile: "FluxSwitchOnFirst.java"
NestHost: reactor.core.publisher.FluxSwitchOnFirst
InnerClasses:
public abstract ConditionalSubscriber = reactor.core.Fuseable$ConditionalSubscriber of reactor.core.Fuseable
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
abstract AbstractSwitchOnFirstMain = reactor.core.publisher.FluxSwitchOnFirst$AbstractSwitchOnFirstMain of reactor.core.publisher.FluxSwitchOnFirst
abstract ControlSubscriber = reactor.core.publisher.FluxSwitchOnFirst$ControlSubscriber of reactor.core.publisher.FluxSwitchOnFirst
final SwitchOnFirstConditionalControlSubscriber = reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstConditionalControlSubscriber of reactor.core.publisher.FluxSwitchOnFirst
final SwitchOnFirstControlSubscriber = reactor.core.publisher.FluxSwitchOnFirst$SwitchOnFirstControlSubscriber of reactor.core.publisher.FluxSwitchOnFirst