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 129967 - There should be an SPI for registering and retrieving function definitions
Summary: There should be an SPI for registering and retrieving function definitions
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-12 21:49 UTC by Vladimir Kvashin
Modified: 2009-05-25 20:55 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2008-03-12 21:49:24 UTC
The issue concerns navigating to function definition.

In the case of the sets of projects with complex dependencies to each other (such as Open Solaris), finding function
definition becomes a nontrivial task. Now the required projects are searched for definitions, but it is insufficient.

An infrastructure should be implemented that allows registering definitions and project dependencies. It then can be 
implemented as a separate module.
Comment 1 Vladimir Kvashin 2008-03-12 21:52:16 UTC
Sorry, there is a typo in the description: 
> An infrastructure should be implemented
should be 
> An infrastructure should be *introduced*

So this issue concerns the creation of the appropriate SPI, which can be implemented later on.
Comment 2 Alexander Simon 2008-03-13 09:02:25 UTC
Do not forget that one service SPI already exists:
org.netbeans.modules.cnd.api.model.services.CsmFunctionDefinitionResolver
and is used in class view and h6yperlink in "Go To Declaration" actions.