spoon
https://github.com/inria/spoon
Java
Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported1 Subscribers
Add a CodeTriage badge to spoon
Help out
- Issues
- Remove/Add import statement in Java class file
- Run tests with output paths in a temporary directory instead of project-local `spooned` directory
- [Discussion] CtQuery Improvements
- Template Based Transformation
- Is it possible to parse Java code using another JDK than the one running Spoon?
- [Bug]: `annotationType` is not set for nested annotations
- [Question] What's the difference between matcher and pattern in spoon?
- Generics Type Variable Resolution
- research papers using Spoon
- test MainTest.testMain_checkShadow is flaky
- Docs
- Java not yet supported