public void validate(final ParameterValue value) { if (isRequired() && value.getValue() == null) { value.addError("It cannot be null");
public final void validate(final ParameterValue value) { final Object object = value.getValue(); final List errors = value.getErrors();  if (isRequired() && object == null) { errors.add("The value must not be null"); } else { validate(object, errors);
    public void validate(final ParameterValue value) {        if (isRequired() && value.getValue() == null) {            value.addError("It cannot be null");        }    }