rameters:</span></dt>
<dd><code>T</code> - type of the object that is to be written.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the class of the object that is to be written.</dd>
<dd><code>genericType</code> - the type of object to be written. E.g. if the
                    message body is to be produced from a field, this will be
                    the declared type of the field as returned by <code>Field.getGenericType</code>.</dd>
<dd><code>annotations</code> - a