Refrax vs Spoon
Refrax
github.comSpoon
spoon.gforge.inria.frSide by side
| Figure | Refrax | Spoon |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Code Refactoring Tools | 6.8 (#21) | 7.8 (#10) |
| License | The repository states that Refrax is licensed under the MIT License. | Spoon is free and open source under the CeCILL-C and MIT licenses. |
| Purpose | Refrax is an AI-powered agent for refactoring Java code, implemented in Go. | Spoon is an open-source library for analyzing, rewriting, transforming, and transpiling Java source code. |
Plans
In their own words
Spoon
Spoon is a free, open-source library for analyzing, rewriting, transforming, and transpiling Java source code. It parses source files into an abstract syntax tree (AST), then exposes APIs for inspecting and changing that model. Processors can perform source-level static analysis on selected AST element types, while architectural rules can be expressed as AST checks and run as JUnit tests in continuous integration. Transformation facilities cover instrumentation and refactoring, including helpers for local and generic variables and removing deprecated methods. Spoon can also provide shared analysis of binary and source code through CtClass objects as an alternative to Java reflection. The project supports Java source up to Java 25, but runtime requirements vary: Spoon 11.x needs JDK 17 or later, 10.x needs JDK 11 or later, and 9.x needs Java 8. It is available through Java, the command line, Maven, and Gradle, with a dependency JAR on Maven Central. Command-line use requires manual classpath handling and source dependencies specified with --source-classpath. Spoon is an official Inria project and an OW2 consortium member.