public class org.bson.codecs.jsr310.Jsr310CodecProvider implements org.bson.codecs.configuration.CodecProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.jsr310.Jsr310CodecProvider
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.Class<?>, org.bson.codecs.Codec<?>> JSR310_CODEC_MAP;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/bson/codecs/Codec<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.bson.codecs.jsr310.Jsr310CodecProvider.JSR310_CODEC_MAP:Ljava/util/Map;
1: ldc "java.time.Instant"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
2: new org.bson.codecs.jsr310.InstantCodec
dup
invokespecial org.bson.codecs.jsr310.InstantCodec.<init>:()V
invokestatic org.bson.codecs.jsr310.Jsr310CodecProvider.putCodec:(Lorg/bson/codecs/Codec;)V
3: new org.bson.codecs.jsr310.LocalDateCodec
dup
invokespecial org.bson.codecs.jsr310.LocalDateCodec.<init>:()V
invokestatic org.bson.codecs.jsr310.Jsr310CodecProvider.putCodec:(Lorg/bson/codecs/Codec;)V
4: new org.bson.codecs.jsr310.LocalDateTimeCodec
dup
invokespecial org.bson.codecs.jsr310.LocalDateTimeCodec.<init>:()V
invokestatic org.bson.codecs.jsr310.Jsr310CodecProvider.putCodec:(Lorg/bson/codecs/Codec;)V
5: new org.bson.codecs.jsr310.LocalTimeCodec
dup
invokespecial org.bson.codecs.jsr310.LocalTimeCodec.<init>:()V
invokestatic org.bson.codecs.jsr310.Jsr310CodecProvider.putCodec:(Lorg/bson/codecs/Codec;)V
6: goto 8
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
7: pop
8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 6 7 Class java.lang.ClassNotFoundException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/jsr310/Jsr310CodecProvider;
private static void putCodec(org.bson.codecs.Codec<?>);
descriptor: (Lorg/bson/codecs/Codec;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.bson.codecs.jsr310.Jsr310CodecProvider.JSR310_CODEC_MAP:Ljava/util/Map;
aload 0
invokeinterface org.bson.codecs.Codec.getEncoderClass:()Ljava/lang/Class;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 codec Lorg/bson/codecs/Codec<*>;
Signature: (Lorg/bson/codecs/Codec<*>;)V
MethodParameters:
Name Flags
codec 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: getstatic org.bson.codecs.jsr310.Jsr310CodecProvider.JSR310_CODEC_MAP: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/jsr310/Jsr310CodecProvider;
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: "Jsr310CodecProvider.java"