ernal-link">NullPointerException</a></code> - if <code>context</code> or <code>topLevelComponent</code> is <code>null</code>.</dd>
<dt>Since:</dt>
<dd>2.0</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="calculateResourceLibraryContracts(jakarta.faces.context.FacesContext,java.lang.String)">
<h3>calculateResourceLibraryContracts</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.