code: public static Annotation[] readAnnotations(UIComponent p_component) {
  		ValueExpression valueExpression = p_component.getValueExpression("value");
  		if (valueExpression != null && valueExpression.getExpressionString() != null && valueExpression.getExpressionString().length()>0) {
  			return readAnnotations(valueExpression, p_component);
  		}
  		return null;
  	}
docs: Which annotations are given to an object displayed by a JSF component?
  
  @param p_component
  the component
  @return null if there are no annotations, or if they cannot be accessed