Bug 13226 Quick Fix: unclear why nothing gets proposed
Build 20020409 - create CU public class QuickFixTest { public static class TT { } public void foo(TTT t) { } } - try to quick fix foo(TTT t) All you get is the bell. This is surprising since foo(String2 s) can be fixed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
public JavaCorrectionProcessor(IEditorPart editor) {
		fEditor= editor;
	}
	/*
	 * @see IContentAssistProcessor#computeCompletionProposals(ITextViewer, int)
	 */
	public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset) {
		
		IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
		ICompilationUnit cu= manager.getWorkingCopy(fEditor.getEditorInput());
		
		IDocumentProvider provider= JavaPlugin.getDefault().getCompilationUnitDocumentProvider();
		IAnnotationModel model= provider.getAnnotationModel(fEditor.getEditorInput());
		ArrayList proposals= new ArrayList();
		HashSet idsProcessed= new HashSet();
			
		for (Iterator iter= new ProblemAnnotationIterator(model); iter.hasNext();) {
			IProblemAnnotation annot= (IProblemAnnotation) iter.next();
			Position pos= model.getPosition((Annotation) annot);
			
			ProblemPosition pp = new ProblemPosition(pos, annot, cu);
			int start= pp.getOffset();
			if (documentOffset >= start && documentOffset <= (start +  pp.getLength())) {
				Integer probId= new Integer(annot.getId());
				if (!idsProcessed.contains(probId)) {
					idsProcessed.add(probId);
					collectCorrections(pp, proposals);
				}
			}
		}