2

Is there any way to view package dependencies in Eclipse? I seem to remember a long time ago that it was possible. I have a packageX and want to see what packages refer to it. Ie packageY references it, but not packageZ.

There seem to be some outdated plugins out there, for example Java Dependency Viewer, but the comments for the plugin say 'don't bother'.

lviggiani
  • 5,824
  • 12
  • 56
  • 89
Oliver Watkins
  • 12,575
  • 33
  • 119
  • 225

1 Answers1

3

If you mean a java package, there is a possibility: You right-click the package in the project explorer, select References → Workspace and get ... a list of almost no results.

Then you go into the search menu (the small triangle ▿ at the top right border of the search view), select "filters" and uncheck the "imports" box. Then all references to your package within your workspace should appear in the view.

llogiq
  • 13,815
  • 8
  • 40
  • 72