Bug 79136 - API clarification for *Binding#getErasure(): why not a "general back-link"?
Summary: API clarification for *Binding#getErasure(): why not a "general back-link"?
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Jim des Rivieres CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-20 16:00 EST by Markus Keller CLA
Modified: 2004-12-14 23:21 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-11-20 16:00:47 EST
I200411170800

The Javadocs of #getErasure() in ITypeBinding and IMethodBinding include this:

	 * Note: the erasure link is not a general back-link between the members
	 * of a generic type instance and the corresponding members of the
	 * generic type.

AFAICS, getErasure() *is* a general back-link from a raw or parameterized
reference to the corresponding generic declaration. If that's true, then the
note should be removed.
Comment 1 Jim des Rivieres CLA 2004-11-30 13:48:21 EST
Agreed. I'm not sure why that note was there. I've removed it.
Comment 2 Olivier Thomann CLA 2004-12-14 23:21:54 EST
Verified in 200412140800