Project: JDT
Bug 385504 [content assist] Content assist offers wrong type completion after TypeName
Reported: 2012-07-19 09:22:22 | Status: resolved fixed

Broken in 3.8, was OK in 3.7.2 - create a new Plug-in project, all defaults - paste this class: package p; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; class Test { boolean foo() { IStatus jobResult = null; return jobResult == Status.; } } - put caret after "Status." and press Ctrl+Space => First two proposals are type proposals for Status and MultiStatus. These are both wrong and should not show up.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposalComputer.java