Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361097

Summary: [assist] Completion in JavaDocs broken if @deprecated is used
Product: [Eclipse Project] JDT Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, daniel_megert, markus.kell.r
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Sebastian Zarnekow CLA 2011-10-17 03:45:51 EDT
Sample class:

public class A {
	/**
	 * Obj|
	 * @deprecated
	 */
	public void a() {}
}

where | indicates the cursor position. I expect completion proposals like {@link Object} but get an empty list. Completion works fine if @deprecated for the following cases:

public class A {
	/**
	 * Obj|
	 */
	public void a() {}
}

public class A {
	/**
	 * @deprecated Obj|
	 */
	public void a() {}
}
Comment 1 Dani Megert CLA 2011-10-17 11:20:22 EDT
Can reproduce using Juno M2.
Comment 2 Ayushman Jain CLA 2011-10-17 11:43:11 EDT
Broken in Indigo and Helios as well. Will investigate.
Comment 3 Markus Keller CLA 2011-10-18 16:40:13 EDT
I once had something similar (bug 249785). Maybe this fix is also a one-liner?
Comment 4 Markus Keller CLA 2016-09-28 12:21:46 EDT

*** This bug has been marked as a duplicate of bug 429340 ***