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
if (oldText.length() == 0 || oldText.equals(newText)) {
			return pos;
		}
		
		try {
			IRegion lineInfo= doc.getLineInformationOfOffset(pos);
			int end= lineInfo.getOffset() + lineInfo.getLength();
			
			if (newText.endsWith(">")) { 
				
				return findClosingCharacter(doc, pos, end, '>');
			}
			char ch= 0;
			int pos1= pos;
			while (pos1 < end && Character.isJavaIdentifierPart(ch= doc.getChar(pos1))) {
				pos1++;
			}
			if (pos1 < end) {
				
				if ((ch == '(') && newText.endsWith(")")) { 
					return findClosingCharacter(doc, pos1, end, ')');
				} 
				
			}
			return pos1;
		} catch (BadLocationException e) {
			
		}
		return pos;
	}