n/java/javase/21/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&nbsp;type)</span></div>
<div class="block">Create a ValueExpression, using this attribute's literal value and the passed expected type.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ctx</code> - FaceletContext to use.</dd>
<dd><code>type</code> - expected return type.</dd>
<dt>Returns:</dt>
<dd>the <code>ValueExpression</code>.</dd>
<dt>See Also:</dt>
<dd>
<ul class="ta