public class org.bson.codecs.BsonValueCodec implements org.bson.codecs.Codec<org.bson.BsonValue>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.BsonValueCodec
super_class: java.lang.Object
{
private final org.bson.codecs.configuration.CodecRegistry codecRegistry;
descriptor: Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray org.bson.codecs.configuration.CodecProvider
dup
iconst_0
new org.bson.codecs.BsonValueCodecProvider
dup
invokespecial org.bson.codecs.BsonValueCodecProvider.<init>:()V
aastore
invokestatic org.bson.codecs.configuration.CodecRegistries.fromProviders:([Lorg/bson/codecs/configuration/CodecProvider;)Lorg/bson/codecs/configuration/CodecRegistry;
invokespecial org.bson.codecs.BsonValueCodec.<init>:(Lorg/bson/codecs/configuration/CodecRegistry;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/BsonValueCodec;
public void <init>(org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bson.codecs.BsonValueCodec.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/BsonValueCodec;
0 3 1 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
codecRegistry final
public org.bson.BsonValue decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/BsonValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bson.codecs.BsonValueCodec.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
aload 1
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
invokestatic org.bson.codecs.BsonValueCodecProvider.getClassForBsonType:(Lorg/bson/BsonType;)Ljava/lang/Class;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
aload 1
aload 2
invokeinterface org.bson.codecs.Codec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
checkcast org.bson.BsonValue
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/BsonValueCodec;
0 1 1 reader Lorg/bson/BsonReader;
0 1 2 decoderContext Lorg/bson/codecs/DecoderContext;
MethodParameters:
Name Flags
reader final
decoderContext final
public void encode(org.bson.BsonWriter, org.bson.BsonValue, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Lorg/bson/BsonValue;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bson.codecs.BsonValueCodec.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
astore 4
start local 4 1: aload 3
aload 4
aload 1
aload 2
invokevirtual org.bson.codecs.EncoderContext.encodeWithChildContext:(Lorg/bson/codecs/Encoder;Lorg/bson/BsonWriter;Ljava/lang/Object;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/codecs/BsonValueCodec;
0 3 1 writer Lorg/bson/BsonWriter;
0 3 2 value Lorg/bson/BsonValue;
0 3 3 encoderContext Lorg/bson/codecs/EncoderContext;
1 3 4 codec Lorg/bson/codecs/Codec;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Class<org.bson.BsonValue> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lorg/bson/BsonValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/BsonValueCodec;
Signature: ()Ljava/lang/Class<Lorg/bson/BsonValue;>;
public java.lang.Object decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.bson.codecs.BsonValueCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lorg/bson/BsonValue;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void encode(org.bson.BsonWriter, java.lang.Object, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast org.bson.BsonValue
aload 3
invokevirtual org.bson.codecs.BsonValueCodec.encode:(Lorg/bson/BsonWriter;Lorg/bson/BsonValue;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/bson/codecs/Codec<Lorg/bson/BsonValue;>;
SourceFile: "BsonValueCodec.java"