Java annotation Template

Source: Internet
Author: User
Code <? XML version = "1.0" encoding = "UTF-8"?> <Templates> <template autoinsert = "false" context = "typecomment_context" deleted = "false" Description = "comment for created types" enabled = "true" id = "org. eclipse. jdt. UI. text. codetemplates. typecomment "name =" typecomment ">/*** @ project :$ {project_name} & #13; * @ program name :$ {package_name }. $ {file_name} & #13; * @ Class Name: $ {type_name} & #13; * @ Description: Class description & #13; * @ Author: skyblue & #13; * @ creation date: $ {date }$ {time} & #13; * @ modificationhistory & #13; * Who when what & #13; * -------- ----------------------------------------- & #13; * username $ {date }$ {todo} & #13; */& #13; </template> <template autoinsert = "false" context = "filecomment_context" deleted = "false" Description = "comment for created java files" enabled = "true" id = "org. eclipse. jdt. UI. text. codetemplates. filecomment "name =" filecomment ">/*** @ project :$ {project_name} & #13; * @ program name :$ {package_name }. $ {file_name} & #13; * @ Class Name: $ {type_name} & #13; * @ Description: Class description & #13; * @ Author: skyblue & #13; * @ creation date: $ {date }$ {time} & #13; * @ modificationhistory & #13; * Who when what & #13; * -------- ----------------------------------------- & #13; * username $ {date }$ {todo} & #13; */& #13; </template> <template autoinsert = "true" context = "delegatecomment_context" deleted = "false" Description = "comment for delegate methods" enabled = "true" id = "org. eclipse. jdt. UI. text. codetemplates. delegatecomment "name =" delegatecomment ">/*** $ {tags} * $ {see_to_target} */</template> <template autoinsert =" false "context =" constructorcomment_context "Deleted = "false" Description = "comment for created constructors" enabled = "true" id = "org. eclipse. jdt. UI. text. codetemplates. constructorcomment "name =" constructorcomment ">/*** $ {enclosing_type }. * $ {tags} */</template> <template autoinsert = "false" context = "overridecomment_context" deleted = "false" Description = "comment for overriding methods" enabled = "true "id =" org. eclipse. jdt. UI. text. codetemplates. overridecomment "name =" overridecomment ">/** & #13; * @ Description: Method description & #13; * @ method_name :$ {enclosing_method} & #13; * $ {tags} * @ creation date: $ {date} $ {time} & #13; * @ version: v1.00 & #13; * @ Author: skyblue & #13; * @ update date: * @ update Author: skyblue & #13; */& #13; </template> <template autoinsert = "false" context = "methodcomment_context" deleted = "false" Description = "comment for non-overriding methods" enabled = "true" id = "org. eclipse. jdt. UI. text. codetemplates. methodcomment "name =" methodcomment ">/** & #13; * @ Description: Method description & #13; * @ method_name :$ {enclosing_method} & #13; * $ {tags} * @ return: $ {return_type} & #13; * @ creation date: $ {date }$ {time} & #13; * @ version: v1.00 & #13; * @ Author: skyblue & #13; * @ update date: * @ update Author: skyblue & #13; */& amp; #13; </template> <template autoinsert = "false" context = "gettercomment_context" deleted = "false" Description = "comment for getter method" enabled = "true" id = "org. eclipse. jdt. UI. text. codetemplates. gettercomment "name =" gettercomment ">/*** @ barefieldname: $ {bare_field_name} * @ return the $ {bare_field_name} */</template> <template autoinsert = "false" context = "fieldcomment_context" deleted = "false" Description = "comment fields "enabled =" true "id =" org. eclipse. jdt. UI. text. codetemplates. fieldcomment "name =" fieldcomment ">/*** $ {field }:$ {todo} (in one sentence, describe what this variable represents) * @ since ver 1.1 */</template> <template autoinsert = "false" context = "settercomment_context" deleted = "false" Description = "comment for setter method" enabled = "true "id =" org. eclipse. jdt. UI. text. codetemplates. settercomment "name =" settercomment ">/*** @ barefieldname: $ {bare_field_name} * $ {tags} * @ return: $ {bare_field_name} */</template> </templates>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.