针对方法的注释:
Window > Preferences >
Java
> Code Style > Code Templates 选中右侧的 Methods 点击 Edit 将下面的添加即可
/**
*${tags}
*@author xxx
*@date ${date} ${time}
*@comment
*@version 1.0
*/
@author 作者 @date系统时间 去系统当前时间 @comment代码说明
在方法上面敲入/**按回车会自动将上面的填写到注释中。