true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if attribute of the given
          name and type is not present in the managed type</dd>
</dl>
</li>
</ul>
<a id="getDeclaredSingularAttribute(java.lang.String,java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeclaredSingularAttribute</h4>
<pre class="methodSignature">&lt;Y&gt;&nbsp;<a href="SingularAttribute.html" title="interface in jakarta.persistence.metamodel"