File and Code Template
class==
1 #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end #parse("File Header.java")
/**
* <h3>${PROJECT_NAME}</h3>
* <p>${description}</p >
*
* @author : ${USER}
* @date : ${YEAR}-${MONTH}-${DAY} ${TIME}
**/
public class ${NAME} {
}
interface==
1 /**
* <h3>${PROJECT_NAME}</h3>
* <p>${description}</p >
*
* @author : ${USER}
* @date : ${YEAR}-${MONTH}-${DAY} ${TIME} **/
public interface ${NAME} {
}
Enum==
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end #parse("File Header.java")
/**
* <h3>${PROJECT_NAME}</h3>
* <p>${description}</p >
*
* @author : ${USER}
* @date : ${YEAR}-${MONTH}-${DAY} ${TIME} **/
public enum ${NAME} {
}
Record==
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end #parse("File Header.java")
/**
* <h3>${PROJECT_NAME}</h3>
* <p>${description}</p >
*
* @author : ${USER} * @date : ${YEAR}-${MONTH}-${DAY} ${TIME}
**/
public record ${NAME}(#[[$END$]]#) {
}
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end #parse("File Header.java")
/** * <h3>${PROJECT_NAME}</h3>
* <p>${description}</p >
*
* @author : ${USER}
* @date : ${YEAR}-${MONTH}-${DAY} ${TIME}
**/
public record ${NAME}(#[[$END$]]#) {
}
AnnotationType
SMILE~
标签:NAME,author,PACKAGE,idea,DAY,USER,public,模板 From: https://www.cnblogs.com/missarain/p/17555374.html