I’m trying to decompile / recompile an obfuscated Java program. From the decompiled source code, it looks like the obfuscator has managed to call a class if: Trying to recompile this class of course now results in an error: Is there a way to tell the java compiler to accept if as a class name? Otherwise, what are my options?
I have converted class files into source code by JD GUI Tool. I open the jar file using JD-GUI version 0.3.5, then open File folder and click “Save All Sources”. There are comments in source code, e.g.: How can I remove those comments? Answer Change the setting under Help > Preferences and uncheck Display line numbers as in image;