当我有一个带注释的代码示例时,我的JavaDoc不起作用.
有什么建议?
/**
* <pre>
* public class Demo {
* @DemoAnnotation
* public void demoMethod() {
* }
* }
* </pre>
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DemoAnnotation {
Run Code Online (Sandbox Code Playgroud)