code: private String handleValidationAnnotations(String validate) {
  
  		if (validate == null)
  			return "";
  
  		if (validate.length() > 15) {
  			@SuppressWarnings("unused")
  			boolean baa = true;
  		}
  
  		// parsing the validate string is simple text replacement
  		validate = validate.replaceAll("&&", " ");
  		validate = validate.replaceAll("'", "\"");
  		for (Map.Entry<String, String> entry : propBase.validationAnnotationDefinitions().entrySet()) {
  			String firstChar = entry.getKey().substring(0, 1);
  			String keyPattern = "[" + firstChar.toUpperCase() + firstChar.toLowerCase() + "]" + entry.getKey().substring(1);
  
  			validate = validate.replaceAll("@" + keyPattern, "@" + entry.getValue());
  		}
  
  		return validate.trim();
  	}
docs: Parses the given validation string and tries to map annotations from
  properties.
  
  @param validate
  String with validation information
  @return validation annotations