When I copy/paste source files from one package to another, the optimize imports will remove imports that are definitely used by the code (they should not be removed) and are available on the classpath. Has anyone else seen this? Then to correct this, I have to manually open up each file (and this project is big) and re-add the import. This is insanely unproductive. Is there a way to automatically resolve import issues for a scope of files/packages? or, better yet, configure (or fix) optimize imports to not remove these import statements in the first place?