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.

74
/ 100
Verified

Spoon helps Java developers analyze, transform, or generate Java source code programmatically. You provide Java source files, and it creates a structured representation of that code, allowing you to manipulate it or extract information. The output can be modified source code or detailed analyses.

1,907 stars. Actively maintained with 21 commits in the last 30 days.

Use this if you need to build tools that understand, modify, or create Java code, such as refactoring tools, static analyzers, or code generators.

Not ideal if you are looking for an IDE feature, a simple linter, or a tool to run Java code, as it focuses solely on source code manipulation rather than execution or integrated development.

Java development code analysis code transformation metaprogramming software engineering
No Package No Dependents
Maintenance 23 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

1,907

Forks

380

Language

Java

License

Last pushed

Mar 19, 2026

Commits (30d)

21

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.