docs: void updateReplace() {
  
          boolean replace = m_replace.getValue().booleanValue();
  
          m_replaceResource.setVisible(replace ? SearchType.resourcetype.equals(m_searchType.getValue()) : replace);
          m_replacePattern.setVisible(
              replace
              ? !SearchType.resourcetype.equals(m_searchType.getValue())
                  & !SearchType.renameContainer.equals(m_searchType.getValue())
              : replace);
  
          m_newName.setVisible(replace ? SearchType.renameContainer.equals(m_searchType.getValue()) : replace);
          m_oldName.setVisible(replace ? SearchType.renameContainer.equals(m_searchType.getValue()) : replace);
  
          m_workProject.setVisible(replace);
  
          m_search.setCaption(
              replace
              ? CmsVaadinUtils.getMessageText(Messages.GUI_SOURCESEARCH_REPLACE_0)
              : CmsVaadinUtils.getMessageText(Messages.GUI_SOURCESEARCH_SEARCH_0));
  
      }