true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - if this EntityGraph has been
          statically defined</dd>
</dl>
</li>
</ul>
<a id="addKeySubgraph(java.lang.String,java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addKeySubgraph</h4>
<pre class="methodSignature">&lt;X&gt;&nbsp;<a href="Subgraph.html" title="interface in jakarta.persistence">Subgraph</a>&lt;X&gt;&nbsp;addKeySubgraph&#8203;(<a href="https://docs.oracl