code: public static Version parseVersion(ModelNode modelNode) {
          if (modelNode.hasDefined(MANAGEMENT_MAJOR_VERSION) &&
                  modelNode.hasDefined(MANAGEMENT_MINOR_VERSION) &&
                  modelNode.hasDefined(MANAGEMENT_MICRO_VERSION)) {
              int major = modelNode.get(MANAGEMENT_MAJOR_VERSION).asInt();
              int minor = modelNode.get(MANAGEMENT_MINOR_VERSION).asInt();
              int micro = modelNode.get(MANAGEMENT_MICRO_VERSION).asInt();
              return Version.forIntegers(major, minor, micro);
          }
          return Version.UNDEFINED;
      }
docs: WildFly 11