• Advertisement
Sign in to follow this  

Show all imports?

This topic is 1651 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I'd like to know if there is a way to make Eclipse show me all the places where a specific class is imported.

 

I'm in the middle of replacing my math library and it would be nice if instead of checking the call hierarchy of every single method of it (so I can replace them with the newer ones) I could just check all the classes that import the math class.

 

They're all static methods so I can't look for "MathUtils" constructors...

 

EDIT: For now I just exclude the class from the build path and check what classes get broken, but surely there has to be a nicer way :D

Edited by TheChubu

Share this post


Link to post
Share on other sites
Advertisement

Hi! I'd like to know if there is a way to make Eclipse show me all the places where a specific class is imported.

 

I'm in the middle of replacing my math library and it would be nice if instead of checking the call hierarchy of every single method of it (so I can replace them with the newer ones) I could just check all the classes that import the math class.

 

They're all static methods so I can't look for "MathUtils" constructors...

 

EDIT: For now I just exclude the class from the build path and check what classes get broken, but surely there has to be a nicer way biggrin.png

 

http://stackoverflow.com/questions/2602114/search-for-all-files-in-project-containing-the-text-querystring-in-eclipse

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement