pre class="methodSignature">protected&nbsp;&lt;C&gt;&nbsp;C&nbsp;getComponentForType&#8203;(<a href="https://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;C&gt;&nbsp;type)</pre>
<div class="block">Gets an instance, which may be shared or independent, for the specified type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>C</code> - the component-type.</dd>
<d