ps://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&nbsp;klass)</pre>
<div class="block">Find the instance of a given class type that is closest to a given instance. This method uses the getParent
 method from the Tag and/or SimpleTag interfaces. This method is used for coordination among cooperating tags.

 <p>
 For every instance of TagAdapter encountered while traversing the ancest