class reactor.core.publisher.ContextTrackingFunctionWrapper<T, V> implements java.util.function.Function<org.reactivestreams.Publisher<T>, reactor.core.CorePublisher<V>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: reactor.core.publisher.ContextTrackingFunctionWrapper
super_class: java.lang.Object
{
static final java.lang.String CONTEXT_MARKER_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "reactor.core.context.marker."
final java.util.function.Function<? super org.reactivestreams.Publisher<T>, ? extends org.reactivestreams.Publisher<V>> transformer;
descriptor: Ljava/util/function/Function;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Function<-Lorg/reactivestreams/Publisher<TT;>;+Lorg/reactivestreams/Publisher<TV;>;>;
final java.lang.String marker;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
void <init>(java.util.function.Function<? super org.reactivestreams.Publisher<T>, ? extends org.reactivestreams.Publisher<V>>);
descriptor: (Ljava/util/function/Function;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial reactor.core.publisher.ContextTrackingFunctionWrapper.<init>:(Ljava/util/function/Function;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/ContextTrackingFunctionWrapper<TT;TV;>;
0 2 1 transformer Ljava/util/function/Function<-Lorg/reactivestreams/Publisher<TT;>;+Lorg/reactivestreams/Publisher<TV;>;>;
Signature: (Ljava/util/function/Function<-Lorg/reactivestreams/Publisher<TT;>;+Lorg/reactivestreams/Publisher<TV;>;>;)V
MethodParameters:
Name Flags
transformer
void <init>(java.util.function.Function<? super org.reactivestreams.Publisher<T>, ? extends org.reactivestreams.Publisher<V>>, java.lang.String);
descriptor: (Ljava/util/function/Function;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield reactor.core.publisher.ContextTrackingFunctionWrapper.transformer:Ljava/util/function/Function;
2: aload 0
aload 2
putfield reactor.core.publisher.ContextTrackingFunctionWrapper.marker:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/ContextTrackingFunctionWrapper<TT;TV;>;
0 4 1 transformer Ljava/util/function/Function<-Lorg/reactivestreams/Publisher<TT;>;+Lorg/reactivestreams/Publisher<TV;>;>;
0 4 2 marker Ljava/lang/String;
Signature: (Ljava/util/function/Function<-Lorg/reactivestreams/Publisher<TT;>;+Lorg/reactivestreams/Publisher<TV;>;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
transformer
marker
public reactor.core.CorePublisher<V> apply(org.reactivestreams.Publisher<T>);
descriptor: (Lorg/reactivestreams/Publisher;)Lreactor/core/CorePublisher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "reactor.core.context.marker."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 2
invokedynamic apply(Lreactor/core/publisher/ContextTrackingFunctionWrapper;Ljava/lang/String;)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
reactor/core/publisher/ContextTrackingFunctionWrapper.lambda$0(Ljava/lang/String;Lorg/reactivestreams/Publisher;Lreactor/core/CoreSubscriber;)Lreactor/core/CoreSubscriber; (7)
(Lorg/reactivestreams/Publisher;Lreactor/core/CoreSubscriber;)Lreactor/core/CoreSubscriber;
invokestatic reactor.core.publisher.Operators.liftPublisher:(Ljava/util/function/BiFunction;)Ljava/util/function/Function;
2: aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
3: astore 1
4: aload 0
getfield reactor.core.publisher.ContextTrackingFunctionWrapper.transformer:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 3
start local 3 5: new reactor.core.publisher.ContextTrackingFunctionWrapper$1
dup
aload 0
aload 2
aload 3
invokespecial reactor.core.publisher.ContextTrackingFunctionWrapper$1.<init>:(Lreactor/core/publisher/ContextTrackingFunctionWrapper;Ljava/lang/String;Lorg/reactivestreams/Publisher;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/ContextTrackingFunctionWrapper<TT;TV;>;
0 6 1 source Lorg/reactivestreams/Publisher<TT;>;
1 6 2 key Ljava/lang/String;
5 6 3 result Lorg/reactivestreams/Publisher<TV;>;
Signature: (Lorg/reactivestreams/Publisher<TT;>;)Lreactor/core/CorePublisher<TV;>;
MethodParameters:
Name Flags
source
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.reactivestreams.Publisher
invokevirtual reactor.core.publisher.ContextTrackingFunctionWrapper.apply:(Lorg/reactivestreams/Publisher;)Lreactor/core/CorePublisher;
areturn
LocalVariableTable:
Start End Slot Name Signature
private reactor.core.CoreSubscriber lambda$0(java.lang.String, org.reactivestreams.Publisher, reactor.core.CoreSubscriber);
descriptor: (Ljava/lang/String;Lorg/reactivestreams/Publisher;Lreactor/core/CoreSubscriber;)Lreactor/core/CoreSubscriber;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 2 start local 3 0: aload 3
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
astore 4
start local 4 1: aload 4
aload 1
invokeinterface reactor.util.context.Context.hasKey:(Ljava/lang/Object;)Z
ifne 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Context loss after applying "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield reactor.core.publisher.ContextTrackingFunctionWrapper.marker:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: reactor.util.context.Context
StackMap stack:
aload 4
aload 1
invokeinterface reactor.util.context.Context.delete:(Ljava/lang/Object;)Lreactor/util/context/Context;
astore 5
start local 5 4: new reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber
dup
aload 3
aload 5
invokespecial reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.<init>:(Lreactor/core/CoreSubscriber;Lreactor/util/context/Context;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/publisher/ContextTrackingFunctionWrapper<TT;TV;>;
0 5 2 p Lorg/reactivestreams/Publisher;
0 5 3 actual Lreactor/core/CoreSubscriber<-TT;>;
1 5 4 ctx Lreactor/util/context/Context;
4 5 5 newContext Lreactor/util/context/Context;
}
Signature: <T:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/function/Function<Lorg/reactivestreams/Publisher<TT;>;Lreactor/core/CorePublisher<TV;>;>;
SourceFile: "ContextTrackingFunctionWrapper.java"
NestMembers:
reactor.core.publisher.ContextTrackingFunctionWrapper$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
reactor.core.publisher.ContextTrackingFunctionWrapper$1
final ContextWriteSubscriber = reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber of reactor.core.publisher.FluxContextWrite