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
createTypeMembers(createdType, imports, new SubProgressMonitor(monitor, 1));
		
		imports.create(!isInnerClass, new SubProgressMonitor(monitor, 1));
		
		ICompilationUnit cu= createdType.getCompilationUnit();	
		ISourceRange range;
		if (isInnerClass) {
			synchronized(cu) {
				cu.reconcile();
			}
			range= createdType.getSourceRange();
		} else {
			range= cu.getSourceRange();
		}
		
		IBuffer buf= cu.getBuffer();
		String originalContent= buf.getText(range.getOffset(), range.getLength());
		String formattedContent= StubUtility.codeFormat(originalContent, indent, lineDelimiter);
		buf.replace(range.getOffset(), range.getLength(), formattedContent);
		if (!isInnerClass) {
			String fileComment= getFileComment(cu);
			if (fileComment != null && fileComment.length() > 0) {
				buf.replace(0, 0, fileComment + lineDelimiter);
			}
			buf.save(new SubProgressMonitor(monitor, 1), false);
		} else {
			monitor.worked(1);
		}
		fCreatedType= createdType;
		monitor.done();