final class com.mongodb.client.model.changestream.ChangeStreamDocumentCodec<TResult> implements org.bson.codecs.Codec<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.changestream.ChangeStreamDocumentCodec
super_class: java.lang.Object
{
private static final com.mongodb.client.model.changestream.OperationTypeCodec OPERATION_TYPE_CODEC;
descriptor: Lcom/mongodb/client/model/changestream/OperationTypeCodec;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.bson.codecs.Codec<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>> codec;
descriptor: Lorg/bson/codecs/Codec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/Codec<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.mongodb.client.model.changestream.OperationTypeCodec
dup
invokespecial com.mongodb.client.model.changestream.OperationTypeCodec.<init>:()V
putstatic com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.OPERATION_TYPE_CODEC:Lcom/mongodb/client/model/changestream/OperationTypeCodec;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Class<TResult>, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x0000)
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
invokestatic org.bson.codecs.pojo.ClassModel.builder:(Ljava/lang/Class;)Lorg/bson/codecs/pojo/ClassModelBuilder;
astore 3
start local 3 2: aload 3
ldc "fullDocument"
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getProperty:(Ljava/lang/String;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
aload 2
aload 1
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.codec:(Lorg/bson/codecs/Codec;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
pop
3: aload 3
ldc "operationType"
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.getProperty:(Ljava/lang/String;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
getstatic com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.OPERATION_TYPE_CODEC:Lcom/mongodb/client/model/changestream/OperationTypeCodec;
invokevirtual org.bson.codecs.pojo.PropertyModelBuilder.codec:(Lorg/bson/codecs/Codec;)Lorg/bson/codecs/pojo/PropertyModelBuilder;
pop
4: aload 3
invokevirtual org.bson.codecs.pojo.ClassModelBuilder.build:()Lorg/bson/codecs/pojo/ClassModel;
astore 4
start local 4 5: invokestatic org.bson.codecs.pojo.PojoCodecProvider.builder:()Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
iconst_1
anewarray java.lang.Class
dup
iconst_0
6: ldc Lcom/mongodb/MongoNamespace;
aastore
invokevirtual org.bson.codecs.pojo.PojoCodecProvider$Builder.register:([Ljava/lang/Class;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
iconst_1
anewarray java.lang.Class
dup
iconst_0
7: ldc Lcom/mongodb/client/model/changestream/UpdateDescription;
aastore
invokevirtual org.bson.codecs.pojo.PojoCodecProvider$Builder.register:([Ljava/lang/Class;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
iconst_1
anewarray org.bson.codecs.pojo.ClassModel
dup
iconst_0
8: aload 4
aastore
invokevirtual org.bson.codecs.pojo.PojoCodecProvider$Builder.register:([Lorg/bson/codecs/pojo/ClassModel;)Lorg/bson/codecs/pojo/PojoCodecProvider$Builder;
9: invokevirtual org.bson.codecs.pojo.PojoCodecProvider$Builder.build:()Lorg/bson/codecs/pojo/PojoCodecProvider;
10: astore 5
start local 5 11: iconst_2
anewarray org.bson.codecs.configuration.CodecRegistry
dup
iconst_0
iconst_2
anewarray org.bson.codecs.configuration.CodecProvider
dup
iconst_0
aload 5
aastore
dup
iconst_1
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;
aastore
dup
iconst_1
aload 2
aastore
invokestatic org.bson.codecs.configuration.CodecRegistries.fromRegistries:([Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/configuration/CodecRegistry;
astore 6
start local 6 12: aload 0
13: aload 6
ldc Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
14: putfield com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.codec:Lorg/bson/codecs/Codec;
15: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/mongodb/client/model/changestream/ChangeStreamDocumentCodec<TTResult;>;
0 16 1 fullDocumentClass Ljava/lang/Class<TTResult;>;
0 16 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
2 16 3 classModelBuilder Lorg/bson/codecs/pojo/ClassModelBuilder<Lcom/mongodb/client/model/changestream/ChangeStreamDocument;>;
5 16 4 changeStreamDocumentClassModel Lorg/bson/codecs/pojo/ClassModel<Lcom/mongodb/client/model/changestream/ChangeStreamDocument;>;
11 16 5 provider Lorg/bson/codecs/pojo/PojoCodecProvider;
12 16 6 registry Lorg/bson/codecs/configuration/CodecRegistry;
Signature: (Ljava/lang/Class<TTResult;>;Lorg/bson/codecs/configuration/CodecRegistry;)V
MethodParameters:
Name Flags
fullDocumentClass final
codecRegistry final
public com.mongodb.client.model.changestream.ChangeStreamDocument<TResult> decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
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 com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.codec: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 com.mongodb.client.model.changestream.ChangeStreamDocument
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/changestream/ChangeStreamDocumentCodec<TTResult;>;
0 1 1 reader Lorg/bson/BsonReader;
0 1 2 decoderContext Lorg/bson/codecs/DecoderContext;
Signature: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;
MethodParameters:
Name Flags
reader final
decoderContext final
public void encode(org.bson.BsonWriter, com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/changestream/ChangeStreamDocument;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.codec:Lorg/bson/codecs/Codec;
aload 1
aload 2
aload 3
invokeinterface org.bson.codecs.Codec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/changestream/ChangeStreamDocumentCodec<TTResult;>;
0 2 1 writer Lorg/bson/BsonWriter;
0 2 2 value Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;
0 2 3 encoderContext Lorg/bson/codecs/EncoderContext;
Signature: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;Lorg/bson/codecs/EncoderContext;)V
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Class<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/changestream/ChangeStreamDocumentCodec<TTResult;>;
Signature: ()Ljava/lang/Class<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
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 com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
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 com.mongodb.client.model.changestream.ChangeStreamDocument
aload 3
invokevirtual com.mongodb.client.model.changestream.ChangeStreamDocumentCodec.encode:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/changestream/ChangeStreamDocument;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <TResult:Ljava/lang/Object;>Ljava/lang/Object;Lorg/bson/codecs/Codec<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
SourceFile: "ChangeStreamDocumentCodec.java"
InnerClasses:
public final Builder = org.bson.codecs.pojo.PojoCodecProvider$Builder of org.bson.codecs.pojo.PojoCodecProvider