public class org.springframework.core.ReactiveAdapterRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.core.ReactiveAdapterRegistry
super_class: java.lang.Object
{
private static volatile org.springframework.core.ReactiveAdapterRegistry sharedInstance;
descriptor: Lorg/springframework/core/ReactiveAdapterRegistry;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private static final boolean reactorPresent;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean rxjava1Present;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean rxjava2Present;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean rxjava3Present;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean flowPublisherPresent;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean kotlinCoroutinesPresent;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<org.springframework.core.ReactiveAdapter> adapters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/core/ReactiveAdapter;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc Lorg/springframework/core/ReactiveAdapterRegistry;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: ldc "reactor.core.publisher.Flux"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
putstatic org.springframework.core.ReactiveAdapterRegistry.reactorPresent:Z
2: ldc "rx.Observable"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
ifeq 4
3: ldc "rx.RxReactiveStreams"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
ifeq 4
iconst_1
goto 5
StackMap locals: java.lang.ClassLoader
StackMap stack:
4: iconst_0
5: StackMap locals:
StackMap stack: int
putstatic org.springframework.core.ReactiveAdapterRegistry.rxjava1Present:Z
6: ldc "io.reactivex.Flowable"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
putstatic org.springframework.core.ReactiveAdapterRegistry.rxjava2Present:Z
7: ldc "io.reactivex.rxjava3.core.Flowable"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
putstatic org.springframework.core.ReactiveAdapterRegistry.rxjava3Present:Z
8: ldc "java.util.concurrent.Flow.Publisher"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
putstatic org.springframework.core.ReactiveAdapterRegistry.flowPublisherPresent:Z
9: ldc "kotlinx.coroutines.reactor.MonoKt"
aload 0
invokestatic org.springframework.util.ClassUtils.isPresent:(Ljava/lang/String;Ljava/lang/ClassLoader;)Z
putstatic org.springframework.core.ReactiveAdapterRegistry.kotlinCoroutinesPresent:Z
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
1 10 0 classLoader Ljava/lang/ClassLoader;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.springframework.core.ReactiveAdapterRegistry.adapters:Ljava/util/List;
2: getstatic org.springframework.core.ReactiveAdapterRegistry.reactorPresent:Z
ifeq 4
3: new org.springframework.core.ReactiveAdapterRegistry$ReactorRegistrar
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry$ReactorRegistrar.<init>:()V
aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$ReactorRegistrar.registerAdapters:(Lorg/springframework/core/ReactiveAdapterRegistry;)V
4: StackMap locals: org.springframework.core.ReactiveAdapterRegistry
StackMap stack:
getstatic org.springframework.core.ReactiveAdapterRegistry.rxjava1Present:Z
ifeq 6
5: new org.springframework.core.ReactiveAdapterRegistry$RxJava1Registrar
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry$RxJava1Registrar.<init>:()V
aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$RxJava1Registrar.registerAdapters:(Lorg/springframework/core/ReactiveAdapterRegistry;)V
6: StackMap locals:
StackMap stack:
getstatic org.springframework.core.ReactiveAdapterRegistry.rxjava2Present:Z
ifeq 8
7: new org.springframework.core.ReactiveAdapterRegistry$RxJava2Registrar
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry$RxJava2Registrar.<init>:()V
aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$RxJava2Registrar.registerAdapters:(Lorg/springframework/core/ReactiveAdapterRegistry;)V
8: StackMap locals:
StackMap stack:
getstatic org.springframework.core.ReactiveAdapterRegistry.rxjava3Present:Z
ifeq 10
9: new org.springframework.core.ReactiveAdapterRegistry$RxJava3Registrar
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry$RxJava3Registrar.<init>:()V
aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$RxJava3Registrar.registerAdapters:(Lorg/springframework/core/ReactiveAdapterRegistry;)V
10: StackMap locals:
StackMap stack:
getstatic org.springframework.core.ReactiveAdapterRegistry.flowPublisherPresent:Z
ifeq 12
11: new org.springframework.core.ReactiveAdapterRegistry$ReactorJdkFlowAdapterRegistrar
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry$ReactorJdkFlowAdapterRegistrar.<init>:()V
aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$ReactorJdkFlowAdapterRegistrar.registerAdapter:(Lorg/springframework/core/ReactiveAdapterRegistry;)V
12: StackMap locals:
StackMap stack:
getstatic org.springframework.core.ReactiveAdapterRegistry.reactorPresent:Z
ifeq 14
getstatic org.springframework.core.ReactiveAdapterRegistry.kotlinCoroutinesPresent:Z
ifeq 14
13: new org.springframework.core.ReactiveAdapterRegistry$CoroutinesRegistrar
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry$CoroutinesRegistrar.<init>:()V
aload 0
invokevirtual org.springframework.core.ReactiveAdapterRegistry$CoroutinesRegistrar.registerAdapters:(Lorg/springframework/core/ReactiveAdapterRegistry;)V
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/core/ReactiveAdapterRegistry;
public boolean hasAdapters();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.core.ReactiveAdapterRegistry.adapters:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/core/ReactiveAdapterRegistry;
public void registerReactiveType(org.springframework.core.ReactiveTypeDescriptor, java.util.function.Function<java.lang.Object, Publisher<?>>, java.util.function.Function<Publisher<?>, java.lang.Object>);
descriptor: (Lorg/springframework/core/ReactiveTypeDescriptor;Ljava/util/function/Function;Ljava/util/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tPublisher cannot be resolved to a type\n\tPublisher cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/core/ReactiveAdapterRegistry;
Signature: (Lorg/springframework/core/ReactiveTypeDescriptor;Ljava/util/function/Function<Ljava/lang/Object;LPublisher<*>;>;Ljava/util/function/Function<LPublisher<*>;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
descriptor
toAdapter
fromAdapter
public org.springframework.core.ReactiveAdapter getAdapter(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/springframework/core/ReactiveAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.springframework.core.ReactiveAdapterRegistry.getAdapter:(Ljava/lang/Class;Ljava/lang/Object;)Lorg/springframework/core/ReactiveAdapter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/core/ReactiveAdapterRegistry;
0 1 1 reactiveType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Lorg/springframework/core/ReactiveAdapter;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
reactiveType
public org.springframework.core.ReactiveAdapter getAdapter(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Lorg/springframework/core/ReactiveAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.core.ReactiveAdapterRegistry.adapters:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof java.util.Optional
ifeq 3
aload 2
checkcast java.util.Optional
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
goto 4
StackMap locals:
StackMap stack:
3: aload 2
StackMap locals:
StackMap stack: java.lang.Object
4: astore 3
start local 3 5: aload 3
ifnull 6
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 7
StackMap locals: java.lang.Object
StackMap stack:
6: aload 1
StackMap locals:
StackMap stack: java.lang.Class
7: astore 4
start local 4 8: aload 4
ifnonnull 10
9: aconst_null
areturn
10: StackMap locals: java.lang.Class
StackMap stack:
aload 0
getfield org.springframework.core.ReactiveAdapterRegistry.adapters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: org.springframework.core.ReactiveAdapterRegistry java.lang.Class java.lang.Object java.lang.Object java.lang.Class top java.util.Iterator
StackMap stack:
11: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.core.ReactiveAdapter
astore 5
start local 5 12: aload 5
invokevirtual org.springframework.core.ReactiveAdapter.getReactiveType:()Ljava/lang/Class;
aload 4
if_acmpne 14
13: aload 5
areturn
end local 5 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: aload 0
getfield org.springframework.core.ReactiveAdapterRegistry.adapters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 19
StackMap locals:
StackMap stack:
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.core.ReactiveAdapter
astore 5
start local 5 17: aload 5
invokevirtual org.springframework.core.ReactiveAdapter.getReactiveType:()Ljava/lang/Class;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 19
18: aload 5
areturn
end local 5 19: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
20: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/springframework/core/ReactiveAdapterRegistry;
0 21 1 reactiveType Ljava/lang/Class<*>;
0 21 2 source Ljava/lang/Object;
5 21 3 sourceToUse Ljava/lang/Object;
8 21 4 clazz Ljava/lang/Class<*>;
12 14 5 adapter Lorg/springframework/core/ReactiveAdapter;
17 19 5 adapter Lorg/springframework/core/ReactiveAdapter;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Object;)Lorg/springframework/core/ReactiveAdapter;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
reactiveType
source
public static org.springframework.core.ReactiveAdapterRegistry getSharedInstance();
descriptor: ()Lorg/springframework/core/ReactiveAdapterRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic org.springframework.core.ReactiveAdapterRegistry.sharedInstance:Lorg/springframework/core/ReactiveAdapterRegistry;
astore 0
start local 0 1: aload 0
ifnonnull 11
2: ldc Lorg/springframework/core/ReactiveAdapterRegistry;
dup
astore 1
monitorenter
3: getstatic org.springframework.core.ReactiveAdapterRegistry.sharedInstance:Lorg/springframework/core/ReactiveAdapterRegistry;
astore 0
4: aload 0
ifnonnull 7
5: new org.springframework.core.ReactiveAdapterRegistry
dup
invokespecial org.springframework.core.ReactiveAdapterRegistry.<init>:()V
astore 0
6: aload 0
putstatic org.springframework.core.ReactiveAdapterRegistry.sharedInstance:Lorg/springframework/core/ReactiveAdapterRegistry;
7: StackMap locals: org.springframework.core.ReactiveAdapterRegistry java.lang.Class
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 registry Lorg/springframework/core/ReactiveAdapterRegistry;
Exception table:
from to target type
3 8 9 any
9 10 9 any
}
SourceFile: "ReactiveAdapterRegistry.java"
NestMembers:
org.springframework.core.ReactiveAdapterRegistry$CoroutinesRegistrar org.springframework.core.ReactiveAdapterRegistry$EmptyCompletableFuture org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter org.springframework.core.ReactiveAdapterRegistry$ReactorJdkFlowAdapterRegistrar org.springframework.core.ReactiveAdapterRegistry$ReactorRegistrar org.springframework.core.ReactiveAdapterRegistry$RxJava1Registrar org.springframework.core.ReactiveAdapterRegistry$RxJava2Registrar org.springframework.core.ReactiveAdapterRegistry$RxJava3Registrar org.springframework.core.ReactiveAdapterRegistry$SpringCoreBlockHoundIntegration
InnerClasses:
private CoroutinesRegistrar = org.springframework.core.ReactiveAdapterRegistry$CoroutinesRegistrar of org.springframework.core.ReactiveAdapterRegistry
private EmptyCompletableFuture = org.springframework.core.ReactiveAdapterRegistry$EmptyCompletableFuture of org.springframework.core.ReactiveAdapterRegistry
private ReactorAdapter = org.springframework.core.ReactiveAdapterRegistry$ReactorAdapter of org.springframework.core.ReactiveAdapterRegistry
private ReactorJdkFlowAdapterRegistrar = org.springframework.core.ReactiveAdapterRegistry$ReactorJdkFlowAdapterRegistrar of org.springframework.core.ReactiveAdapterRegistry
private ReactorRegistrar = org.springframework.core.ReactiveAdapterRegistry$ReactorRegistrar of org.springframework.core.ReactiveAdapterRegistry
private RxJava1Registrar = org.springframework.core.ReactiveAdapterRegistry$RxJava1Registrar of org.springframework.core.ReactiveAdapterRegistry
private RxJava2Registrar = org.springframework.core.ReactiveAdapterRegistry$RxJava2Registrar of org.springframework.core.ReactiveAdapterRegistry
private RxJava3Registrar = org.springframework.core.ReactiveAdapterRegistry$RxJava3Registrar of org.springframework.core.ReactiveAdapterRegistry
public SpringCoreBlockHoundIntegration = org.springframework.core.ReactiveAdapterRegistry$SpringCoreBlockHoundIntegration of org.springframework.core.ReactiveAdapterRegistry