Bug 169114 - [model] Documentation of IMember.getDeclaringType() seems not to be accurate
Summary: [model] Documentation of IMember.getDeclaringType() seems not to be accurate
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-27 05:29 EST by Frederic Fusier CLA
Modified: 2007-02-06 03:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2006-12-27 05:29:37 EST
Answering "Get a IType from IField" question on newsgroup, it appears that documentation for IMember.getDeclaringType() method is not clear!

It looks like more than a copy/paste of getClassFile() or getCompilationUnit() method rather than a documentation of what this method really does...
Comment 1 Frederic Fusier CLA 2006-12-27 06:50:51 EST
I have misunderstood getDeclaringType() behavior. Documentation is OK => close as INVALID
Comment 2 Maxime Daniel CLA 2007-02-06 03:32:08 EST
Verified for 3.3 M5 using build I20070205-1824.