docs: public static CmsInfoButton getJavaStatisticButton(CmsMemoryStatus memory) {
  
          Map<String, String> infoMap = new LinkedHashMap<String, String>();
  
          infoMap.put(
              CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_JAVA_HEAP_MAX_0),
              CmsFileUtil.formatFilesize(
                  memory.getMaxMemory() * 1048576,
                  A_CmsUI.getCmsObject().getRequestContext().getLocale()));
          infoMap.put(
              CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_JAVA_HEAP_TOTAL_0),
              CmsFileUtil.formatFilesize(
                  memory.getTotalMemory() * 1048576,
                  A_CmsUI.getCmsObject().getRequestContext().getLocale()));
          infoMap.put(
              CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_JAVA_HEAP_USED_0),
              CmsFileUtil.formatFilesize(
                  memory.getUsedMemory() * 1048576,
                  A_CmsUI.getCmsObject().getRequestContext().getLocale()));
          infoMap.put(
              CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_JAVA_HEAP_FREE_0),
              CmsFileUtil.formatFilesize(
                  memory.getFreeMemory() * 1048576,
                  A_CmsUI.getCmsObject().getRequestContext().getLocale()));
  
          CmsInfoButton info = new CmsInfoButton(infoMap);
          VerticalLayout prog = new VerticalLayout();
          Label label = new Label();
          label.setContentMode(ContentMode.HTML);
          label.setValue(
              "<p>" + CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_FLEXCACHE_LABEL_MEMORY_BLOCK_0) + "</p>");
          prog.addComponent(label);
          prog.addComponent(getProgressBar((((float)memory.getUsage() / 100))));
          info.addAdditionalElement(prog, 0);
          info.setWindowCaption(CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_FLEX_0));
          info.setDescription(CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_FLEX_0));
          return info;
      }