code: public static <T> List<Field> getAnnotatedFields(Class<?> clazz, Class<? extends Annotation> annotationClass) {
  		List<Field> annotatedFields = new LinkedList<Field>();
  		Field[] allFields = getAllDeclaredFields(clazz);
  		for (Field field : allFields) {
  			if (null != (field.getAnnotation(annotationClass))) {
  				annotatedFields.add(field);
  			}
  		}
  		return annotatedFields;
  	}
docs: <p>
  getAnnotatedFields.
  </p>
  
  @param clazz
  a {@link java.lang.Class} object.
  @param annotationClass
  a {@link java.lang.Class} object.
  @param <T>
  a T object.
  @return a {@link java.util.List} object.