Bug 66329 Javadoc @link completions include elements excluded by type filter [javadoc]
When performing a content assist (ctrl+space) on a {@link } tag in a javadoc, there are elements available that are excluded in the type filter. Specifically, I have "com.sun.*" in the type filter and when I enter: {@link ByteBu<ctrl+space>} the list includes "com.sun.corba.se.internal.ior.ByteBuffer" which is excluded by the filter. If this is a WAD (works as designed) then I would like to request that this be added to post-3.0 work for consistency between code and doc. Eclipse version: 200405211200
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocCompletionEvaluator.java
if (preparedCU != null) {
			try {
				IJavaElement[] elements= preparedCU.codeSelect(wordStart, wordEnd - wordStart);
				if (elements != null && elements.length == 1 && elements[0] instanceof IType) {
					IType type= (IType) elements[0];
					if (preparedCU.equals(type.getCompilationUnit())) {
						IJavaElement[] res= elem.getCompilationUnit().findElements(type);
						if (res.length > 0) {
							return (IType) res[0];
						}
					} else {
						return type;
					}
				}
			} finally {
				preparedCU.getBuffer().setContents(fCompilationUnit.getBuffer().getCharacters());
				preparedCU.discardWorkingCopy();
			}
		}
		return null;
	}
	
	private ICompilationUnit createPreparedCU(IMember elem, int wordStart, int wordEnd) throws JavaModelException {
		int startpos= elem.getSourceRange().getOffset();
		char[] content= (char[]) fCompilationUnit.getBuffer().getCharacters().clone();
		if ((elem.getDeclaringType() == null) && (wordStart + 6 < content.length)) {
			content[startpos++]= 'i'; content[startpos++]= 'm'; content[startpos++]= 'p';
			content[startpos++]= 'o'; content[startpos++]= 'r'; content[startpos++]= 't';
		}		
		if (wordStart < content.length) {