title: Code example with annotation in JavaDoc
body: <p>my JavaDoc doesn't work when I have a code example with an annotation.</p>
  
  <p>Any suggestions?</p>
  
  <pre><code>/**
   * &lt;pre&gt;
   * public class Demo {
   *    @DemoAnnotation
   *    public void demoMethod() {
   *    }
   * }
   * &lt;/pre&gt;
   */ 
  @Retention(RetentionPolicy.RUNTIME)
  @Target({ElementType.METHOD})
  public @interface DemoAnnotation {
  </code></pre>