转:http://blog.csdn.net/hcmdy/article/details/36380595
在每次写新的类时 署上自己的名字和日期等相关信息。
windows / preferences / Java / code style/code templates 右侧 comment 下面 types 点击 edit
添加如下
/**
* @author 作者名称
* @date ${date} ${time}
* @version 版本号码
* @TODO 描述
*/
然后勾选下方的 自动添加功能