Can we reverse engineer invocation statements in Java code to "call dependency relations" in PlantUML class model?

0 votes
asked Jan 10, 2018 in Wanted features by anonymous
I already used PlantUML Dependency to generate PlantUML class model from Java code. It is really a great and efficient tool. I am looking for the following feature that is not currently supported in PlantUML Dependency: reverse engineer usage call dependency relations from method invocation statements in Java code as in the following example:

Class A{

public void m1(){

  B obj = new B();

  B.m3();

}

Class B{

..........

}

I need the PlantUML class model generated from these Java classes to have the following call dependency relation:   A --------> B because a method m1() in class A CALLS any method from class B (i.e., the implementation of A.m1() uses an object of type B, so I need A----> B in the PlantUML model). Is there any existing reverse engineering tool that supports this feature? how/would it be possible please to add this feature to PlantUML Dependency relations? I need to use this feature in my research work.

Thank you,

1 Answer

0 votes
answered Jan 10, 2018 by Serge Wenger Work (15,620 points)
...