【发布时间】:2011-02-07 19:54:06
【问题描述】:
当我有一个带有注释的代码示例时,我的 JavaDoc 不起作用。
有什么建议吗?
/**
* <pre>
* public class Demo {
* @DemoAnnotation
* public void demoMethod() {
* }
* }
* </pre>
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DemoAnnotation {
【问题讨论】: