code: protected void addAllowedValuesToDescription(ModelNode result, ParameterValidator validator) {
          if (allowedValues != null) {
              for (ModelNode allowedValue : allowedValues) {
                  result.get(ModelDescriptionConstants.ALLOWED).add(allowedValue);
              }
          } else if (validator instanceof AllowedValuesValidator) {
              AllowedValuesValidator avv = (AllowedValuesValidator) validator;
              List<ModelNode> allowed = avv.getAllowedValues();
              if (allowed != null) {
                  for (ModelNode ok : allowed) {
                      result.get(ModelDescriptionConstants.ALLOWED).add(ok);
                  }
              }
          }
      }
docs: Adds the allowed values. Override for attributes who should not use the allowed values.
  
  @param result the node to add the allowed values to
  @param validator the validator to get the allowed values from