Community
Participate
Working Groups
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)
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.
Verified in I20050330-0500