public class org.bson.internal.OverridableUuidRepresentationCodecRegistry implements org.bson.internal.CycleDetectingCodecRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.internal.OverridableUuidRepresentationCodecRegistry
super_class: java.lang.Object
{
private final org.bson.codecs.configuration.CodecProvider wrapped;
descriptor: Lorg/bson/codecs/configuration/CodecProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.internal.CodecCache codecCache;
descriptor: Lorg/bson/internal/CodecCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.UuidRepresentation uuidRepresentation;
descriptor: Lorg/bson/UuidRepresentation;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.bson.codecs.configuration.CodecProvider, org.bson.UuidRepresentation);
descriptor: (Lorg/bson/codecs/configuration/CodecProvider;Lorg/bson/UuidRepresentation;)V
flags: (0x0000)
Code:
stack=3, 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
new org.bson.internal.CodecCache
dup
invokespecial org.bson.internal.CodecCache.<init>:()V
putfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.codecCache:Lorg/bson/internal/CodecCache;
2: aload 0
ldc "uuidRepresentation"
aload 2
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.UuidRepresentation
putfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.uuidRepresentation:Lorg/bson/UuidRepresentation;
3: aload 0
ldc "wrapped"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecProvider
putfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.wrapped:Lorg/bson/codecs/configuration/CodecProvider;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
0 5 1 wrapped Lorg/bson/codecs/configuration/CodecProvider;
0 5 2 uuidRepresentation Lorg/bson/UuidRepresentation;
MethodParameters:
Name Flags
wrapped final
uuidRepresentation final
public org.bson.UuidRepresentation getUuidRepresentation();
descriptor: ()Lorg/bson/UuidRepresentation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.uuidRepresentation:Lorg/bson/UuidRepresentation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
public org.bson.codecs.configuration.CodecProvider getWrapped();
descriptor: ()Lorg/bson/codecs/configuration/CodecProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.wrapped:Lorg/bson/codecs/configuration/CodecProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
public <T> org.bson.codecs.Codec<T> get(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/bson/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bson.internal.ChildCodecRegistry
dup
aload 0
aload 1
invokespecial org.bson.internal.ChildCodecRegistry.<init>:(Lorg/bson/internal/CycleDetectingCodecRegistry;Ljava/lang/Class;)V
invokevirtual org.bson.internal.OverridableUuidRepresentationCodecRegistry.get:(Lorg/bson/internal/ChildCodecRegistry;)Lorg/bson/codecs/Codec;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
0 1 1 clazz Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lorg/bson/codecs/Codec<TT;>;
MethodParameters:
Name Flags
clazz final
public <T> org.bson.codecs.Codec<T> get(org.bson.internal.ChildCodecRegistry<T>);
descriptor: (Lorg/bson/internal/ChildCodecRegistry;)Lorg/bson/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.codecCache:Lorg/bson/internal/CodecCache;
aload 1
invokevirtual org.bson.internal.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
invokevirtual org.bson.internal.CodecCache.containsKey:(Ljava/lang/Class;)Z
ifne 5
1: aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.wrapped:Lorg/bson/codecs/configuration/CodecProvider;
aload 1
invokevirtual org.bson.internal.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
aload 1
invokeinterface org.bson.codecs.configuration.CodecProvider.get:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec;
astore 2
start local 2 2: aload 2
instanceof org.bson.codecs.OverridableUuidRepresentationCodec
ifeq 4
3: aload 2
checkcast org.bson.codecs.OverridableUuidRepresentationCodec
aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.uuidRepresentation:Lorg/bson/UuidRepresentation;
invokeinterface org.bson.codecs.OverridableUuidRepresentationCodec.withUuidRepresentation:(Lorg/bson/UuidRepresentation;)Lorg/bson/codecs/Codec;
astore 2
4: StackMap locals: org.bson.codecs.Codec
StackMap stack:
aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.codecCache:Lorg/bson/internal/CodecCache;
aload 1
invokevirtual org.bson.internal.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
aload 2
invokevirtual org.bson.internal.CodecCache.put:(Ljava/lang/Class;Lorg/bson/codecs/Codec;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.codecCache:Lorg/bson/internal/CodecCache;
aload 1
invokevirtual org.bson.internal.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
invokevirtual org.bson.internal.CodecCache.getOrThrow:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
0 6 1 context Lorg/bson/internal/ChildCodecRegistry<TT;>;
2 5 2 codec Lorg/bson/codecs/Codec<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/bson/internal/ChildCodecRegistry<TT;>;)Lorg/bson/codecs/Codec<TT;>;
MethodParameters:
Name Flags
context final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bson.internal.OverridableUuidRepresentationCodecRegistry
astore 2
start local 2 5: aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.wrapped:Lorg/bson/codecs/configuration/CodecProvider;
aload 2
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.wrapped:Lorg/bson/codecs/configuration/CodecProvider;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: org.bson.internal.OverridableUuidRepresentationCodecRegistry
StackMap stack:
aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.uuidRepresentation:Lorg/bson/UuidRepresentation;
aload 2
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.uuidRepresentation:Lorg/bson/UuidRepresentation;
if_acmpne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
0 9 1 o Ljava/lang/Object;
5 9 2 that Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.wrapped:Lorg/bson/codecs/configuration/CodecProvider;
invokevirtual java.lang.Object.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.bson.internal.OverridableUuidRepresentationCodecRegistry.uuidRepresentation:Lorg/bson/UuidRepresentation;
invokevirtual org.bson.UuidRepresentation.hashCode:()I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/internal/OverridableUuidRepresentationCodecRegistry;
1 3 1 result I
}
SourceFile: "OverridableUuidRepresentationCodecRegistry.java"