Template[] filecomments= Templates.getInstance().getTemplates("filecomment"); for (int i= 0; i < filecomments.length; i++) { filecomments[i].setPattern("/** filecomment template */"); }
CodeTemplates.getCodeTemplate(CodeTemplates.TYPECOMMENT).setPattern("/** typecomment template*/");
	protected void setUp() throws Exception {		super.setUp();		Template[] filecomments= Templates.getInstance().getTemplates("filecomment");		for (int i= 0; i < filecomments.length; i++) {			filecomments[i].setPattern("/** filecomment template */");			}		Hashtable options= JavaCore.getOptions();		fCompactPref= options.get(JavaCore.FORMATTER_COMPACT_ASSIGNMENT);		options.put(JavaCore.FORMATTER_COMPACT_ASSIGNMENT, JavaCore.COMPACT);		JavaCore.setOptions(options);	}