문제

I'm writing an eclipse plug-in that needs to work on a java project to analyze inter-java-files method dependencies. I need to list the calls that one java file makes to all methods in all other java files (if any) ... Programmatically.

I thought of using Reflections, but then I will have to write my own parser to list the method calls. I'm sure eclipse has something I can use in order to achieve this, I just don't know what exactly to look for and I soon got lost in the weeds!

Any help please? Thanks!

도움이 되었습니까?

해결책

Look at the JDT (java development toolkit) projects. Start with the IJavaProject and collaborating classes. You'll basically use these classes to get java-related information about the class path, implementations and references of java elements in a java project.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top