Project: JDT
Bug 276486 [content assist] anonymous type completion does not add method implementation stubs when type already imported
Reported: 2009-05-15 08:47:06 | Status: verified fixed

I20090514-2000 Content assist: Anonymous type completion does not add method implementation stubs when type already imported. Example: import java.util.AbstractCollection; public class Runner { private void foo() { new AbstractColl } } => Content assist after 'new AbstractColl' only gives: new AbstractCollection<E>() { }; => Expected: Method implementation stubs are added, like when the 'import java.util.AbstractCollection;' is not there.

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