><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - if <a href="#isClass()"><code>isClass()</code></a> returns <code>false</code></dd>
</dl>
</li>
</ul>
<a id="asMethod()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asMethod</h4>
<pre class="methodSignature">defa