Code example with annotation in JavaDoc
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-04-14T08:59:40Z
Indexed on
2010/04/14
9:02 UTC
Read the original article
Hit count: 176
Hello, my JavaDoc doesn't work when I have a code example with an annotation.
Any suggestions?
/**
* <pre>
* public class Demo {
* @DemoAnnotation
* public void demoMethod() {
* }
* }
* </pre>
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DemoAnnotation {
© Stack Overflow or respective owner