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
- [Bug] Duplicated class simple name in import section when use inline class qualified name
- [Bug] Wrong package name when parsing class
- [Bug]: Orphan comment is not pretty printed by Spoon
- [Bug]: Different methods with same name are merged into one method
- software engineering principles for Spoon
- How would one obtain getType of CtInvocation which is a lambda expression?
- review: feat: support to parse `CtType`, `CtClass` and `CtField` from JDK element CtPath.toString()
- [Bug]: DefaultJavaPrettyPrinter incorrectly print Annotation method
- How to update existing class
- [Bug]: Spoon cannot transform file
- Docs
- Java not yet supported