What to do with Class.forName(), Class.getName() when Obfuscating
843811Dec 22 2002 — edited Jan 3 2003hi,
I have been asked at my company to perform Obfuscation of our project-code, The problem I have been facing is,
We have got too many Class.forName(), Class.getName() calls in our Project-code, which is really hindering the process of Obfuscating all the Classes (refrences in code may break for all these classes which are dynamically being asked for, hence the project may suffer). And it is a pain-in-neck to really resolve which classes to exclude so that code should not break after obfuscation.
What my question is:
Do we have some automated tool to take care of all these Reflection API calls, so that work left to us is minimal?
If not, Do we have some short-cut (program, tool etc.) to identify all the classes which should be excluded?