Static analysis of Java call graph -
what i'd scan set of java classes, , trace method calls specific method of abstract class, , within context, build list of code performs operation (in case, instantiates instance of class). want know, line number, , arguments supplied.
i've begun looking @ bcel, doesn't seem have call graph tracing built in? i'm hesitant write own because getting overloading, type signatures , polymorphic dispatch right might be tricky.
i half expected tool or example code exist, haven't found yet. feels i'm reinvent wheel. if open source wheel , available on github ;-)
ps: find existing question "how generator java call graph", because sounds identical, it's not @ need.
you can use java-callgraph tool suite create accurate enough static , dynamic callgraphs java.
Comments
Post a Comment