------------------------------------------------------------------
Windows-Preferences ... Java, Code Templates->comments>types point Edit
Types (class note)
/**
* @ class name: ${type_name}
* @ Class Description: ${todo}
* @ Creator: Name
* @ creation time: ${date} ${time}
* @ remarks:
* /
-------------------------------------------------------------------
Windows-Preferences ... Java, Code Templates->comments>methods point Edit
Methods (method Note)
/**
* @ Method Name: ${enclosing_method }
* @ description: ${todo}
* @ Creator: xingming
* @ creation time: ${date} ${time}
* @ remarks:
* ${tags}
* @ return type: ${return_type}
*/
--------------------- ----------------------------------------------
Set it up later on the method or class, enter/** press ENTER
Windows-Preferences ... Java- > Code Templates->code->new Java files can be set to add a comment directly when creating a class
Eclipse Add a template for annotations