tle="class or interface in java.lang.annotation" class="external-link">Annotation</a>[]&nbsp;annotations,
 <a href="../core/MediaType.html" title="class in jakarta.ws.rs.core">MediaType</a>&nbsp;mediaType)</span></div>
<div class="block">Ascertain if the MessageBodyReader can produce an instance of a particular type. The <code>type</code> parameter gives the
 class of the instance that should be produced, the <code>genericType</code> parameter gives the
 <a href="https://docs.oracle.com/en/java/javase/17/do