code: public static Map<String, CmsXmlContentProperty> resolveMacrosForPropertyInfo(
          CmsObject cms,
          CmsResource page,
          CmsResource resource,
          Supplier<CmsXmlContent> contentGetter,
          Function<String, String> stringtemplateSource,
          Map<String, CmsXmlContentProperty> propertiesConf)
      throws CmsException {
  
          if (CmsResourceTypeXmlContent.isXmlContent(resource)) {
              I_CmsXmlContentHandler contentHandler = CmsXmlContentDefinition.getContentHandlerForResource(cms, resource);
              CmsMacroResolver resolver = getMacroResolverForProperties(
                  cms,
                  contentHandler,
                  contentGetter.get(),
                  stringtemplateSource,
                  page);
              return resolveMacrosInProperties(propertiesConf, resolver);
          }
          return propertiesConf;
      }
docs: Resolves macros in the given property information for the given resource (type) AND the current user.<p>
  
  @param cms the current CMS context
  @param page the current container page
  @param resource the resource
  @param contentGetter loads the actual content
  @param propertiesConf the property information
  
  @return the property information
  
  @throws CmsException if something goes wrong