/span><span class="o">%</span> <span class="n">endfor</span> <span class="o">%</span><span class="p">}</span>

<span class="c1">// in source code:</span>

<span class="kd">class</span> <span class="kt">MyType</span> <span class="p">{</span>

<span class="c1">// sourcery:inline:MyType.TemplateName</span>
<span class="c1">// sourcery:end</span>

<span class="p">}</span>
</code></pre>

<p>Sourcery will generate the template code and then perform replacement in your source file by matching annotation comments. 