I can use nullSafeString, but in my opinion we need also defaultIfNull method. This method has two parameters, and defaultIfNull only one (always returns "" if parameter is null).