public final class org.bson.internal.CodecRegistryHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.bson.internal.CodecRegistryHelper
super_class: java.lang.Object
{
public static org.bson.codecs.configuration.CodecRegistry createRegistry(org.bson.codecs.configuration.CodecRegistry, org.bson.UuidRepresentation);
descriptor: (Lorg/bson/codecs/configuration/CodecRegistry;Lorg/bson/UuidRepresentation;)Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aload 1
getstatic org.bson.UuidRepresentation.JAVA_LEGACY:Lorg/bson/UuidRepresentation;
if_acmpeq 6
2: aload 0
instanceof org.bson.codecs.configuration.CodecProvider
ifeq 5
3: new org.bson.internal.OverridableUuidRepresentationCodecRegistry
dup
aload 0
checkcast org.bson.codecs.configuration.CodecProvider
aload 1
invokespecial org.bson.internal.OverridableUuidRepresentationCodecRegistry.<init>:(Lorg/bson/codecs/configuration/CodecProvider;Lorg/bson/UuidRepresentation;)V
astore 2
4: goto 6
5: StackMap locals: org.bson.codecs.configuration.CodecRegistry
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Changing the default UuidRepresentation requires a CodecRegistry that also implements the CodecProvider interface"
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 7 1 uuidRepresentation Lorg/bson/UuidRepresentation;
1 7 2 retVal Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
codecRegistry final
uuidRepresentation 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/internal/CodecRegistryHelper;
}
SourceFile: "CodecRegistryHelper.java"