为类添加自动注释步骤:
File-->Settings-->Editor-->File and Code Templates
第一步:
/**
* @author :zyr
* @date :Created in ${DATE} ${TIME}
* @description:${description}
* @modified By:
* @version: $version$
*/
第二步:
/**
* @author :zyr
* @date :Created in ${DATE} ${TIME}
* @description:${description}
*/
最后点击apply,ok: