Bug 89092

Summary: Redundant information in ImportDeclarationElementInfo
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 3.1   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2005-03-25 06:25:30 EST
I20050324

The ImportDeclarationElementInfo instances (hold on by the JavaModelCache) contain
redundant information (already in the ImportDeclaration handle):
- name
- onDemand flag (can be inferred from the trailing star)
Comment 1 Jerome Lanneluc CLA 2005-03-25 06:32:11 EST
Removed the fields 'name' and 'onDemand' from ImportDeclarationElementInfo.
Removed ISourceImport#getName() and onDemand().
Removed the field 'imports' from SourceTypeElementInfo.
Removed ISourceType#getImports().
Changed ImportDeclaration handle to store the name without the trailing star and
store the onDemand flag.
Changed SourceTypeConverter to use the import handle to get the name and the
onDemand flag.
Comment 2 David Audel CLA 2005-03-31 06:20:40 EST
Verified in I20050330-0500