docs: private List<CmsContainerElementBean> getInheritedElements(CmsResource resource, Locale locale, String uriParam)
      throws CmsException {
  
          CmsObject cms = getCmsObject();
          cms.getRequestContext().setLocale(locale);
          CmsInheritanceReferenceParser parser = new CmsInheritanceReferenceParser(cms);
          parser.parse(resource);
          CmsInheritanceReference ref = parser.getReference(locale);
          if (ref == null) {
              // new inheritance reference, return an empty list
              return Collections.emptyList();
          }
          String name = ref.getName();
          CmsADEManager adeManager = OpenCms.getADEManager();
          CmsInheritedContainerState result = adeManager.getInheritedContainerState(cms, cms.addSiteRoot(uriParam), name);
          return result.getElements(true);
      }