public static void reverseFields(FieldMap source, FieldMap reversed) {
        DozerField destField = source.getSrcFieldCopy();
        DozerField sourceField = source.getDestFieldCopy();

        reversed.setDestField(destField);
        reversed.setSrcField(sourceField);

        reversed.setCustomConverter(source.getCustomConverter());
        reversed.setCustomConverterId(source.getCustomConverterId());
        reversed.setMapId(source.getMapId());
        reversed.setRelationshipType(source.getRelationshipType());
        reversed.setRemoveOrphans(source.isRemoveOrphans());
        reversed.setSrcHintContainer(source.getDestHintContainer());
        reversed.setDestHintContainer(source.getSrcHintContainer());
        reversed.setSrcDeepIndexHintContainer(source.getDestDeepIndexHintContainer());
        reversed.setDestDeepIndexHintContainer(source.getSrcDeepIndexHintContainer());
    }
Internal class that provides various mapping utilities used throughout the code base. Only intended for internal use.
core/src/main/java/com/github/dozermapper/core/util/MappingUtils.java