I need to find the references to external method say Foo.getInstance() in specific type hierarchy, basically i want to restrict the search results to specific class and all subclasses, i am not interested in all references. Is it possible to do with eclipse or any custom plugin? Thanks
I need to find the references to external method say Foo.getInstance() in specific type
Share
You can do this creating a working set with only the files holding your hierarchy.
Then
CTRL+Hand Java Search with scope “Working Set”.If the classes are all within a package you can select that in Project Explorer then perform Java Search with scope “Selected”.
Working sets are awesome