code: @SuppressWarnings("unchecked")
  	public static <T> Response<T> getInstanceOfParameterizedType(Request<T> request) {
  		Type superclazz = request.getClass().getGenericSuperclass();
  		try {
  			Type parameterizedTypeClazz = ((ParameterizedType) superclazz).getActualTypeArguments()[0];
  			return (Response<T>) ((Class<T>) parameterizedTypeClazz).newInstance();
  		} catch (Exception e) {
  			return null;
  		}
  	}
docs: <p>
  getInstanceOfParameterizedType.
  </p>
  
  @param request
  a {@link com.cloudcontrolled.api.request.Request} object.
  @param <T>
  a T object.
  @return a {@link com.cloudcontrolled.api.response.Response} object.