a.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;T&gt;&nbsp;targetType)</span></div>
<div class="block">Coerces an object to a specific type according to the Jakarta Expression Language type conversion rules. The custom
 type conversions in the <code>ELResolver</code>s are not considered.

 <p>
 An <code>ELException</code> is thrown if an error results from applying the conversion rules.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>obj</code>