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

Experimental Spoon Setup for AST creation and traversal #41

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ncirak
Copy link
Member

@ncirak ncirak commented Jul 13, 2024

This PR includes:

  • Spoon Initial Setup: Configured Spoon for Abstract Syntax Tree (AST) creation and analysis.
  • Abstract Visitor Attempt: Initially, an abstract visitor was used with a custom filter, but it didn't produce the full method call chain as required.
  • Abstract Processor Utilization: Switched to using Spoon's Abstract Processor to successfully retrieve and traverse complete method call chains.

Done in This PR:

  • Database Method Finder: Implemented a custom filter to detect database-related methods.
  • Method Call Chain Traversal: Developed functionality to get and traverse all method call chains in the project.

As we can now get and traverse full method chains, we will proceed with using the Eclipse library. However, if any issues arise with Eclipse, Spoon is set up and ready to be used from this branch.

@ncirak ncirak self-assigned this Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant