final class org.bson.codecs.configuration.MapOfCodecsProvider implements org.bson.codecs.configuration.CodecProvider
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.configuration.MapOfCodecsProvider
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Class<?>, org.bson.codecs.Codec<?>> codecsMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/bson/codecs/Codec<*>;>;
void <init>(java.util.List<? extends org.bson.codecs.Codec<?>>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.bson.codecs.configuration.MapOfCodecsProvider.codecsMap:Ljava/util/Map;
2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.bson.codecs.configuration.MapOfCodecsProvider java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.codecs.Codec
astore 2
start local 2 4: aload 0
getfield org.bson.codecs.configuration.MapOfCodecsProvider.codecsMap:Ljava/util/Map;
aload 2
invokeinterface org.bson.codecs.Codec.getEncoderClass:()Ljava/lang/Class;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bson/codecs/configuration/MapOfCodecsProvider;
0 7 1 codecsList Ljava/util/List<+Lorg/bson/codecs/Codec<*>;>;
4 5 2 codec Lorg/bson/codecs/Codec<*>;
Signature: (Ljava/util/List<+Lorg/bson/codecs/Codec<*>;>;)V
MethodParameters:
Name Flags
codecsList 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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bson.codecs.configuration.MapOfCodecsProvider.codecsMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.Codec
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/configuration/MapOfCodecsProvider;
0 1 1 clazz Ljava/lang/Class<TT;>;
0 1 2 registry Lorg/bson/codecs/configuration/CodecRegistry;
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
}
SourceFile: "MapOfCodecsProvider.java"