public final class org.bson.codecs.configuration.CodecRegistries
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.configuration.CodecRegistries
super_class: java.lang.Object
{
public static org.bson.codecs.configuration.CodecRegistry fromCodecs(org.bson.codecs.Codec<?>[]);
descriptor: ([Lorg/bson/codecs/Codec;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.bson.codecs.configuration.CodecRegistries.fromCodecs:(Ljava/util/List;)Lorg/bson/codecs/configuration/CodecRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 codecs [Lorg/bson/codecs/Codec;
Signature: ([Lorg/bson/codecs/Codec<*>;)Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
codecs final
public static org.bson.codecs.configuration.CodecRegistry fromCodecs(java.util.List<? extends org.bson.codecs.Codec<?>>);
descriptor: (Ljava/util/List;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: iconst_1
anewarray org.bson.codecs.configuration.CodecProvider
dup
iconst_0
new org.bson.codecs.configuration.MapOfCodecsProvider
dup
aload 0
invokespecial org.bson.codecs.configuration.MapOfCodecsProvider.<init>:(Ljava/util/List;)V
aastore
invokestatic org.bson.codecs.configuration.CodecRegistries.fromProviders:([Lorg/bson/codecs/configuration/CodecProvider;)Lorg/bson/codecs/configuration/CodecRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 codecs Ljava/util/List<+Lorg/bson/codecs/Codec<*>;>;
Signature: (Ljava/util/List<+Lorg/bson/codecs/Codec<*>;>;)Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
codecs final
public static org.bson.codecs.configuration.CodecRegistry fromProviders(org.bson.codecs.configuration.CodecProvider[]);
descriptor: ([Lorg/bson/codecs/configuration/CodecProvider;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.bson.codecs.configuration.CodecRegistries.fromProviders:(Ljava/util/List;)Lorg/bson/codecs/configuration/CodecRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 providers [Lorg/bson/codecs/configuration/CodecProvider;
MethodParameters:
Name Flags
providers final
public static org.bson.codecs.configuration.CodecRegistry fromProviders(java.util.List<? extends org.bson.codecs.configuration.CodecProvider>);
descriptor: (Ljava/util/List;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bson.internal.ProvidersCodecRegistry
dup
aload 0
invokespecial org.bson.internal.ProvidersCodecRegistry.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 providers Ljava/util/List<+Lorg/bson/codecs/configuration/CodecProvider;>;
Signature: (Ljava/util/List<+Lorg/bson/codecs/configuration/CodecProvider;>;)Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
providers final
public static org.bson.codecs.configuration.CodecRegistry fromRegistries(org.bson.codecs.configuration.CodecRegistry[]);
descriptor: ([Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.bson.codecs.configuration.CodecRegistries.fromRegistries:(Ljava/util/List;)Lorg/bson/codecs/configuration/CodecRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 registries [Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
registries final
public static org.bson.codecs.configuration.CodecRegistry fromRegistries(java.util.List<? extends org.bson.codecs.configuration.CodecRegistry>);
descriptor: (Ljava/util/List;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecRegistry
astore 2
start local 2 3: aload 1
aload 2
invokestatic org.bson.codecs.configuration.CodecRegistries.providerFromRegistry:(Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/configuration/CodecProvider;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new org.bson.internal.ProvidersCodecRegistry
dup
aload 1
invokespecial org.bson.internal.ProvidersCodecRegistry.<init>:(Ljava/util/List;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 registries Ljava/util/List<+Lorg/bson/codecs/configuration/CodecRegistry;>;
1 6 1 providers Ljava/util/List<Lorg/bson/codecs/configuration/CodecProvider;>;
3 4 2 registry Lorg/bson/codecs/configuration/CodecRegistry;
Signature: (Ljava/util/List<+Lorg/bson/codecs/configuration/CodecRegistry;>;)Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
registries final
private static org.bson.codecs.configuration.CodecProvider providerFromRegistry(org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/configuration/CodecProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bson.codecs.configuration.CodecProvider
ifeq 2
1: aload 0
checkcast org.bson.codecs.configuration.CodecProvider
areturn
2: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecRegistries$1
dup
aload 0
invokespecial org.bson.codecs.configuration.CodecRegistries$1.<init>:(Lorg/bson/codecs/configuration/CodecRegistry;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 innerRegistry Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
innerRegistry final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/configuration/CodecRegistries;
}
SourceFile: "CodecRegistries.java"
NestMembers:
org.bson.codecs.configuration.CodecRegistries$1
InnerClasses:
org.bson.codecs.configuration.CodecRegistries$1