re>public&nbsp;TypeSpec&nbsp;generate(<a href="../../../../../com/facebook/litho/specmodels/model/LayoutSpecModel.html" title="class in com.facebook.litho.specmodels.model">LayoutSpecModel</a>&nbsp;layoutSpecModel,
                         java.util.EnumSet&lt;<a href="../../../../../com/facebook/litho/specmodels/internal/RunMode.html" title="enum in com.facebook.litho.specmodels.internal">RunMode</a>&gt;&nbsp;runMode)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a 