Bug 169114

Summary: [model] Documentation of IMember.getDeclaringType() seems not to be accurate
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: jerome_lanneluc
Version: 3.3   
Target Milestone: 3.3 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.