Bug 26306 Quick assist offers rename on expression
Build I20021113 - open TestCase.toString - select name()+"("+getClass().getName()+")" - open quick assist ==> offers rename (surprisingly) and not new local
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java
public void install(ITextViewer textViewer) {
		super.install(textViewer);
		fViewer= textViewer;
	}			
	/**
	 * Show completions at caret position. If current
	 * position does not contain quick fixes look for
	 * next quick fix on same line by moving from left
	 * to right and restarting at end of line if the
	 * beginning of the line is reached.
	 * 
	 * @see org.eclipse.jface.text.contentassist.IContentAssistant#showPossibleCompletions()
	 */
	public String showPossibleCompletions() {
		if (fViewer == null)
			
			return super.showPossibleCompletions();
		
		int initalOffset= fViewer.getSelectedRange().x;
		int invocationOffset= computeOffsetWithCorrection(initalOffset);
		storePosition();
		fViewer.setSelectedRange(invocationOffset, 0);
		fViewer.revealRange(invocationOffset, 0);
		
		String errorMsg= super.showPossibleCompletions();
		return errorMsg;
	}
	/**
	 * Find offset which contains corrections.
	 * Search on same line by moving from left