 title="type parameter in SyntheticBeanBuilder">T</a>&gt;</span>&nbsp;<span class="element-name">type</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;type)</span></div>
<div class="block">Adds <code>type</code> to the set of bean types of this synthetic bean. This method may be called
 multiple times to add multiple bean types.
 <p>
 If not ca