There is a Free tool named binarydoc which can generate UML Sequence Diagram
, or Control Flow Graph
(CFG
) from the bytecode
(instead of source code) of a Java method.
Here is an sample diagram binarydoc generated for the java method java.net.AbstractPlainSocketImpl.getInputStream:
java.net.AbstractPlainSocketImpl.getInputStream
:java.net.AbstractPlainSocketImpl.getInputStream
: