docs: private static IPAddressStringParameters toMaskOptions(final IPAddressStringParameters validationOptions,
  			final IPVersion ipVersion) {
  		//We must provide options that do not allow a mask with wildcards or ranges
  		IPAddressStringParameters.Builder builder = null;
  		if(ipVersion == null || ipVersion.isIPv6()) {
  			IPv6AddressStringParameters ipv6Options = validationOptions.getIPv6Parameters();
  			if(!ipv6Options.rangeOptions.isNoRange()) {
  				builder = validationOptions.toBuilder();
  				builder.getIPv6AddressParametersBuilder().setRangeOptions(RangeParameters.NO_RANGE);
  			}
  			if(ipv6Options.allowMixed && !ipv6Options.getMixedParameters().getIPv4Parameters().rangeOptions.isNoRange()) {
  				if(builder == null) {
  					builder = validationOptions.toBuilder();
  				}
  				builder.getIPv6AddressParametersBuilder().setRangeOptions(RangeParameters.NO_RANGE);
  			}
  		}
  		if(ipVersion == null || ipVersion.isIPv4()) {
  			IPv4AddressStringParameters ipv4Options = validationOptions.getIPv4Parameters();
  			if(!ipv4Options.rangeOptions.isNoRange()) {
  				if(builder == null) {
  					builder = validationOptions.toBuilder();
  				}
  				builder.getIPv4AddressParametersBuilder().setRangeOptions(RangeParameters.NO_RANGE);
  			}
  		}
  		if(validationOptions.allowAll) {
  			if(builder == null) {
  				builder = validationOptions.toBuilder();
  			}
  			builder.allowAll(false);
  		}
  		IPAddressStringParameters maskOptions = (builder == null) ? validationOptions : builder.toParams();
  		return maskOptions;
  	}