Bug 120568 [content assist] @link proposal not inserted
I20051213-0010 1. Have the 2 following CUs: Reference.java public class Reference { public static int A_STATIC_FIELD = 0; } Test.java /** * Completion inside reference Reference#A_STATIC_F */ public class Test { } 2. Complete after Reference#A_STATIC_F 3. Choose {@link Reference#A_STATIC_FIELD} 4. Press Enter Observe: The proposal is not inserted
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/contentassist/JavadocCompletionTest.java
/*
	 * This test tests only <= 1.5 source level tags.
	 */
	private static final Class THIS= JavadocCompletionTest.class;
	private static final boolean OLD= false;
	private static final String CARET= "|";
	private static final String TYPE_JDOC_START= "/**\n";
	private static final String TYPE_JDOC_END= " */\n";
	private static final String TYPE_START= "public class Completion<T> {\n";
	private static final String TYPE_END= "}\n";
	private static final String EMPTY_TYPE= TYPE_START + TYPE_END;
	private static final String METHOD=
			"	public int method(int param) {\n" +
			"		return 0;\n" +
			"	}\n";
	private static final String MEMBER_JDOC_START= "	/**\n";
	private static final String MEMBER_JDOC_END= "	 */\n";
	private static final String FIELD= "	public int fField\n";
	
	private static final String[] TYPE_BLOCK_TAGS= {"@see", "@since", "@deprecated", "@serial", "@author", "@version", "@param", };
	private static final String[] METHOD_BLOCK_TAGS= {"@see", "@since", "@deprecated", "@param", "@return", "@throws", "@exception", "@serialData", };
	private static final String[] FIELD_BLOCK_TAGS= {"@see", "@since", "@deprecated", "@serial", "@serialField", };
	private static final String[] TYPE_INLINE_TAGS= {"@docRoot", "@link", "@linkplain", "@value", "@code", "@literal", };
	private static final String[] METHOD_INLINE_TAGS= {"@docRoot", "@inheritDoc", "@link", "@linkplain", "@value", "@code", "@literal", };