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
throw new CoreException(new Status(Status.ERROR, JavaUI.ID_PLUGIN, Status.ERROR, "Unexpected EOF while scanning", null)); 
							}
						}
						offset= scanner.getCurrentTokenEndPosition() + 1;
					} catch (InvalidInputException e) {
						throw new CoreException(new Status(Status.ERROR, JavaUI.ID_PLUGIN, Status.ERROR, "Exception while scanning", e)); 
					}					
					insertString= fContent;
				}
			}
			setTextRange(new TextRange(offset, 0));
			setText(insertString);
			super.connect(buffer);
		}	
	}	
	public static final int LOCAL= 1;
	public static final int FIELD= 2;
	public static final int PARAM= 3;
	private int  fVariableKind;
	private SimpleName fNode;
	private IMember fParentMember;
	public NewVariableCompletionProposal(String label, int variableKind, SimpleName node, IMember parentMember, int relevance) throws CoreException {
		super(label, parentMember.getCompilationUnit(), relevance, null);
	
		fVariableKind= variableKind;
		fNode= node;
		fParentMember= parentMember;
		if (variableKind == FIELD) {
			setImage(JavaPluginImages.get(JavaPluginImages.IMG_MISC_PUBLIC));
		} else {