return constructor.newInstance(inputComponent);
HtmlValidator validator = constructor.newInstance(inputComponent); RenderUtils.setProperties(validator, slot.getValidatorProperties());  return validator;
        protected HtmlValidator getValidator(Validatable inputComponent,                MetaSlot slot) {            Class<HtmlValidator> validatorType = slot.getValidator();            if (validatorType == null) {                return null;            }            Constructor<HtmlValidator> constructor;            try {                constructor = validatorType.getConstructor(new Class[] { Validatable.class });                return constructor.newInstance(inputComponent);            } catch (Exception e) {                logger.warn("could not create validator '" + validatorType.getName() + "' for slot '"                        + slot.getName() + "': " + e);                return null;            }        }