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

Bug 91242

Summary: [5.0][content assist] Method declaration completion erases information
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2005-04-13 03:52:31 EDT
Build 3.1m6

When completing method declaration for which return type is parameterized, it
discards some information, and thus introduce problems in the resulting code
(extra warning about type safety).

public class X implements Ann {

	ann<|> // CODE ASSIST, and pick annotationType()
}

@interface Ann {}
Comment 1 Markus Keller CLA 2014-09-18 11:38:18 EDT
Has been fixed some time in the past.