Bug 93509 Code assist insert strange import
public class A<LHS, RHS> { LHS lhs; RHS rhs; { A<? extends Object, ? extends Number> a= null; } L<code assist> } - trigger code assist at the location above - select LHS. Observe you get an import on LHS
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaTypeCompletionProposal.java
(getUnqualifiedTypeName() != null && startsWith(document, offset, getUnqualifiedTypeName())) ||
			(getFullyQualifiedTypeName() != null && startsWith(document, offset, getFullyQualifiedTypeName()));
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal#getCompletionText()
	 */
	public CharSequence getPrefixCompletionText(IDocument document, int completionOffset) {
		return getUnqualifiedTypeName();
	}
	
	protected char[] computeTriggerCharacters() {
		return TYPE_TRIGGERS;
	}
	
	protected ProposalInfo computeProposalInfo() {
		if (fCompilationUnit != null) {
			IJavaProject project= fCompilationUnit.getJavaProject();
			if (project != null)
				return new TypeProposalInfo(project, fProposal);
		}
		return super.computeProposalInfo();
	}
	protected String computeSortString() {
		
		if (getUnqualifiedTypeName() == null)
			return super.computeSortString();
		return getUnqualifiedTypeName() + Character.MIN_VALUE + getFullyQualifiedTypeName();
	}
}