Bug 8140 Code assist for anonymous inner types adds empty line
button.addActionListener(new ActionListener() { /* * @see ActionListener#actionPerformed(ActionEvent) */ public void actionPerformed(ActionEvent e) { } <--- here ---> }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
if (CodeGenerationPreferencePage.doFileComments()) {
			return getTemplate("filecomment", parentCU);
		}
		return null;
	}
	
	/**
	 * Called from createType to get a type comment. 
	 * Returns source or null, if no type comment should be added
	 */		
	protected String getTypeComment(ICompilationUnit parentCU) {
		if (CodeGenerationPreferencePage.doCreateComments()) {
			return getTemplate("typecomment", parentCU);
		}
		return null;
	}
	
	/**
	 * Gets the template of the given name, evaluated in the context of a CU.
	 */
	protected String getTemplate(String name, ICompilationUnit parentCU) {
		Template[] templates= Templates.getInstance().getTemplates();
		try {
			for (int i= 0; i < templates.length; i++) {
				if (name.equals(templates[i].getName())) {
					return JavaContext.evaluateTemplate(templates[i], parentCU);
				}
			}
		} catch (CoreException e) {
			JavaPlugin.log(e);