Bug 12593 code assist inserts fully qualified type names (ignoring preferences)
20020328 package p; import java.util.List; public abstract class Test { public void foo() { List l= new List(){<CODE ASSIST HERE>} } } choose the 'addAll' method (any of the two) you get the fully qualified name for Collections (although my java editor/code assist preference says it should insert an import statement)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
if (containerName.length() > 0) {
				buf.append(containerName);
			} else {
				buf.append(JavaTextMessages.getString("ResultCollector.default_package")); 
			}
		}
		String name= buf.toString();
		
		JavaCompletionProposal proposal= createCompletion(start, end, completion, descriptor, name, relevance);
		proposal.setImportDeclaration(importDeclaration);
		proposal.setProposalInfo(proposalInfo);
		proposal.setTriggerCharacters(TYPE_TRIGGERS);
		return proposal;
	}
	protected ImageDescriptor getMemberDescriptor(int modifiers) {
		ImageDescriptor desc;
		if (Flags.isPublic(modifiers)) {
			desc= JavaPluginImages.DESC_MISC_PUBLIC;
		} else if (Flags.isProtected(modifiers)) {
			desc= JavaPluginImages.DESC_MISC_PROTECTED;
		} else if (Flags.isPrivate(modifiers)) {
			desc= JavaPluginImages.DESC_MISC_PRIVATE;
		} else {
			desc= JavaPluginImages.DESC_MISC_DEFAULT;
		}
		if (Flags.isDeprecated(modifiers))
		 	return getDeprecatedDescriptor(desc);
		
		return desc;
	}