I have an obfuscated jar file I'm trying to decompile and get into an eclipse project. I can easily view the "source" using a tool like jd-gui but I cant save it because the filenames are too long. I need some sort of tool that can rename the calss name and all instances of that class inside the jar file. I wrote a program to extract all of the files from the jar that renames them to class_1, class_2 ect and save the original name along with the new name in a file. I planned to just do a replace all to rename the instances inside the java files but it wont work because I didn't take packages into account. Also a lot of the classes are named with keywords like super or return which seems to work fine in the .class files but most IDEs get confused by it and throw errors all over the place. Altogether I have 1680 class files and most look like this:
If anyone can recommend any tools ar methods that will allow me to rename these or at least extract the archive I would appreciate it.