Eclipse中设置在创建新类时自动生成注释
windows-->preference 
Java-->Code Style-->Code Templates 
code-->new Java files 
编辑它 
${filecomment} 
${package_declaration} 
/** 
* @author 作者 E-mail: 
* @version 创建时间:${date} ${time} 
* 类说明 
*/ 
${typecomment} 
${type_declaration} 

 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号