code: public String handleSimpleAnnotation(String annotation, String value, String validate) {
  
  		if (value == null)
  			return "";
  
  		// if validate contains annotation, do nothing
  		if (validate != null && validate.toLowerCase().matches(".*@" + annotation.toLowerCase() + ".*"))
  			return "";
  
  		String result = " @" + annotation;
  
  		// if validate contains named annotation parameters
  		if (value.toLowerCase().matches(".*value.*") || value.toLowerCase().matches(".*message.*")) {
  			result += "(" + value + ") ";
  			return result + " ";
  		}
  
  		// a simple annotation only has parameters value and message
  		String[] params = value.split(",");
  		if (params.length == 1)
  			result += "(" + params[0] + ")";
  		if (params.length == 2)
  			result += "(value=" + params[0] + ", message=" + params[1] + ")";
  
  		return result + " ";
  	}
docs: Handles all simple validation annotations (Max, Min, ...).
  
  @param annotation
  the name of the annotation
  @param value
  the parameter values
  @param validate
  the validate string
  @return annotation validation string