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

Create a SpoonUtils utility class with reusable Spoon transformations #572

Closed
slarse opened this issue Jun 16, 2021 · 0 comments · Fixed by #576
Closed

Create a SpoonUtils utility class with reusable Spoon transformations #572

slarse opened this issue Jun 16, 2021 · 0 comments · Fixed by #576
Labels
enhancement New feature or request
Milestone

Comments

@slarse
Copy link
Collaborator

slarse commented Jun 16, 2021

The method not(CtExpression<T> expr) is a copy from another processor. We should have something like SpoonUtils to keep these utility methods together and accessible to all processors. I believe this should be handled in a different PR though.

Originally posted by @fermadeiral in #571 (comment)

To summarize that comment, some Spoon transformations are reused across different processors. This is a concrete example, but I'm sure we can find other transformations that are duplicated (either as parts of methods or methods of their own).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant