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
buf.append(paramNames[i]);
			}
		}
		buf.append(')');
		if (isInterface) {
			buf.append(";\n");  
		} else {
			buf.append("{\n"); 
	
			if (!returnType.isPrimitive()) {
				buf.append("return null;\n"); 
			} else if (returnTypeName.equals("boolean")) { 
				buf.append("return false;\n"); 
			} else if (!returnTypeName.equals("void")) { 
				buf.append("return 0;\n"); 
			}
			buf.append("}\n"); 
		}
		return buf.toString();
	}
	
	private String[] getParameterNames(String[] paramTypes, List arguments) {
		ArrayList names= new ArrayList(paramTypes.length);
		NameProposer nameProposer= new NameProposer();
		for (int i= 0; i < paramTypes.length; i++) {
			String name;
			Object currArg= arguments.get(i);
			if (currArg instanceof SimpleName) {
				name= ((SimpleName) currArg).getIdentifier();
			} else {