在編寫完代碼後使用代碼格式化程序對代碼進行格式化
Comments
Files
/**
* Copyright (C) aumy
*/
Getters
/**
* @return Returns the ${bare_field_name}
*/
Setters
/**
* @param ${param} The ${bare_field_name} to set
*/
Constructors
/**
* ${tags}
*/
Types
/**
*
* @author aumy
* @since
*
* ${tags}
*/
Fields
/**
*
*/
Methods
/**
* ${tags}
* @since
*/
/* (non
* ${see_to_overridden}
*/
New Java files
/**
* Copyright (C) aumy
*/
${package_declaration}
/**
*
* @author aumy
* @since
*/
${typecomment}
${type_declaration}
Catch block body
// ${todo} Auto
${exception_var}
Method budy
// ${todo} Auto
${body_statement}
Constructor body
${body_statement}
// ${todo} Auto
Getter body
return ${field};
Setter body
${field} = ${param};
From:http://tw.wingwit.com/Article/program/Java/ky/201311/27915.html