Bug 76674 Code assist always proposes current type in @see tag
Using build I200410190941. Test case: "IXX.java", "/**\n" + " * @see IYY\n" + " */\n" + "public interface IXX {}", "IYY.java", "public interface IYY {}" In IXX.java, set cursor just after @see IYY and launch completion. Then, you get 2 proposals in the list: IXX.java IYY.java This is not correct, first proposal (current type) should not be proposed!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocCompletionEvaluator.java
private ICompilationUnit fCompilationUnit;
	private IDocument fDocument;
	private int fCurrentPos;
	private int fCurrentLength;
	
	private String fErrorMessage;
	
	private JavaElementLabelProvider fLabelProvider;
	private List fResult;
	
	private boolean fRestrictToMatchingCase;
	
	public JavaDocCompletionEvaluator() {
		fResult= new ArrayList();
	}
	
	private static boolean isWordPart(char ch) {
		return Character.isJavaIdentifierPart(ch) || (ch == '#') || (ch == '.') || (ch == '/');
	}
			
	private static int findCharBeforeWord(IDocument doc, int lineBeginPos, int pos) {		
		int currPos= pos - 1;
		if (currPos > lineBeginPos) {
			try {
				while (currPos > lineBeginPos && isWordPart(doc.getChar(currPos))) {
					currPos--;
				}
				return currPos;
			} catch (BadLocationException e) {