window-->Preferences-->Java-->Code Style-->Code Templates-->Code-->双击New Java files-->在弹出的窗口中放入如下代码:
写道
/**
* copyright (c) by 公司名称 2010
*/
${filecomment}${package_declaration}
* copyright (c) by 公司名称 2010
*/
${filecomment}${package_declaration}
/**
*
*
* @author:***
* E-mail: ****@**.com
* @date:${date} ${time}
*/
${typecomment}${type_declaration}
-->OK-->OK~