Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] how to create IJavaSearchScope that would include all necessary projectes/libraries?

hi all,
i have an IJavaElement in hand
how do i create a IJavaSearchScope that would include _everything_ that can
possibly have references to that element (and be smaller than workspace
scope)?

i mean, i have code that adds all referencing projects - but that algorithm
is not correct since projects can export some of their classpath entries
(which wasn't true when i wrote it (basically copied Jerome's suggestions -
thanks :))).

could this be implented in jcore?
if not, can you come up with some code that does it correctly?

thx
a.



Back to the top