【发布时间】:2011-03-07 19:12:33
【问题描述】:
我知道这不是最重要的问题,但我刚刚意识到我可以将 javadoc 注释块放在注释之前或之后。我们希望采用什么作为编码标准?
/**
* This is a javadoc comment before the annotation
*/
@Component
public class MyClass {
@Autowired
/**
* This is a javadoc comment after the annotation
*/
private MyOtherClass other;
}
【问题讨论】:
标签: java coding-style annotations javadoc code-documentation