>
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="closest(java.lang.Class,jakarta.faces.component.UIComponent)">
<h3>closest</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="type-parameters">&lt;T&gt;</span>&nbsp;<span class="return-type">T</span>&nbsp;<span class="element-name">closest</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or 