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

How to map methods to their respective classes? #136

Open
irfanmekic opened this issue Aug 2, 2023 · 0 comments
Open

How to map methods to their respective classes? #136

irfanmekic opened this issue Aug 2, 2023 · 0 comments

Comments

@irfanmekic
Copy link

I'm not quite sure how to parse the methods belonging to a specific class?

For example, if I have 2 classes in my java file (ClassA and ClassB) and each class has their own separate methods (method1, method2 for ClassA & method3 and method4 for ClassB), I want to be able to make each method to their respective class.

Using ClassDeclaration and MethodDeclaration returns all classes and methods, and doesnt seem to have the link between classes and their methods.

Cheers!

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