ult&nbsp;<a href="MethodInfo.html" title="interface in jakarta.enterprise.lang.model.declarations">MethodInfo</a>&nbsp;asMethod()</pre>
<div class="block">Returns this declaration as a <a href="MethodInfo.html" title="interface in jakarta.enterprise.lang.model.declarations">method</a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this method, never <code>null</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/a