code: public List<ModelNode> getAllowedValues() {
          if (allowedValues == null) {
              return Collections.emptyList();
          }
          return Arrays.asList(this.allowedValues);
      }
docs: returns array with all allowed values
  @return allowed values