driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java
public static <TFullDocument> Codec<ChangeStreamDocument<TFullDocument>> createCodec(final Class<TFullDocument> fullDocumentClass,
                                                                                         final CodecRegistry codecRegistry) {
        return new ChangeStreamDocumentCodec<TFullDocument>(fullDocumentClass, codecRegistry);
    }
public static <TFullDocument> Codec<ChangeStreamDocument<TFullDocument>> createCodec(final Class<TFullDocument> fullDocumentClass,
                                                                                         final CodecRegistry codecRegistry) {
        return new ChangeStreamDocumentCodec<TFullDocument>(fullDocumentClass, codecRegistry);
    }
Creates the codec for the specific ChangeStreamOutput type

@param fullDocumentClass the class to use to represent the fullDocument
@param codecRegistry the codec registry
@param <TFullDocument> the fullDocument type
@return the codec