'Tool for generating control flow in Java [closed]

I need a tool for generating control flow in java, but not a visual draw, something that I can work with like with path conditions or so. Anyone ?



Solution 1:[1]

To future record, what I´ve found that best suits to my needs is Soot.

http://www.sable.mcgill.ca/soot/

Solution 2:[2]

The ASM library can do that, at the JVM-bytecode level. See Method Analysis and Control ?ow analyses in http://download.forge.objectweb.org/asm/asm4-guide.pdf (page 121).

Solution 3:[3]

Atlas is an Eclipse plugin that enables program analysis. It has a querable graph database that includes the control flow graph (as well as data flow and other relationships).

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Louro
Solution 2
Solution 3 Ben Holland