@@ -0,0 +1,1115 @@
+package stexfires.record.mapper;%0A%0Aimport org.jetbrains.annotations.NotNull;%0Aimport stexfires.record.TextRecord;%0Aimport stexfires.record.impl.KeyValueCommentRecord;%0A%0Aimport java.util.Objects;%0A%0A/**%0A * @author Mathias Kalb%0A * @since 0.1%0A */%0Apublic class ToKeyValueCommentRecordMapper%3CT extends TextRecord%3E implements RecordMapper%3CT, KeyValueCommentRecord%3E %7B%0A%0A    private final int keyIndex;%0A    private final int valueIndex;%0A    private final int commentIndex;%0A    private final String nullKeyValue;%0A%0A    public ToKeyValueCommentRecordMapper(int keyIndex, int valueIndex, int commentIndex, String nullKeyValue) %7B%0A        Objects.requireNonNull(nullKeyValue);%0A        this.keyIndex = keyIndex;%0A        this.valueIndex = valueIndex;%0A        this.commentIndex = commentIndex;%0A        this.nullKeyValue = nullKeyValue;%0A    %7D%0A%0A    @Override%0A    public final @NotNull KeyValueCommentRecord map(@NotNull T record) %7B%0A        return new KeyValueCommentRecord(record.category(), record.recordId(),%0A                record.valueAtOrElse(keyIndex, nullKeyValue), record.valueAt(valueIndex), record.valueAt(commentIndex));%0A    %7D%0A%0A%7D%0A

Add ToKeyValueCommentRecordMapper