Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323786

Summary: isTypeName() method for IIndexName
Product: [Tools] CDT Reporter: Lukas Felber <l.felber>
Component: cdt-indexerAssignee: Project Inbox <cdt-indexer-inbox>
Status: RESOLVED WONTFIX QA Contact: Markus Schorn <mschorn.eclipse>
Severity: enhancement    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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