class org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter extends org.springframework.core.ReactiveAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter
super_class: org.springframework.core.ReactiveAdapter
{
void <init>(org.springframework.core.ReactiveTypeDescriptor, java.util.function.Function<java.lang.Object, org.reactivestreams.Publisher<?>>, java.util.function.Function<org.reactivestreams.Publisher<?>, java.lang.Object>);
descriptor: (Lorg/springframework/core/ReactiveTypeDescriptor;Ljava/util/function/Function;Ljava/util/function/Function;)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
aload 3
invokespecial org.springframework.core.ReactiveAdapter.<init>:(Lorg/springframework/core/ReactiveTypeDescriptor;Ljava/util/function/Function;Ljava/util/function/Function;)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 Lorg/springframework/core/ReactiveAdapterRegistry$ReactorAdapter;
0 2 1 descriptor Lorg/springframework/core/ReactiveTypeDescriptor;
0 2 2 toPublisherFunction Ljava/util/function/Function<Ljava/lang/Object;Lorg/reactivestreams/Publisher<*>;>;
0 2 3 fromPublisherFunction Ljava/util/function/Function<Lorg/reactivestreams/Publisher<*>;Ljava/lang/Object;>;
Signature: (Lorg/springframework/core/ReactiveTypeDescriptor;Ljava/util/function/Function<Ljava/lang/Object;Lorg/reactivestreams/Publisher<*>;>;Ljava/util/function/Function<Lorg/reactivestreams/Publisher<*>;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
descriptor
toPublisherFunction
fromPublisherFunction
public <T> org.reactivestreams.Publisher<T> toPublisher();
descriptor: (Ljava/lang/Object;)Lorg/reactivestreams/Publisher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.core.ReactiveAdapter.toPublisher:(Ljava/lang/Object;)Lorg/reactivestreams/Publisher;
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter.isMultiValue:()Z
ifeq 2
aload 2
invokestatic reactor.core.publisher.Flux.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Flux;
goto 3
StackMap locals: org.reactivestreams.Publisher
StackMap stack:
2: aload 2
invokestatic reactor.core.publisher.Mono.from:(Lorg/reactivestreams/Publisher;)Lreactor/core/publisher/Mono;
StackMap locals:
StackMap stack: org.reactivestreams.Publisher
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/core/ReactiveAdapterRegistry$ReactorAdapter;
0 4 1 source Ljava/lang/Object;
1 4 2 publisher Lorg/reactivestreams/Publisher<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)Lorg/reactivestreams/Publisher<TT;>;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
source
}
SourceFile: "ReactiveAdapterRegistry.java"
NestHost: org.springframework.core.ReactiveAdapterRegistry
InnerClasses:
private ReactorAdapter = org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter of org.springframework.core.ReactiveAdapterRegistry