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/LocalCorrectionsSubProcessor.java
res[0]= node.getAST().resolveWellKnownType("void"); 
							}
						}
						return false;
					}
				});
				ITypeBinding type= res[0];
				if (type == null) {
					type= decl.getAST().resolveWellKnownType("void"); 
				} 
				
				String str= type.getName() + " "; 
				int pos= ((MethodDeclaration) decl).getName().getStartPosition();
				
				String label= CorrectionMessages.getFormattedString("LocalCorrectionsSubProcessor.missingreturntype.description", type.getName()); 
				InsertCorrectionProposal proposal= new InsertCorrectionProposal(label, cu, pos, str, 1);
			
                addImportToProposal(problemPos.getCompilationUnit(), type, proposal);
		
				proposals.add(proposal);
			}
		}
	}
	
	/**
	 * Method addMissingReturnStatementProposals.
	 * @param problemPos
	 * @param proposals
	 */
	public static void addMissingReturnStatementProposals(ProblemPosition problemPos, ArrayList proposals) throws CoreException {