Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361097 - [assist] Completion in JavaDocs broken if @deprecated is used
Summary: [assist] Completion in JavaDocs broken if @deprecated is used
Status: CLOSED DUPLICATE of bug 429340
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 03:45 EDT by Sebastian Zarnekow CLA
Modified: 2016-09-28 12:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***