Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I generate call graph from source code file(.java) #31

Open
shiyy123 opened this issue Dec 19, 2019 · 4 comments
Open

Can I generate call graph from source code file(.java) #31

shiyy123 opened this issue Dec 19, 2019 · 4 comments

Comments

@shiyy123
Copy link

I have several java source code files and they may not be compiled to jar files because of the absent of dependency jar file. I can analyze the AST of it. I wonder if I can analyze the call graph with this tool?

@masud-technope
Copy link

I have the same question @gousiosg Is it possible?

@Hareem-E-Sahar
Copy link

@masud-technope and @shiyy123 were you able to make a call graph without .jar files?

@NasdaqGodzilla
Copy link

I have the same question @gousiosg Is it possible?

JavaParser is used for generate AST for java.
https://github.com/javaparser/javaparser

@gousiosg
Copy link
Owner

The answer to the original question is no.

pombredanne pushed a commit to pombredanne/java-callgraph that referenced this issue May 29, 2024
* Added updated patch file w/ Naive List gen

* Added mph-table-naive for vanilla implementation w/ increase in list size

* Updated generateStats with List Naive

* Patch/yaml changes for naive list

* Cleanup unused patch file

* Updated generateResults to use naive list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants