IDEA注释样例笔记

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/superman_xxx/article/details/78627758

一、文件头注释

这里写图片描述

/**
*        ┏┓       ┏┓+ +
*       ┏┛┻━━━━━━━┛┻┓ + +
*       ┃       ┃
*       ┃   ━   ┃ ++ + + +
*       █████━█████  ┃+
*       ┃       ┃ +
*       ┃   ┻   ┃
*       ┃       ┃ + +
*       ┗━━┓    ┏━┛
*               ┃    ┃
*         ┃    ┃ + + + +
*         ┃   ┃ Code is far away from     bug with the animal protecting
*         ┃   ┃ +    
*         ┃   ┃
*         ┃   ┃  +
*         ┃    ┗━━━┓ + +
*         ┃      ┣┓
*         ┃      ┏┛
*         ┗┓┓┏━━━┳┓┏┛ + + + +
*          ┃┫┫  ┃┫┫
*          ┗┻┛  ┗┻┛+ + + +
*/
/**
* @PACKAGE_NAME: ${PACKAGE_NAME}
* @Description: TODO(Describe the role of this JAVA class)
* @author YanchaoMa [email protected]
* @date ${DATE} ${TIME}
* 
* 
*/

二、方法注释

这里写图片描述

/**
* @Description: $METHOD_NAME$ TODO(Describe the role of this method)
* @param $METHOD_PARAMETERS$
* @return $RETURN$
*/

三、类文件注释

这里写图片描述

/**
* @PACKAGE_NAME: $PACKAGE_NAME$.$CLASS_NAME$
* @Description: TODO(Describe the role of this JAVA class)
* @author YanchaoMa yanchaoma@foxmail.com
* @date $DATE$ $TIME$
* 
* 
*/

猜你喜欢

转载自blog.csdn.net/superman_xxx/article/details/78627758
今日推荐