Thursday, September 06, 2007

Java : Disassembler

The standard javap will do this for you.

javap -help shows all the commands.

For class x, javap - c x (Note: Don't type x.class - just type x) will decompile the class for you and display methods like:

public int getUserType();
public void setUserType(int);

Enjoy!

No comments: