omPrepare</code></a>
   <li><a href="../../../../com/facebook/litho/annotations/FromMeasure.html" title="annotation in com.facebook.litho.annotations"><code>FromMeasure</code></a>
 </ul>

 <p>The annotation processor will validate this and other invariants in the API at build time.

 <p>For example: <br>

 <pre><code> @MountSpec
 class ExampleMountSpec {

   @OnCreateMountContent
   static ColorDrawable onCreateMountContent(
       ComponentContext c) {
     return new ColorDrawable();
   }

   @OnMount
   