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

Incorrect call and caller graphs for overloaded methods in Java #9823

Open
amnats opened this issue Jan 29, 2023 · 0 comments
Open

Incorrect call and caller graphs for overloaded methods in Java #9823

amnats opened this issue Jan 29, 2023 · 0 comments

Comments

@amnats
Copy link

amnats commented Jan 29, 2023

Describe the bug

There are two overloaded methods in Java.

  public boolean Bar() {       // let's call this functionA
      return Bar(10);
  }

  private boolean Bar(int num) {     // let's call this functionB
      return true;
  }

The generated call and caller graph for functionA looks like this:
Screenshot 2023-01-29 at 16 02 10

So, it looks like functionA recursively calls itself.

For functionB call and caller graphs are not generated.

Expected behavior
I expect in the call graph for functionA to see that functionA calls functionB.
And in the caller graph of functionB that functionB is called by functionA.

To Reproduce
Attaching a self contained example.

Version
output of doxygen -V

1.9.6 (4586b5cfaa3d46d51f6a51882951d15644c49edf)
    with clang support 12.0.0.

Platform: macOS M1 Ventura 13.1 (22C65)
Used the binary from macOS distrubution (*.dmg) from this release
https://github.com/doxygen/doxygen/releases/tag/Release_1_9_6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants