选中你要加注释的方法或类,按 Alt + shift + J

 myeclipse 注释模板

 

 

文件 (Files)注释标签:

/**  
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @author baoxj
 * @date ${date}
 */

 

类型 (Types)注释标签(类的注释):

/**
 * ClassName: ${type_name} 
 * @Description: ${todo}
 * @author baoxj
 * @date ${date}
 */

 

字段 (Fields)注释标签:

/**
 * @Fields ${field} : ${todo}
 */

 

构造函数标签:

/**
 * <p>Description: </p>
 * ${tags}
 */

方法 (Constructor & Methods)标签:

/**
 * @Description: ${todo}
 * @param ${tags}   
 * @return ${return_type}  
 * @throws
 * @author baoxj
 * @date ${date}
 */

getter方法标签:

/**
 * @return ${bare_field_name}
 */

setter方法标签:

/**
 * @param ${param} ${bare_field_name}
 */

 

相关文章:

  • 2021-04-07
  • 2021-06-27
  • 2022-02-15
  • 2021-04-26
  • 2022-01-15
猜你喜欢
  • 2021-12-23
  • 2022-02-15
  • 2021-11-22
  • 2021-12-31
  • 2021-04-25
  • 2022-01-23
  • 2022-12-23
相关资源
相似解决方案