myeclipse/eclipse方法和类的自动注解
设置新建类注释Window->preferences->java->code style ->codeTemplates->code->new Java files
->edit修改成
${filecomment}
${package_declaration}
/**
* @className:${file_name}
* @classDescription:
* @author:yourname
* @createTime:${date} ${time}
*/
${typecomment} www.zzzyk.com
${type_declaration}
结果:
[java]
package com.tudou.junit;
/**
* @className:AnonationTest.java
* @classDescription:
* @author:lizhuang
* @createTime:2012-6-29 下午03:47:30
*/
public class AnonationTest {
补充:软件开发 , Java ,