Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <templates> |
| 3 | <template autoinsert="false" context="gettercomment_context" |
| 4 | deleted="false" description="Comment for getter method" enabled="true" |
| 5 | id="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name="gettercomment">/** |
| 6 | * |
| 7 | @return the value of ${bare_field_name} |
| 8 | */</template> |
| 9 | <template autoinsert="false" context="settercomment_context" |
| 10 | deleted="false" description="Comment for setter method" enabled="true" |
| 11 | id="org.eclipse.jdt.ui.text.codetemplates.settercomment" name="settercomment">/** |
| 12 | * |
| 13 | @param ${param} the value for ${bare_field_name} |
| 14 | */</template> |
| 15 | <template autoinsert="true" context="constructorcomment_context" |
| 16 | deleted="false" description="Comment for created constructors" |
| 17 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" |
| 18 | name="constructorcomment">/** |
| 19 | * ${tags} |
| 20 | */</template> |
| 21 | <template autoinsert="false" context="filecomment_context" |
| 22 | deleted="false" description="Comment for created Java files" |
| 23 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" |
| 24 | name="filecomment">/** |
| 25 | * Copyright (C) 2017, AT&T Inc. Intellectual Property. |
| 26 | */ |
| 27 | </template> |
| 28 | <template autoinsert="false" context="typecomment_context" |
| 29 | deleted="false" description="Comment for created types" enabled="true" |
| 30 | id="org.eclipse.jdt.ui.text.codetemplates.typecomment" name="typecomment"> |
| 31 | </template> |
| 32 | <template autoinsert="true" context="fieldcomment_context" |
| 33 | deleted="false" description="Comment for fields" enabled="true" |
| 34 | id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name="fieldcomment">/** |
| 35 | * |
| 36 | */</template> |
| 37 | <template autoinsert="true" context="methodcomment_context" |
| 38 | deleted="false" description="Comment for non-overriding methods" |
| 39 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodcomment" |
| 40 | name="methodcomment">/** |
| 41 | * ${tags} |
| 42 | */</template> |
| 43 | <template autoinsert="false" context="overridecomment_context" |
| 44 | deleted="false" description="Comment for overriding methods" |
| 45 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.overridecomment" |
| 46 | name="overridecomment">/** |
| 47 | * ${see_to_overridden} |
| 48 | */</template> |
| 49 | <template autoinsert="true" context="delegatecomment_context" |
| 50 | deleted="false" description="Comment for delegate methods" enabled="true" |
| 51 | id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name="delegatecomment">/** |
| 52 | * ${tags} |
| 53 | * ${see_to_target} |
| 54 | */</template> |
| 55 | <template autoinsert="true" context="newtype_context" |
| 56 | deleted="false" description="Newly created files" enabled="true" |
| 57 | id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">${filecomment} |
| 58 | ${package_declaration} |
| 59 | |
| 60 | ${typecomment} |
| 61 | ${type_declaration}</template> |
| 62 | <template autoinsert="true" context="classbody_context" |
| 63 | deleted="false" description="Code in new class type bodies" enabled="true" |
| 64 | id="org.eclipse.jdt.ui.text.codetemplates.classbody" name="classbody"> |
| 65 | </template> |
| 66 | <template autoinsert="true" context="interfacebody_context" |
| 67 | deleted="false" description="Code in new interface type bodies" |
| 68 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.interfacebody" |
| 69 | name="interfacebody"> |
| 70 | </template> |
| 71 | <template autoinsert="true" context="enumbody_context" |
| 72 | deleted="false" description="Code in new enum type bodies" enabled="true" |
| 73 | id="org.eclipse.jdt.ui.text.codetemplates.enumbody" name="enumbody"> |
| 74 | </template> |
| 75 | <template autoinsert="true" context="annotationbody_context" |
| 76 | deleted="false" description="Code in new annotation type bodies" |
| 77 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.annotationbody" |
| 78 | name="annotationbody"> |
| 79 | </template> |
| 80 | <template autoinsert="true" context="catchblock_context" |
| 81 | deleted="false" description="Code in new catch blocks" enabled="true" |
| 82 | id="org.eclipse.jdt.ui.text.codetemplates.catchblock" name="catchblock">// |
| 83 | ${todo} Auto-generated catch block |
| 84 | ${exception_var}.printStackTrace();</template> |
| 85 | <template autoinsert="true" context="methodbody_context" |
| 86 | deleted="false" description="Code in created method stubs" enabled="true" |
| 87 | id="org.eclipse.jdt.ui.text.codetemplates.methodbody" name="methodbody">// |
| 88 | ${todo} Auto-generated method stub |
| 89 | ${body_statement}</template> |
| 90 | <template autoinsert="true" context="constructorbody_context" |
| 91 | deleted="false" description="Code in created constructor stubs" |
| 92 | enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorbody" |
| 93 | name="constructorbody">${body_statement} |
| 94 | // ${todo} Auto-generated constructor stub</template> |
| 95 | <template autoinsert="true" context="getterbody_context" |
| 96 | deleted="false" description="Code in created getters" enabled="true" |
| 97 | id="org.eclipse.jdt.ui.text.codetemplates.getterbody" name="getterbody">return |
| 98 | ${field};</template> |
| 99 | <template autoinsert="true" context="setterbody_context" |
| 100 | deleted="false" description="Code in created setters" enabled="true" |
| 101 | id="org.eclipse.jdt.ui.text.codetemplates.setterbody" name="setterbody">${field} |
| 102 | = ${param};</template> |
| 103 | </templates> |