docs: public static List<CmsContainerElementBean> loadInheritContainerElements(CmsObject cms, CmsResource resource) {
  
          CmsInheritanceReferenceParser parser = new CmsInheritanceReferenceParser(cms);
          try {
              parser.parse(resource);
              CmsInheritanceReference ref = parser.getReference(cms.getRequestContext().getLocale());
              if (ref != null) {
                  String name = ref.getName();
                  CmsADEManager adeManager = OpenCms.getADEManager();
                  CmsInheritedContainerState result = adeManager.getInheritedContainerState(
                      cms,
                      cms.getRequestContext().getRootUri(),
                      name);
                  return result.getElements(false);
              }
          } catch (CmsException e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
          return Collections.emptyList();
      }