Bug 89092 - Redundant information in ImportDeclarationElementInfo
Summary: Redundant information in ImportDeclarationElementInfo
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-03-25 06:25 EST by Jerome Lanneluc CLA
Modified: 2005-03-31 06:20 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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