code: private void readJSR303Annotations(UIComponent component) {
  		coreExpression = ELTools.getCoreValueExpression(component);
  		Annotation[] annotations = ELTools.readAnnotations(component);
  		if (null != annotations) {
  			for (Annotation a : annotations) {
  				if (a instanceof Max) {
  					long maximum = ((Max) a).value();
  					max = maximum;
  					hasMax = true;
  				} else if (a instanceof Min) {
  					long minimum = ((Min) a).value();
  					hasMin = true;
  					min = minimum;
  				} else if (a instanceof Size) {
  					maxSize = ((Size) a).max();
  					hasMaxSize = maxSize > 0;
  					minSize = ((Size) a).min();
  					hasMinSize = minSize > 0;
  				} else if (a instanceof NotNull) {
  					isRequired = true;
  				}
  			}
  		}
  
  		clazz = ELTools.getType(component);
  		if ((clazz == Integer.class) || (clazz == int.class)
  				|| (clazz == Byte.class) || (clazz == byte.class)
  				|| (clazz == Short.class) || (clazz == short.class)
  				|| (clazz == Long.class) || (clazz == long.class)) {
  			isInteger = true;
  			isNumeric = true;
  		} else if ((clazz == Double.class) || (clazz == double.class)
  				|| (clazz == Float.class) || (clazz == float.class)) {
  			isFloat = true;
  			isNumeric = true;
  		} else if ((clazz==Date.class) || (clazz==java.util.Date.class)) {
  			isDate=true;
  		}
  	}
docs: Read the JSR 303 annotations from a bean\"s attribute.
  
  @param component