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
- Spoon throws StackOverflowError
- NPE in spoon.support.compiler.jdt.ReferenceBuilder.tryRecoverTypeArguments(ReferenceBuilder.java:611)
- Bug: prettyprint() adds static variables as imports after generating code
- m.getOriginalSourceFragment().getSourceCode() -> CtMethodImpl does not have CtRole.STATEMENT when add a clone statement to a new method body
- bug: Crash when parsing RDF4J while allowing duplicated declarations (again)
- Get "full" CtType from a CtInvocation
- License issue CeCILL/Apache V2
- bug: Sniper printer does not handle statements that declare multiple variables correctly
- Function inlining
- Inner classes reference fails with pretty print
- Docs
- Java not yet supported