title: automatically overwrite old imports with new one in Eclipse
body: <p>I have this problem (laziness on hundreds of files)</p>
  
  <p>I have a project built with Java using Eclipse. In this project, until now, all the classes import other main classes that are in the same project. </p>
  
  <p>Now, I decided to move all the main imported classes to a library project in order to share them with other incoming projects. With the new project, I simply need to import from the classes in the library project ... nice ... here the bad news start for the old project.</p>
  
  <p>Is it possible to tell Eclipse to change all the main classes imported in the old project with the ones in the library project?</p>
  
  <p>Until now, I have only found a solution: deleting old imports and importing the new ones one by one by hand, which takes too long.</p>
  
  <p>Has anyone been in this situation? any advice? </p>
  
  <p>Thanks in advance</p>
  
  <p><img src="https://i.stack.imgur.com/rtlo8.png" alt="enter image description here"></p>