docs: private void addOption(Type type, String siteRoot, String message) {
  
          if (m_usedSiteRoots.contains(CmsStringUtil.joinPaths(siteRoot, "/"))) {
              return;
          }
          CmsSiteSelectorOption option = new CmsSiteSelectorOption(type, siteRoot, m_siteRoot.equals(siteRoot), message);
  
          // make sure to insert the root site is first and the shared site as second entry
          if (Type.root.equals(type)) {
              m_options.add(0, option);
          } else if (Type.shared.equals(type)) {
              if (!m_options.isEmpty() && Type.root.equals(m_options.get(0).getType())) {
                  m_options.add(1, option);
              } else {
                  m_options.add(0, option);
              }
          } else {
              m_options.add(option);
          }
          m_usedSiteRoots.add(CmsStringUtil.joinPaths(siteRoot, "/"));
      }