The refactoring and find usages need to find the dependent roots of a project
root in which the refactored type is declared, but finding such an information
using the project API may be very expensive especially when lots of projects is
opened. The goal of this API is to provide and cache this information.
The API is single static method taking a URL of the root it should find the
dependent roots for and returning a list of dependent URLs.
The API should be stable in NetBeans 6.0.
Created attachment 40883 [details]
API looks good. From my point of view I see one problem in impl.: this method
returns source roots of *all known projects*. But I need only source root of
Checking in apichanges.xml;
/cvs/java/source/apichanges.xml,v <-- apichanges.xml
new revision: 1.7; previous revision: 1.6
Checking in nbproject/project.properties;
/cvs/java/source/nbproject/project.properties,v <-- project.properties
new revision: 1.16; previous revision: 1.15
Checking in src/org/netbeans/api/java/source/SourceUtils.java;
new revision: 1.29; previous revision: 1.28
Checking in src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
new revision: 1.42; previous revision: 1.41
Checking in test/unit/src/org/netbeans/api/java/source/SourceUtilsTest.java;
new revision: 1.4; previous revision: 1.3