Trying to see if there is a tool to capture flow within a single Java method in a diagram.
Consider for example
public void getXXX(String y, String z) {
if (y.equals("proceed")) {
....
}
else {
if (z.equals("proceed")) {
....
}
else {
....
}
----do some processing
}
}
I am looking for tool that would convert the flow within this method getXXX to a diagram.
A) I am not familiar with UML, normally we use flowcharts. Is there an equivalent diagram in UML. - activity?
B) Based on the results given by A) - is it possible in Eclipse to generate that diagram from CODE. C) If it is not possible to generate using Eclipse, are there any tools that will take the CODE and generate the specified diagram