final class org.bson.codecs.configuration.ProvidersCodecRegistry implements org.bson.codecs.configuration.CodecRegistry, org.bson.codecs.configuration.CodecProvider
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.configuration.ProvidersCodecRegistry
super_class: java.lang.Object
{
private final java.util.List<org.bson.codecs.configuration.CodecProvider> codecProviders;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/bson/codecs/configuration/CodecProvider;>;
private final org.bson.codecs.configuration.CodecCache codecCache;
descriptor: Lorg/bson/codecs/configuration/CodecCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.util.List<? extends org.bson.codecs.configuration.CodecProvider>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bson.codecs.configuration.CodecCache
dup
invokespecial org.bson.codecs.configuration.CodecCache.<init>:()V
putfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecCache:Lorg/bson/codecs/configuration/CodecCache;
2: ldc "codecProviders must not be null or empty"
aload 1
ifnull 3
aload 1
invokeinterface java.util.List.size:()I
ifle 3
iconst_1
goto 4
StackMap locals: org.bson.codecs.configuration.ProvidersCodecRegistry java.util.List
StackMap stack: java.lang.String
3: iconst_0
StackMap locals: org.bson.codecs.configuration.ProvidersCodecRegistry java.util.List
StackMap stack: java.lang.String int
4: invokestatic org.bson.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
0 7 1 codecProviders Ljava/util/List<+Lorg/bson/codecs/configuration/CodecProvider;>;
Signature: (Ljava/util/List<+Lorg/bson/codecs/configuration/CodecProvider;>;)V
MethodParameters:
Name Flags
codecProviders final
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.codecs.configuration.ChildCodecRegistry
dup
aload 0
aload 1
invokespecial org.bson.codecs.configuration.ChildCodecRegistry.<init>:(Lorg/bson/codecs/configuration/ProvidersCodecRegistry;Ljava/lang/Class;)V
invokevirtual org.bson.codecs.configuration.ProvidersCodecRegistry.get:(Lorg/bson/codecs/configuration/ChildCodecRegistry;)Lorg/bson/codecs/Codec;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
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(java.lang.Class<T>, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.bson.codecs.configuration.ProvidersCodecRegistry java.lang.Class org.bson.codecs.configuration.CodecRegistry top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecProvider
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokeinterface org.bson.codecs.configuration.CodecProvider.get:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec;
astore 5
start local 5 3: aload 5
ifnull 5
4: aload 5
areturn
end local 5 end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
0 7 1 clazz Ljava/lang/Class<TT;>;
0 7 2 registry Lorg/bson/codecs/configuration/CodecRegistry;
2 5 3 provider Lorg/bson/codecs/configuration/CodecProvider;
3 5 5 codec Lorg/bson/codecs/Codec<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec<TT;>;
MethodParameters:
Name Flags
clazz final
registry final
<T> org.bson.codecs.Codec<T> get(org.bson.codecs.configuration.ChildCodecRegistry);
descriptor: (Lorg/bson/codecs/configuration/ChildCodecRegistry;)Lorg/bson/codecs/Codec;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecCache:Lorg/bson/codecs/configuration/CodecCache;
aload 1
invokevirtual org.bson.codecs.configuration.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
invokevirtual org.bson.codecs.configuration.CodecCache.containsKey:(Ljava/lang/Class;)Z
ifne 9
1: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.bson.codecs.configuration.ProvidersCodecRegistry org.bson.codecs.configuration.ChildCodecRegistry top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecProvider
astore 2
start local 2 3: aload 2
aload 1
invokevirtual org.bson.codecs.configuration.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 4
start local 4 4: aload 4
ifnull 7
5: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecCache:Lorg/bson/codecs/configuration/CodecCache;
aload 1
invokevirtual org.bson.codecs.configuration.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
aload 4
invokevirtual org.bson.codecs.configuration.CodecCache.put:(Ljava/lang/Class;Lorg/bson/codecs/Codec;)V
6: aload 4
areturn
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecCache:Lorg/bson/codecs/configuration/CodecCache;
aload 1
invokevirtual org.bson.codecs.configuration.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
aconst_null
invokevirtual org.bson.codecs.configuration.CodecCache.put:(Ljava/lang/Class;Lorg/bson/codecs/Codec;)V
9: StackMap locals: org.bson.codecs.configuration.ProvidersCodecRegistry org.bson.codecs.configuration.ChildCodecRegistry
StackMap stack:
aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecCache:Lorg/bson/codecs/configuration/CodecCache;
aload 1
invokevirtual org.bson.codecs.configuration.ChildCodecRegistry.getCodecClass:()Ljava/lang/Class;
invokevirtual org.bson.codecs.configuration.CodecCache.getOrThrow:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
0 10 1 context Lorg/bson/codecs/configuration/ChildCodecRegistry;
3 7 2 provider Lorg/bson/codecs/configuration/CodecProvider;
4 7 4 codec Lorg/bson/codecs/Codec<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/configuration/ChildCodecRegistry;)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=3, locals=4, 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.codecs.configuration.ProvidersCodecRegistry
astore 2
start local 2 5: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 2
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: org.bson.codecs.configuration.ProvidersCodecRegistry
StackMap stack:
iconst_0
istore 3
start local 3 8: goto 12
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecProvider
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecProvider
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 9
end local 3 13: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
0 14 1 o Ljava/lang/Object;
5 14 2 that Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
8 13 3 i I
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.codecs.configuration.ProvidersCodecRegistry.codecProviders:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/configuration/ProvidersCodecRegistry;
}
SourceFile: "ProvidersCodecRegistry.java"