docs: private static boolean hasRestrictionsOtherThanEnumeration(XsdRestriction restriction){
          return restriction.getMinExclusive() != null || restriction.getMinInclusive() != null ||
                  restriction.getMaxExclusive() != null || restriction.getMaxInclusive() != null ||
                  restriction.getMaxLength() != null || restriction.getMinLength() != null ||
                  restriction.getLength() != null || restriction.getPattern() != null ||
                  restriction.getTotalDigits() != null || restriction.getFractionDigits() != null;
      }