Bug 89110

Summary: Redundant information in SourceTypeElementInfo
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 11:52:29 EST
I20050324

The SourceTypeElementInfo instances (hold on by the JavaModelCache) contain
redundant information (that can be computed from the handle):
- package name
- file name
Comment 1 Jerome Lanneluc CLA 2005-03-25 11:57:32 EST
Removed the fields 'packageName' and 'fileName' from SourceTypeElementInfo.
Removed ISourceType#getPackageName().
Changed SourceTypeElementInfo#getFileName() to use the handle to compute the
file name.
Changed SourceTypeConverter to use the cu handle's parent to get the package name.
Comment 2 David Audel CLA 2005-03-31 06:20:43 EST
Verified in I20050330-0500