Possible Duplicate:
How do I “decompile” Java class files?
I m new to java and i was wondering if there is a way to retrieve the source code of a file (i.e. the .java
file) from its compiled file (.class
file).
I have read about the compilation process i.e. about the parsing, the syntax and semantics trees, the intermediate code generation, macros used etc. It sounded like a very complex process. Reverse engineering it will be even more difficult. Therefore, I think it is not possible but i had to ask. I googled it but couldn't find anything satisfactory.
Also i learnt about code-obfuscation in my class. If de-compilation is possible how will it behave for an obfuscated file?
Thanks in advance.