Eclipse中设置在创建新类时自动生成注释的方法

 windows–>preference
Java–>Code Style–>Code Templates
code–>new Java files
编辑它

${filecomment}
${package_declaration}
/**
* @author 作者 E-mail:
* @version 创建时间:${date} ${time}
* 类说明
*/
${typecomment}
${type_declaration}

原文地址:https://www.cnblogs.com/Mandylover/p/5428722.html