code: public static <T> HashMap<String, String> resolveQueryPart(Request<T> request) {
  		HashMap<String, String> queryParts = new HashMap<String, String>();
  		Class<?> referenceClazz = request.getClass();
  		List<Field> fields = ClassUtil.getAnnotatedFields(referenceClazz, Query.class);
  		for (Field field : fields) {
  			Query query = field.getAnnotation(Query.class);
  			String key = query.value();
  
  			// in case the value() is null or empty: continue
  			if (key == null || (key != null && key.isEmpty())) {
  				continue;
  			}
  			String value = ClassUtil.getValueOf(field, request, referenceClazz, String.class);
  			if (value != null) {
  				queryParts.put(key, value);
  			}
  		}
  
  		return queryParts;
  	}
docs: <p>
  resolveQueryPart.
  </p>
  
  @param request
  a {@link com.apitrary.api.request.Request} object.
  @param <T>
  a T object.
  @return a {@link java.util.HashMap} object.