I have a requirement to refactor nearly 5000 java classes in such a way that, its import statements need to be modified. Doing it manually by opening in Eclipse will take months time. So we need to automate it.
I have a piece of code to remove all the import statements from the class file, now I need to add the fresh imports by some way. Please share your thoughts and inputs.
I do have a new set of jars, from which classes will be used to organize the imports.
I have conflicts with multiple class files. Like classes with same name is there in different Utility packages. So user intervention is required most of the cases so that I can select the appropriate classes which need to be imported.
Let me know if there is any other way than the above one :)