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/NewVariableCompletionProposal.java
if (varType == null || !varType.isPrimitive()) {
				buf.append("= null"); 
			} else if (varType.getName().equals("boolean")) { 
				buf.append("= false"); 
			} else {
				buf.append("= 0"); 
			}
		}
		if (fVariableKind != PARAM) {
			buf.append(";"); 
		}
			
		return buf.toString();
	}
		
	private ITypeBinding evaluateVariableType(ImportEdit importEdit, ASTNode selectedNode) {
		if (selectedNode != null) {
			ITypeBinding binding= ASTResolving.getTypeBinding(selectedNode);
			if (binding != null) {
				ITypeBinding baseType= binding.isArray() ? binding.getElementType() : binding;
				if (!baseType.isPrimitive()) {
					importEdit.addImport(Bindings.getFullyQualifiedName(baseType));
				}
				return binding;
			}
		}
		return null;
	}
}