Say I've got some Strings in project A containing fully qualified class names of classes in project B.
Say project B has a dependency to project A, but not the other way around. During runtime, reflection makes sure that the classes in B are actually used.
The classes in project B would be flagged as not used, and find usages would return no results (as project B is not visible from project A at compile time, and the classes in project B are not used anywhere else).
What would be the best way to go about implementing find usages for these classes (if I consider the Strings in project A usages of these classes)?
I've tried implementing my own FindUsagesHandler, but I'm not having much luck there. That's why I'd like to know if I'm looking in the right direction or not.