Bug 87330 - ITypeInfo, TypeInfo: method getCElement() is removed?
Summary: ITypeInfo, TypeInfo: method getCElement() is removed?
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 16:22 EST by Oleg Besedin CLA
Modified: 2020-09-04 15:27 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 Oleg Besedin CLA 2005-03-07 16:22:27 EST
In the current version of CDT (3.0) the getCElement() method is removed from 
ITypeInfo, TypeInfo (package org.eclipse.cdt.core.browser).

Is there a reason for this removal? This method is used the application I work 
on. If it need to be removed, what is the alternative to use?
Comment 1 Chris Wiebe CLA 2005-03-09 16:45:50 EST
I believe this was done to remove some dependencies between ITypeInfo and
ICElement.  You can use AllTypesCache.getElementForType() for the same purpose.

For CDT 3.0, we are planning to do some cleanup/optimizations in the type cache.
This will likely involve API changes as well.  If you have any suggestions,
please create a change-request so we can be sure to include them.
Comment 2 Chris Wiebe CLA 2005-05-24 19:45:00 EDT
tossing back into the pool