Bug 129967 - There should be an SPI for registering and retrieving function definitions
There should be an SPI for registering and retrieving function definitions
Status: NEW
Product: cnd
Classification: Unclassified
Component: Code Model
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Vladimir Voskresensky
issues@cnd
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo