Bug 37419 - DCR - no nice way to access enclosing cu for some elements
Summary: DCR - no nice way to access enclosing cu for some elements
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-09 08:50 EDT by Adam Kiezun CLA
Modified: 2007-06-21 07:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2003-05-09 08:50:51 EDT
2.1
there's no nice way to get a handle to the enclosing cu for 
IPackageDeclaration
IImportDeclaration
IImportContainer

getCompilationUnit() would be nice
or, better yet, provide an interface for all elements that live inside 
ICompilationUnits, so:

IMember
IPackageDeclaration
IImportDeclaration
IImportContainer
Comment 1 Philipe Mulet CLA 2004-03-25 06:25:30 EST
Not for 3.0
Comment 2 Philipe Mulet CLA 2004-03-25 06:40:47 EST
Will reconsider post 3.0
Comment 3 Frederic Fusier CLA 2007-06-21 07:13:11 EDT
Reopen as LATER is deprecated...