def METHOD_NAME(self, unit):
    """Convert a source format unit to a target format unit."""
    target_unit = self.TargetUnitClass(encoding="UTF-8")
    target_unit.setid(unit.getid())
    target_unit.addlocation(unit.getid())
    target_unit.addnote(unit.getnotes(), "developer")
    target_unit.source = unit.source
    return target_unit