code: private CmsADEConfigData wrap(CmsADEConfigDataInternal data) {
  
          String path = data.getBasePath();
          List<CmsADEConfigDataInternal> configList = Lists.newArrayList();
          configList.add(m_moduleConfiguration);
          if (path != null) {
              List<String> siteConfigPaths = getSiteConfigPaths(path);
              for (String siteConfigPath : siteConfigPaths) {
                  CmsADEConfigDataInternal currentConfig = m_siteConfigurationsByPath.get(siteConfigPath);
                  CmsResource masterConfigResource = currentConfig.getMasterConfig();
                  if (currentConfig.getMasterConfig() != null) {
                      CmsADEConfigDataInternal masterConfig = m_siteConfigurations.get(
                          masterConfigResource.getStructureId());
                      if (masterConfig != null) {
                          configList.add(masterConfig);
                      } else {
                          LOG.warn(
                              "Master configuration "
                                  + masterConfigResource.getRootPath()
                                  + " not found for sitemap configuration in "
                                  + currentConfig.getBasePath());
                      }
                  }
                  configList.add(currentConfig);
              }
          }
          return new CmsADEConfigData(data, this, new CmsADEConfigurationSequence(configList));
      }
docs: Wraps the internal config data into a bean which manages the lookup of inherited configurations.<p>
  
  @param data the config data to wrap
  
  @return the wrapper object