I need to programmatically check if a project’s build path already contains a specified library. It’s for a quick fix proposal, to know if this was already “fixed” and cannot be the problem.
I have access to the current IInvocationContext, and therefore (around some corners) to the corresponding IProject object.
How can I check which libraries are referenced in its build path already?
I’ll leave it at that, but let me know if you need more info.