code: public CmsXmlContentProperty withDefaultWidget(String defaultWidget) {
  
          return new CmsXmlContentProperty(
              m_name,
              m_type,
              m_visibility,
              CmsStringUtil.isEmptyOrWhitespaceOnly(m_widget) ? defaultWidget : m_widget,
              m_widgetConfiguration,
              m_ruleRegex,
              m_ruleType,
              m_default,
              m_niceName,
              m_description,
              m_error,
              m_preferFolder);
      }
docs: Copies a property definition, but replaces an empty widget with a given widget.<p>
  
  @param defaultWidget the widget to use if the set widget is empty
  
  @return the copied property definition