In the java world, we mostly speak because of the goal of obfuscation (even if, in my opinion, influencing the file size of an application can be useful, I used it a lot for Android applications several years ago).
The best java obfuscator is probably Progard . Like all of them, it can reduce all (not exported) names of classes and / or variables only to a letter, which is part of obfuscation, as well as part of minimization.
After that you need decompile bytecode if you want to show some java.
source share