code: private static boolean isRequired(ValidatorInfo info) {
  		if (null != info) {
  			for (ConstraintInfo constraint : info.getConstraints()) {
  				if (constraint instanceof NotNullConstraintInfo) {
  					return true;
  				}
  			}
  		}
  		return false;
  	}
docs: -------------------------------------------------------------------------