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
}
		}
		IMethod[] createdMethods= new IMethod[newMethods.size()];
		for (int i= 0; i < newMethods.size(); i++) {
			createdMethods[i]= type.createMethod((String) newMethods.get(i), null, false, null);
		}
		return createdMethods;
	}
	
	
	/**
	 * Returns a runnable that creates a type using the current settings.
	 */		
	public IRunnableWithProgress getRunnable() {				
		return new IRunnableWithProgress() {
			public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
				try {
					if (monitor == null) {
						monitor= new NullProgressMonitor();
					}
					createType(monitor);
				} catch (CoreException e) {
					throw new InvocationTargetException(e);
				} 				
			}
		};
	}	
		
			
}