Bug 23528 quick fix: adds bogus whitespaces on 'add throws declaration'
class A{ void a() throws Exception{ } void f(){ a(); } } qf the call to a() 'add throws declaration' you will get 'void f() throws Exception{' i have to go and fix it every time it used to work :(
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java
String[] paramNames= getParameterNames(paramTypes, arguments);
		
		StringBuffer buf= new StringBuffer();
		
		if (settings.createComments) {
			StubUtility.genJavaDocStub("Method " + methodName, paramNames, Signature.createTypeSignature(returnTypeName, true), null, buf); 
		}
		
		if (isSameType) {
			buf.append("private "); 
		} else if (!isInterface) {
			buf.append("public "); 
		}
		
		if (isStatic) {
			buf.append("static "); 
		}
		
		buf.append(returnTypeName);
		buf.append(' ');
		buf.append(methodName);
		buf.append('(');
		
		if (!arguments.isEmpty()) {
			for (int i= 0; i < arguments.size(); i++) {
				if (i > 0) {
					buf.append(", "); 
				}
				buf.append(paramTypes[i]);
				buf.append(' ');