ass.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;targetType)</pre>
<div class="block">Converts an object to a specific type.

 <p>
 An <code>ELException</code> is thrown if an error occurs during the conversion.
 </p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="ELResolver.html#convertToType(jakarta.el.ELContext,java.lang.Object,java.lang.Class)">convertToType</a></code>&nbsp;in class&nbsp;<code><a 