code: public void recordSubsystemVersions(String moduleName, ModelNode subsystems) {
          final Map<String, SubsystemInformation> subsystemsInfo = getAvailableSubsystems(moduleName);
          if(subsystemsInfo != null && ! subsystemsInfo.isEmpty()) {
              for(final Map.Entry<String, SubsystemInformation> entry : subsystemsInfo.entrySet()) {
                  SubsystemInformation subsystem = entry.getValue();
                  subsystems.add(entry.getKey(),
                          subsystem.getManagementInterfaceMajorVersion() + "."
                          + subsystem.getManagementInterfaceMinorVersion()
                          + "." + subsystem.getManagementInterfaceMicroVersion());
              }
          }
      }
docs: Records the versions of the subsystems associated with the given {@code moduleName} as properties in the
  provided {@link ModelNode}. Each subsystem property key will be the subsystem name and the value will be
  a string composed of the subsystem major version dot appended to its minor version.
  
  @param moduleName the name of the extension module
  @param subsystems a model node of type {@link org.jboss.dmr.ModelType#UNDEFINED} or type {@link org.jboss.dmr.ModelType#OBJECT}