This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77011

Summary: Add typedefs to model
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: -- Other --Assignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 77009    

Description Vladimir Kvashin 2006-05-29 09:15:52 UTC
Now typedefs aren't registered in project and correspondent namespace. They can
be accessed only via CsmFile.getDeclarations(). They should also present in
correspondent namespaces (in CsmNamespace..getDeclarations()). This is necessary
for example for displaying typedefs in ClassView
Comment 1 Vladimir Kvashin 2006-05-29 11:53:57 UTC
Fixed. Now typedefs are registered in correspondent projects and namespaces.

You can get typedef by its qualified name via
CsmProject.getDeclaration(qualifiedName)

You can see typedefs in CsmNamespace.getDeclarations()