Bug 62938 quick fix list should pre-select what's already filled in [quick fix]
Maybe this is a feature request, but I've been having this problem for months and just now figured out what was causing it (I thought it was keystroke glitches on my part). When I select "add throws declaration" from quick fix, usually the desired exception is filled in (in linked edit mode), and I'm given a list to choose from if I want to change it. My inclination is to just hit "enter" signifing "accept", but the list actually has "Exception" selected (instead of IOException, in my typical case) so the value I wanted is changed and another used instead. To "work around" I have to change the selection, or hit "ESC", which seems unnatural to me.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
}
		return null;
	}
   	
   	/**
   	 *@return  Returns all types known in the AST that have a method with a given name
   	 */
	public static ITypeBinding[] getQualifierGuess(ASTNode searchRoot, final String selector, List arguments) {
		final int nArgs= arguments.size();
		final ArrayList result= new ArrayList();
		
		Bindings.visitAllBindings(searchRoot, new TypeBindingVisitor() {
			private HashSet fVisitedBindings= new HashSet(100);
			
			public boolean visit(ITypeBinding node) {
				if (!fVisitedBindings.add(node.getKey())) {
					return true;
				}
				IMethodBinding[] methods= node.getDeclaredMethods();
				for (int i= 0; i < methods.length; i++) {
					IMethodBinding meth= methods[i];
					if (meth.getName().equals(selector) && meth.getParameterTypes().length == nArgs) {
						result.add(node);
					}
				}
				return true;
			}
		});
		return (ITypeBinding[]) result.toArray(new ITypeBinding[result.size()]);
	}