我希望 Eclipse 根据之前为字段定义的注释为我的 getter 和 setter 方法自动生成 Javadoc 注释。我怎样才能做到这一点?
背景:我们公司的一项政策是评论每个方法和字段(即使它们有不言自明的名称)。所以我必须通过描述字段并再次描述getter / setter来做多余的工作。
例子:
/**
 * name of the dynamic strategy
 */
private String dynName;
/**
 * get the name of the dynamic strategy
 * @return
 */
public String getDynName() {
    return dynName;
}
搜索网络表明我不是唯一一个有问题的人 - 但我找不到任何解决方案。我检查了http://jautodoc.sourceforge.net/但似乎它无法做到这一点。

