Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323786 - isTypeName() method for IIndexName
Summary: isTypeName() method for IIndexName
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 03:56 EDT by Lukas Felber CLA
Modified: 2010-08-27 04:47 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 Lukas Felber CLA 2010-08-27 03:56:24 EDT
Build Identifier: I20100608-0911

Would it be possible to enhance the IIndexName classes with a way to find out if the name is a type name. This would be a great help in static analysis.

Reproducible: Always
Comment 1 Markus Schorn CLA 2010-08-27 04:47:47 EDT
The information can be obtained via 

IIndex index;
IIndexName name;
boolean isType= index.findBinding(name) instanceof IType