INRIA/spoon
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.
Spoon provides fine-grained code analysis and transformation through a metamodel designed to mirror Java language concepts directly, with strict validation ensuring transformed code remains semantically equivalent to the original. It supports source-to-source transpilation across Java versions up to Java 25, enabling use cases in program synthesis, test generation, and automated refactoring. The library integrates seamlessly into Maven-based build pipelines and is frequently adopted in academic research for code analysis infrastructure.
1,907 stars. Actively maintained with 20 commits in the last 30 days.
Stars
1,907
Forks
380
Language
Java
License
—
Category
Last pushed
Mar 19, 2026
Commits (30d)
20
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/INRIA/spoon"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
phax/jcodemodel
A heavily extended fork of the com.sun.codemodel (from 2013/09)
avaje/avaje-http
Controller generation for Javalin, Helidon SE.
activej/activej
ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web...
x-hansong/CodeMaker
A idea-plugin for Java/Scala, support custom code template.
overturetool/overture
The Overture Tool