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

Please advise how to identify method invocations #442

Open
robbinmav opened this issue Mar 9, 2024 · 0 comments
Open

Please advise how to identify method invocations #442

robbinmav opened this issue Mar 9, 2024 · 0 comments

Comments

@robbinmav
Copy link

Hello,

can you please advise the best way to identify the package/classes/methods that are being called...

Example:
I have the class files for:
class1 - Shopping trolley object
class2 - Item to be purchased e.g. PC - this has a method getDetails

class1 calls class2 to get details to include in its shopping trolley
String itemDetails = class2.getDetails()

I would like to be able to retrieve details of the class/methods that are being called and write a summary e.g.
class1 imports the class2 object - I can achieve this now
class1 calls the getDetails method on the class2 object - I need help achieving this

Could you please provide advice / sample code to show how to do this

Thanks

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

1 participant