Is there a Java equivalent to .NET Reflector?
Edit: more specifically, decompiling is what I’m after.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From what little I know the functionality of .NET Reflector is available in pretty much all Java IDEs, including Eclipse. Just add a
jarfile to a projects and you can browse its classes just as you browse your own classes.For the decompiler aspect (as opposed to the pure class browser) there are some alternatives as well. The JDK tool
javaponly decompiles to byte-code so it isn’t really useful to get to the source code (but might help with getting an understanding of the code).JAD is a pretty popular decompiler in the Java world and it produces compilable Java code most of the time (some bytecode sequences aren’t easily translatable to valid Java ‘though, so some corner cases exist).