Bug 94665 [quick fix] changing source version to 5.0 is not offered when caret offset is wrong
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java
private ITextViewer fViewer;
	private ITextEditor fEditor;
	private Position fPosition;
	private Annotation[] fCurrentAnnotations;
	private QuickAssistLightBulbUpdater fLightBulbUpdater;
	/**
	 * Constructor for JavaCorrectionAssistant.
	 */
	public JavaCorrectionAssistant(ITextEditor editor) {
		super();
		Assert.isNotNull(editor);
		fEditor= editor;
		JavaCorrectionProcessor processor= new JavaCorrectionProcessor(this);
		setContentAssistProcessor(processor, IDocument.DEFAULT_CONTENT_TYPE);
		enableAutoActivation(false);
		enableAutoInsert(false);
		setContextInformationPopupOrientation(CONTEXT_INFO_ABOVE);
		setInformationControlCreator(getInformationControlCreator());
		JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools();
		IColorManager manager= textTools.getColorManager();
		IPreferenceStore store=  JavaPlugin.getDefault().getPreferenceStore();
		Color c= getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager);