java - ASTParser and dependency between methods -


i'm using astparser parse java source code in project. managed name , return type of methods in different classes of java project. i'm wondering if it's possible have dependencies between methods in main. in fact haven't read documentation class bit complicated. know if it's possible have idea interconnectedness of methods in main program? if it's not possible there api can use?

thanks.

this problem known difficult because of difficulty of determining specific methods called, since java allows overriding of methods. in worst case, undecidable, , best you're going able conservative approximation. accordingly, there no 1 algorithm solving problem, though many research papers have tried answer question degree.

the bddbddb framework can used perform sort of analysis, , able accurate call graph program. however, require learn use new framework instead of astparser you're using now.

this paper claims have developed type analysis java allows static method resolution. works compiling java code own intermediate language, though, , not work astparser.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -